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_wxColour swig_types[0]
1342 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1]
1343 #define SWIGTYPE_p_form_ops_t swig_types[2]
1344 #define SWIGTYPE_p_wxDuplexMode swig_types[3]
1345 #define SWIGTYPE_p_wxValidator swig_types[4]
1346 #define SWIGTYPE_p_char swig_types[5]
1347 #define SWIGTYPE_p_wxPanel swig_types[6]
1348 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7]
1349 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8]
1350 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9]
1351 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10]
1352 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[11]
1353 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12]
1354 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[13]
1355 #define SWIGTYPE_p_wxWindow swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterWindow swig_types[15]
1357 #define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1358 #define SWIGTYPE_p_wxFont swig_types[17]
1359 #define SWIGTYPE_p_wxControl swig_types[18]
1360 #define SWIGTYPE_p_wxPyListCtrl swig_types[19]
1361 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20]
1362 #define SWIGTYPE_p_wxEvent swig_types[21]
1363 #define SWIGTYPE_p_wxObject swig_types[22]
1364 #define SWIGTYPE_p_wxScrollBar swig_types[23]
1365 #define SWIGTYPE_p_wxPaperSize swig_types[24]
1366 #define SWIGTYPE_p_unsigned_int swig_types[25]
1367 #define SWIGTYPE_unsigned_int swig_types[26]
1368 #define SWIGTYPE_p_wxEvtHandler swig_types[27]
1369 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[28]
1370 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[29]
1371 #define SWIGTYPE_p_wxImageList swig_types[30]
1372 #define SWIGTYPE_p_unsigned_char swig_types[31]
1373 #define SWIGTYPE_p_wxEditableListBox swig_types[32]
1374 #define SWIGTYPE_ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
1378 #define SWIGTYPE_p_wxTreeItemId swig_types[37]
1379 #define SWIGTYPE_p_int swig_types[38]
1380 #define SWIGTYPE_p_unsigned_long swig_types[39]
1381 #define SWIGTYPE_p_wxPyTreeItemData swig_types[40]
1382 static swig_type_info
*swig_types
[42];
1384 /* -------- TYPES TABLE (END) -------- */
1387 /*-----------------------------------------------
1388 @(target):= _gizmos.so
1389 ------------------------------------------------*/
1390 #define SWIG_init init_gizmos
1392 #define SWIG_name "_gizmos"
1394 #include "wx/wxPython/wxPython.h"
1395 #include "wx/wxPython/pyclasses.h"
1397 #include <wx/gizmos/dynamicsash.h>
1398 #include <wx/gizmos/editlbox.h>
1399 #include <wx/gizmos/splittree.h>
1400 #include <wx/gizmos/ledctrl.h>
1402 #include <wx/listctrl.h>
1403 #include <wx/treectrl.h>
1404 #include <wx/imaglist.h>
1406 #include "wx/treelistctrl.h"
1407 #include "wx/wxPython/pytree.h"
1410 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1411 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
1412 static const wxString
wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1413 static const wxString
wxPyEmptyString(wxEmptyString
);
1415 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1416 #define SWIG_From_int PyInt_FromLong
1424 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1427 if (value
< min_value
) {
1429 PyErr_Format(PyExc_OverflowError
,
1430 "value %ld is less than '%s' minimum %ld",
1431 value
, errmsg
, min_value
);
1434 } else if (value
> max_value
) {
1436 PyErr_Format(PyExc_OverflowError
,
1437 "value %ld is greater than '%s' maximum %ld",
1438 value
, errmsg
, max_value
);
1447 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1449 if (PyNumber_Check(obj
)) {
1450 if (val
) *val
= PyInt_AsLong(obj
);
1454 SWIG_type_error("number", obj
);
1460 #if INT_MAX != LONG_MAX
1462 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1464 const char* errmsg
= val
? "int" : (char*)0;
1466 if (SWIG_AsVal_long(obj
, &v
)) {
1467 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1468 if (val
) *val
= (int)(v
);
1477 SWIG_type_error(errmsg
, obj
);
1483 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1485 return SWIG_AsVal_long(obj
,(long*)val
);
1491 SWIG_As_int(PyObject
* obj
)
1494 if (!SWIG_AsVal_int(obj
, &v
)) {
1496 this is needed to make valgrind/purify happier.
1498 memset((void*)&v
, 0, sizeof(int));
1504 SWIGINTERNSHORT
long
1505 SWIG_As_long(PyObject
* obj
)
1508 if (!SWIG_AsVal_long(obj
, &v
)) {
1510 this is needed to make valgrind/purify happier.
1512 memset((void*)&v
, 0, sizeof(long));
1519 SWIG_Check_int(PyObject
* obj
)
1521 return SWIG_AsVal_int(obj
, (int*)0);
1526 SWIG_Check_long(PyObject
* obj
)
1528 return SWIG_AsVal_long(obj
, (long*)0);
1531 static PyObject
*wxEditableListBox_GetStrings(wxEditableListBox
*self
){
1532 wxArrayString strings
;
1533 self
->GetStrings(strings
);
1534 return wxArrayString2PyList_helper(strings
);
1537 typedef wxTreeCtrl wxPyTreeCtrl
;
1540 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
1543 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
1544 const wxPoint
& pos
= wxDefaultPosition
,
1545 const wxSize
& size
= wxDefaultSize
,
1547 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
1550 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
1552 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1553 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
1554 PyObject
* dcobj
= wxPyMake_wxObject(&dc
,false);
1555 PyObject
* idobj
= wxPyConstructObject((void*)&id
, wxT("wxTreeItemId"), false);
1556 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), false);
1557 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
1562 wxPyEndBlockThreads(blocked
);
1564 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
1572 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1574 if (obj
== Py_True
) {
1575 if (val
) *val
= true;
1578 if (obj
== Py_False
) {
1579 if (val
) *val
= false;
1583 if (SWIG_AsVal_int(obj
, &res
)) {
1584 if (val
) *val
= res
? true : false;
1590 SWIG_type_error("bool", obj
);
1596 SWIGINTERNSHORT
bool
1597 SWIG_As_bool(PyObject
* obj
)
1600 if (!SWIG_AsVal_bool(obj
, &v
)) {
1602 this is needed to make valgrind/purify happier.
1604 memset((void*)&v
, 0, sizeof(bool));
1611 SWIG_Check_bool(PyObject
* obj
)
1613 return SWIG_AsVal_bool(obj
, (bool*)0);
1618 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1621 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1622 SWIG_type_error("unsigned number", obj
);
1625 *val
= (unsigned long)v
;
1630 SWIGINTERNSHORT
unsigned long
1631 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1634 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1636 this is needed to make valgrind/purify happier.
1638 memset((void*)&v
, 0, sizeof(unsigned long));
1645 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1647 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1651 SWIGINTERNSHORT PyObject
*
1652 SWIG_From_unsigned_SS_long(unsigned long value
)
1654 return (value
> LONG_MAX
) ?
1655 PyLong_FromUnsignedLong(value
)
1656 : PyInt_FromLong((long)(value
));
1659 // C++ version of Python aware control
1660 class wxPyTreeListCtrl
: public wxTreeListCtrl
{
1661 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl
);
1663 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1664 wxPyTreeListCtrl(wxWindow
*parent
, wxWindowID id
,
1668 const wxValidator
&validator
,
1669 const wxString
& name
) :
1670 wxTreeListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1672 int OnCompareItems(const wxTreeItemId
& item1
,
1673 const wxTreeItemId
& item2
) {
1676 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1677 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1678 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), 0);
1679 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), 0);
1680 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1684 wxPyEndBlockThreads(blocked
);
1686 rval
= wxTreeListCtrl::OnCompareItems(item1
, item2
);
1692 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl
, wxTreeListCtrl
)
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697 #define SWIG_From_long PyInt_FromLong
1701 #if UINT_MAX < LONG_MAX
1702 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1703 #define SWIG_From_unsigned_SS_int SWIG_From_long
1706 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1707 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1713 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1714 unsigned long max_value
,
1717 if (value
> max_value
) {
1719 PyErr_Format(PyExc_OverflowError
,
1720 "value %lu is greater than '%s' minimum %lu",
1721 value
, errmsg
, max_value
);
1729 #if UINT_MAX != ULONG_MAX
1731 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1733 const char* errmsg
= val
? "unsigned int" : (char*)0;
1735 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1736 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1737 if (val
) *val
= (unsigned int)(v
);
1744 SWIG_type_error(errmsg
, obj
);
1749 SWIGINTERNSHORT
unsigned int
1750 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1752 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1757 SWIGINTERNSHORT
unsigned int
1758 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1761 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1763 this is needed to make valgrind/purify happier.
1765 memset((void*)&v
, 0, sizeof(unsigned int));
1772 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1774 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1777 static wxString
wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1){
1778 if (column
< 0) column
= self
->GetMainColumn();
1779 return self
->GetItemText(item
, column
);
1781 static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
1782 if (column
< 0) column
= self
->GetMainColumn();
1783 return self
->GetItemImage(item
, column
, which
);
1785 static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxString
const &text
,int column
=-1){
1786 if (column
< 0) column
= self
->GetMainColumn();
1787 self
->SetItemText(item
, column
, text
);
1789 static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int image
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
1790 if (column
< 0) column
= self
->GetMainColumn();
1791 self
->SetItemImage(item
, column
, image
, which
);
1793 static wxPyTreeItemData
*wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
1794 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1796 data
= new wxPyTreeItemData();
1797 data
->SetId(item
); // set the id
1798 self
->SetItemData(item
, data
);
1802 static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1803 data
->SetId(item
); // set the id
1804 self
->SetItemData(item
, data
);
1806 static PyObject
*wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
1807 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1809 data
= new wxPyTreeItemData();
1810 data
->SetId(item
); // set the id
1811 self
->SetItemData(item
, data
);
1813 return data
->GetData();
1815 static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1816 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1818 data
= new wxPyTreeItemData(obj
);
1819 data
->SetId(item
); // set the id
1820 self
->SetItemData(item
, data
);
1824 static PyObject
*wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl
*self
){
1825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1826 PyObject
* rval
= PyList_New(0);
1827 wxArrayTreeItemIds array
;
1829 num
= self
->GetSelections(array
);
1830 for (x
=0; x
< num
; x
++) {
1831 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1832 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1833 PyList_Append(rval
, item
);
1835 wxPyEndBlockThreads(blocked
);
1838 static PyObject
*wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
1840 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1841 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1844 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1845 wxPyEndBlockThreads(blocked
);
1848 static PyObject
*wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1849 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1850 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1851 PyObject
* tup
= PyTuple_New(2);
1852 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1853 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1854 wxPyEndBlockThreads(blocked
);
1858 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1864 } else if (target
== Py_None
) {
1868 if (!PyTuple_Check(target
)) {
1870 target
= PyTuple_New(1);
1871 PyTuple_SetItem(target
, 0, o2
);
1873 o3
= PyTuple_New(1);
1874 PyTuple_SetItem(o3
, 0, o
);
1877 target
= PySequence_Concat(o2
, o3
);
1885 static PyObject
*wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
1887 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1889 wxRect
* r
= new wxRect(rect
);
1890 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
1891 wxPyEndBlockThreads(blocked
);
1901 static int _wrap_DynamicSashNameStr_set(PyObject
*) {
1902 PyErr_SetString(PyExc_TypeError
,"Variable DynamicSashNameStr is read-only.");
1907 static PyObject
*_wrap_DynamicSashNameStr_get(void) {
1912 pyobj
= PyUnicode_FromWideChar((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
1914 pyobj
= PyString_FromStringAndSize((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
1921 static int _wrap_EditableListBoxNameStr_set(PyObject
*) {
1922 PyErr_SetString(PyExc_TypeError
,"Variable EditableListBoxNameStr is read-only.");
1927 static PyObject
*_wrap_EditableListBoxNameStr_get(void) {
1932 pyobj
= PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
1934 pyobj
= PyString_FromStringAndSize((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
1941 static int _wrap_TreeListCtrlNameStr_set(PyObject
*) {
1942 PyErr_SetString(PyExc_TypeError
,"Variable TreeListCtrlNameStr is read-only.");
1947 static PyObject
*_wrap_TreeListCtrlNameStr_get(void) {
1952 pyobj
= PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
1954 pyobj
= PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
1961 static PyObject
*_wrap_new_DynamicSashSplitEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxObject
*arg1
= (wxObject
*) 0 ;
1964 wxDynamicSashSplitEvent
*result
;
1965 PyObject
* obj0
= 0 ;
1967 (char *) "target", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashSplitEvent",kwnames
,&obj0
)) goto fail
;
1971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
1972 if (SWIG_arg_fail(1)) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (wxDynamicSashSplitEvent
*)new wxDynamicSashSplitEvent(arg1
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDynamicSashSplitEvent
, 1);
1987 static PyObject
* DynamicSashSplitEvent_swigregister(PyObject
*, PyObject
*args
) {
1989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1990 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent
, obj
);
1992 return Py_BuildValue((char *)"");
1994 static PyObject
*_wrap_new_DynamicSashUnifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxObject
*arg1
= (wxObject
*) 0 ;
1997 wxDynamicSashUnifyEvent
*result
;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "target", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashUnifyEvent",kwnames
,&obj0
)) goto fail
;
2004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
2005 if (SWIG_arg_fail(1)) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (wxDynamicSashUnifyEvent
*)new wxDynamicSashUnifyEvent(arg1
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDynamicSashUnifyEvent
, 1);
2020 static PyObject
* DynamicSashUnifyEvent_swigregister(PyObject
*, PyObject
*args
) {
2022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2023 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent
, obj
);
2025 return Py_BuildValue((char *)"");
2027 static PyObject
*_wrap_new_DynamicSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxWindow
*arg1
= (wxWindow
*) 0 ;
2030 int arg2
= (int) -1 ;
2031 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2032 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2033 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2034 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2035 long arg5
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
2036 wxString
const &arg6_defvalue
= wxPyDynamicSashNameStr
;
2037 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2038 wxDynamicSashWindow
*result
;
2041 bool temp6
= false ;
2042 PyObject
* obj0
= 0 ;
2043 PyObject
* obj1
= 0 ;
2044 PyObject
* obj2
= 0 ;
2045 PyObject
* obj3
= 0 ;
2046 PyObject
* obj4
= 0 ;
2047 PyObject
* obj5
= 0 ;
2049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2054 if (SWIG_arg_fail(1)) SWIG_fail
;
2057 arg2
= (int)(SWIG_As_int(obj1
));
2058 if (SWIG_arg_fail(2)) SWIG_fail
;
2064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2075 arg5
= (long)(SWIG_As_long(obj4
));
2076 if (SWIG_arg_fail(5)) SWIG_fail
;
2081 arg6
= wxString_in_helper(obj5
);
2082 if (arg6
== NULL
) SWIG_fail
;
2087 if (!wxPyCheckForApp()) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDynamicSashWindow
, 1);
2109 static PyObject
*_wrap_new_PreDynamicSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxDynamicSashWindow
*result
;
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDynamicSashWindow",kwnames
)) goto fail
;
2118 if (!wxPyCheckForApp()) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow();
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDynamicSashWindow
, 1);
2132 static PyObject
*_wrap_DynamicSashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
2135 wxWindow
*arg2
= (wxWindow
*) 0 ;
2136 int arg3
= (int) -1 ;
2137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2141 long arg6
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
2142 wxString
const &arg7_defvalue
= wxPyDynamicSashNameStr
;
2143 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2147 bool temp7
= false ;
2148 PyObject
* obj0
= 0 ;
2149 PyObject
* obj1
= 0 ;
2150 PyObject
* obj2
= 0 ;
2151 PyObject
* obj3
= 0 ;
2152 PyObject
* obj4
= 0 ;
2153 PyObject
* obj5
= 0 ;
2154 PyObject
* obj6
= 0 ;
2156 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
2161 if (SWIG_arg_fail(1)) SWIG_fail
;
2162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2163 if (SWIG_arg_fail(2)) SWIG_fail
;
2166 arg3
= (int)(SWIG_As_int(obj2
));
2167 if (SWIG_arg_fail(3)) SWIG_fail
;
2173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2184 arg6
= (long)(SWIG_As_long(obj5
));
2185 if (SWIG_arg_fail(6)) SWIG_fail
;
2190 arg7
= wxString_in_helper(obj6
);
2191 if (arg7
== NULL
) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2219 static PyObject
*_wrap_DynamicSashWindow_GetHScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
*resultobj
;
2221 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
2222 wxWindow
*arg2
= (wxWindow
*) 0 ;
2223 wxScrollBar
*result
;
2224 PyObject
* obj0
= 0 ;
2225 PyObject
* obj1
= 0 ;
2227 (char *) "self",(char *) "child", NULL
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
2232 if (SWIG_arg_fail(1)) SWIG_fail
;
2233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2234 if (SWIG_arg_fail(2)) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetHScrollBar((wxWindow
const *)arg2
);
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 0);
2249 static PyObject
*_wrap_DynamicSashWindow_GetVScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
2252 wxWindow
*arg2
= (wxWindow
*) 0 ;
2253 wxScrollBar
*result
;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "child", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
2262 if (SWIG_arg_fail(1)) SWIG_fail
;
2263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2264 if (SWIG_arg_fail(2)) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetVScrollBar((wxWindow
const *)arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 0);
2279 static PyObject
* DynamicSashWindow_swigregister(PyObject
*, PyObject
*args
) {
2281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2282 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow
, obj
);
2284 return Py_BuildValue((char *)"");
2286 static PyObject
*_wrap_new_EditableListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxWindow
*arg1
= (wxWindow
*) 0 ;
2289 int arg2
= (int) -1 ;
2290 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2291 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2296 long arg6
= (long) wxEL_ALLOW_NEW
|wxEL_ALLOW_EDIT
|wxEL_ALLOW_DELETE
;
2297 wxString
const &arg7_defvalue
= wxPyEditableListBoxNameStr
;
2298 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2299 wxEditableListBox
*result
;
2300 bool temp3
= false ;
2303 bool temp7
= false ;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2306 PyObject
* obj2
= 0 ;
2307 PyObject
* obj3
= 0 ;
2308 PyObject
* obj4
= 0 ;
2309 PyObject
* obj5
= 0 ;
2310 PyObject
* obj6
= 0 ;
2312 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_EditableListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2317 if (SWIG_arg_fail(1)) SWIG_fail
;
2320 arg2
= (int)(SWIG_As_int(obj1
));
2321 if (SWIG_arg_fail(2)) SWIG_fail
;
2326 arg3
= wxString_in_helper(obj2
);
2327 if (arg3
== NULL
) SWIG_fail
;
2334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2345 arg6
= (long)(SWIG_As_long(obj5
));
2346 if (SWIG_arg_fail(6)) SWIG_fail
;
2351 arg7
= wxString_in_helper(obj6
);
2352 if (arg7
== NULL
) SWIG_fail
;
2357 if (!wxPyCheckForApp()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 result
= (wxEditableListBox
*)new wxEditableListBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEditableListBox
, 1);
2387 static PyObject
*_wrap_EditableListBox_SetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2390 wxArrayString
*arg2
= 0 ;
2391 bool temp2
= false ;
2392 PyObject
* obj0
= 0 ;
2393 PyObject
* obj1
= 0 ;
2395 (char *) "self",(char *) "strings", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EditableListBox_SetStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
2399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2400 if (SWIG_arg_fail(1)) SWIG_fail
;
2402 if (! PySequence_Check(obj1
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2406 arg2
= new wxArrayString
;
2408 int i
, len
=PySequence_Length(obj1
);
2409 for (i
=0; i
<len
; i
++) {
2410 PyObject
* item
= PySequence_GetItem(obj1
, i
);
2412 PyObject
* str
= PyObject_Unicode(item
);
2414 PyObject
* str
= PyObject_Str(item
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2417 arg2
->Add(Py2wxString(str
));
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 (arg1
)->SetStrings((wxArrayString
const &)*arg2
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2429 Py_INCREF(Py_None
); resultobj
= Py_None
;
2431 if (temp2
) delete arg2
;
2436 if (temp2
) delete arg2
;
2442 static PyObject
*_wrap_EditableListBox_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2446 PyObject
* obj0
= 0 ;
2448 (char *) "self", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetStrings",kwnames
,&obj0
)) goto fail
;
2452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2453 if (SWIG_arg_fail(1)) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 result
= (PyObject
*)wxEditableListBox_GetStrings(arg1
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2468 static PyObject
*_wrap_EditableListBox_GetListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
*resultobj
;
2470 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2471 wxPyListCtrl
*result
;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetListCtrl",kwnames
,&obj0
)) goto fail
;
2478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2479 if (SWIG_arg_fail(1)) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= (wxPyListCtrl
*)(arg1
)->GetListCtrl();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 0);
2494 static PyObject
*_wrap_EditableListBox_GetDelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2497 wxBitmapButton
*result
;
2498 PyObject
* obj0
= 0 ;
2500 (char *) "self", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetDelButton",kwnames
,&obj0
)) goto fail
;
2504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2505 if (SWIG_arg_fail(1)) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= (wxBitmapButton
*)(arg1
)->GetDelButton();
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2514 resultobj
= wxPyMake_wxObject(result
, 0);
2522 static PyObject
*_wrap_EditableListBox_GetNewButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2525 wxBitmapButton
*result
;
2526 PyObject
* obj0
= 0 ;
2528 (char *) "self", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetNewButton",kwnames
,&obj0
)) goto fail
;
2532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2533 if (SWIG_arg_fail(1)) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 result
= (wxBitmapButton
*)(arg1
)->GetNewButton();
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2542 resultobj
= wxPyMake_wxObject(result
, 0);
2550 static PyObject
*_wrap_EditableListBox_GetUpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2553 wxBitmapButton
*result
;
2554 PyObject
* obj0
= 0 ;
2556 (char *) "self", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetUpButton",kwnames
,&obj0
)) goto fail
;
2560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2561 if (SWIG_arg_fail(1)) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= (wxBitmapButton
*)(arg1
)->GetUpButton();
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2570 resultobj
= wxPyMake_wxObject(result
, 0);
2578 static PyObject
*_wrap_EditableListBox_GetDownButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2581 wxBitmapButton
*result
;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "self", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetDownButton",kwnames
,&obj0
)) goto fail
;
2588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2589 if (SWIG_arg_fail(1)) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= (wxBitmapButton
*)(arg1
)->GetDownButton();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 resultobj
= wxPyMake_wxObject(result
, 0);
2606 static PyObject
*_wrap_EditableListBox_GetEditButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
2609 wxBitmapButton
*result
;
2610 PyObject
* obj0
= 0 ;
2612 (char *) "self", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EditableListBox_GetEditButton",kwnames
,&obj0
)) goto fail
;
2616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_EXCEPTION
| 0);
2617 if (SWIG_arg_fail(1)) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= (wxBitmapButton
*)(arg1
)->GetEditButton();
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= wxPyMake_wxObject(result
, 0);
2634 static PyObject
* EditableListBox_swigregister(PyObject
*, PyObject
*args
) {
2636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2637 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox
, obj
);
2639 return Py_BuildValue((char *)"");
2641 static PyObject
*_wrap_new_RemotelyScrolledTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxWindow
*arg1
= (wxWindow
*) 0 ;
2645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2649 long arg5
= (long) wxTR_HAS_BUTTONS
;
2650 wxRemotelyScrolledTreeCtrl
*result
;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail
;
2666 arg2
= (int)(SWIG_As_int(obj1
));
2667 if (SWIG_arg_fail(2)) SWIG_fail
;
2672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2683 arg5
= (long)(SWIG_As_long(obj4
));
2684 if (SWIG_arg_fail(5)) SWIG_fail
;
2688 if (!wxPyCheckForApp()) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= (wxRemotelyScrolledTreeCtrl
*)new wxRemotelyScrolledTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 1);
2702 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2705 PyObject
* obj0
= 0 ;
2707 (char *) "self", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames
,&obj0
)) goto fail
;
2711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2712 if (SWIG_arg_fail(1)) SWIG_fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 (arg1
)->HideVScrollbar();
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2720 Py_INCREF(Py_None
); resultobj
= Py_None
;
2727 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames
,&obj0
)) goto fail
;
2736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->AdjustRemoteScrollbars();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2755 wxScrolledWindow
*result
;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames
,&obj0
)) goto fail
;
2762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2763 if (SWIG_arg_fail(1)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (wxScrolledWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetScrolledWindow();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= wxPyMake_wxObject(result
, 0);
2780 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2789 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail
;
2796 arg2
= (int)(SWIG_As_int(obj1
));
2797 if (SWIG_arg_fail(2)) SWIG_fail
;
2800 arg3
= (int)(SWIG_As_int(obj2
));
2801 if (SWIG_arg_fail(3)) SWIG_fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 (arg1
)->ScrollToLine(arg2
,arg3
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 Py_INCREF(Py_None
); resultobj
= Py_None
;
2817 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2820 wxWindow
*arg2
= (wxWindow
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "companion", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2829 if (SWIG_arg_fail(1)) SWIG_fail
;
2830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2831 if (SWIG_arg_fail(2)) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 (arg1
)->SetCompanionWindow(arg2
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 Py_INCREF(Py_None
); resultobj
= Py_None
;
2846 static PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
2850 PyObject
* obj0
= 0 ;
2852 (char *) "self", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames
,&obj0
)) goto fail
;
2856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
2857 if (SWIG_arg_fail(1)) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (wxWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetCompanionWindow();
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= wxPyMake_wxObject(result
, 0);
2874 static PyObject
* RemotelyScrolledTreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
2876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2877 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, obj
);
2879 return Py_BuildValue((char *)"");
2881 static PyObject
*_wrap_new_TreeCompanionWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxWindow
*arg1
= (wxWindow
*) 0 ;
2884 int arg2
= (int) -1 ;
2885 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2886 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2887 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2888 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2889 long arg5
= (long) 0 ;
2890 wxPyTreeCompanionWindow
*result
;
2893 PyObject
* obj0
= 0 ;
2894 PyObject
* obj1
= 0 ;
2895 PyObject
* obj2
= 0 ;
2896 PyObject
* obj3
= 0 ;
2897 PyObject
* obj4
= 0 ;
2899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
2903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2904 if (SWIG_arg_fail(1)) SWIG_fail
;
2907 arg2
= (int)(SWIG_As_int(obj1
));
2908 if (SWIG_arg_fail(2)) SWIG_fail
;
2914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2925 arg5
= (long)(SWIG_As_long(obj4
));
2926 if (SWIG_arg_fail(5)) SWIG_fail
;
2930 if (!wxPyCheckForApp()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (wxPyTreeCompanionWindow
*)new wxPyTreeCompanionWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCompanionWindow
, 1);
2944 static PyObject
*_wrap_TreeCompanionWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
2947 PyObject
*arg2
= (PyObject
*) 0 ;
2948 PyObject
*arg3
= (PyObject
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2951 PyObject
* obj2
= 0 ;
2953 (char *) "self",(char *) "self",(char *) "_class", NULL
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_POINTER_EXCEPTION
| 0);
2958 if (SWIG_arg_fail(1)) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2968 Py_INCREF(Py_None
); resultobj
= Py_None
;
2975 static PyObject
*_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
2978 wxRemotelyScrolledTreeCtrl
*result
;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
2985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_POINTER_EXCEPTION
| 0);
2986 if (SWIG_arg_fail(1)) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (wxRemotelyScrolledTreeCtrl
*)((wxPyTreeCompanionWindow
const *)arg1
)->GetTreeCtrl();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0);
3001 static PyObject
*_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
3004 wxRemotelyScrolledTreeCtrl
*arg2
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "treeCtrl", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_POINTER_EXCEPTION
| 0);
3013 if (SWIG_arg_fail(1)) SWIG_fail
;
3014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3015 if (SWIG_arg_fail(2)) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 (arg1
)->SetTreeCtrl(arg2
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 Py_INCREF(Py_None
); resultobj
= Py_None
;
3030 static PyObject
* TreeCompanionWindow_swigregister(PyObject
*, PyObject
*args
) {
3032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3033 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow
, obj
);
3035 return Py_BuildValue((char *)"");
3037 static PyObject
*_wrap_new_ThinSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxWindow
*arg1
= (wxWindow
*) 0 ;
3040 int arg2
= (int) -1 ;
3041 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3042 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3043 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3044 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3045 long arg5
= (long) wxSP_3D
|wxCLIP_CHILDREN
;
3046 wxThinSplitterWindow
*result
;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3051 PyObject
* obj2
= 0 ;
3052 PyObject
* obj3
= 0 ;
3053 PyObject
* obj4
= 0 ;
3055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail
;
3063 arg2
= (int)(SWIG_As_int(obj1
));
3064 if (SWIG_arg_fail(2)) SWIG_fail
;
3070 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3076 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3081 arg5
= (long)(SWIG_As_long(obj4
));
3082 if (SWIG_arg_fail(5)) SWIG_fail
;
3086 if (!wxPyCheckForApp()) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (wxThinSplitterWindow
*)new wxThinSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxThinSplitterWindow
, 1);
3100 static PyObject
* ThinSplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
3102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3103 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow
, obj
);
3105 return Py_BuildValue((char *)"");
3107 static PyObject
*_wrap_new_SplitterScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxWindow
*arg1
= (wxWindow
*) 0 ;
3110 int arg2
= (int) -1 ;
3111 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3112 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3113 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3114 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3115 long arg5
= (long) 0 ;
3116 wxSplitterScrolledWindow
*result
;
3119 PyObject
* obj0
= 0 ;
3120 PyObject
* obj1
= 0 ;
3121 PyObject
* obj2
= 0 ;
3122 PyObject
* obj3
= 0 ;
3123 PyObject
* obj4
= 0 ;
3125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail
;
3133 arg2
= (int)(SWIG_As_int(obj1
));
3134 if (SWIG_arg_fail(2)) SWIG_fail
;
3140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3146 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3151 arg5
= (long)(SWIG_As_long(obj4
));
3152 if (SWIG_arg_fail(5)) SWIG_fail
;
3156 if (!wxPyCheckForApp()) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (wxSplitterScrolledWindow
*)new wxSplitterScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterScrolledWindow
, 1);
3170 static PyObject
* SplitterScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3173 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow
, obj
);
3175 return Py_BuildValue((char *)"");
3177 static PyObject
*_wrap_new_LEDNumberCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxWindow
*arg1
= (wxWindow
*) 0 ;
3180 int arg2
= (int) -1 ;
3181 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3182 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3183 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3184 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3185 long arg5
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
3186 wxLEDNumberCtrl
*result
;
3189 PyObject
* obj0
= 0 ;
3190 PyObject
* obj1
= 0 ;
3191 PyObject
* obj2
= 0 ;
3192 PyObject
* obj3
= 0 ;
3193 PyObject
* obj4
= 0 ;
3195 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3203 arg2
= (int)(SWIG_As_int(obj1
));
3204 if (SWIG_arg_fail(2)) SWIG_fail
;
3210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3221 arg5
= (long)(SWIG_As_long(obj4
));
3222 if (SWIG_arg_fail(5)) SWIG_fail
;
3226 if (!wxPyCheckForApp()) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLEDNumberCtrl
, 1);
3240 static PyObject
*_wrap_new_PreLEDNumberCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxLEDNumberCtrl
*result
;
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreLEDNumberCtrl",kwnames
)) goto fail
;
3249 if (!wxPyCheckForApp()) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl();
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLEDNumberCtrl
, 1);
3263 static PyObject
*_wrap_LEDNumberCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3266 wxWindow
*arg2
= (wxWindow
*) 0 ;
3267 int arg3
= (int) -1 ;
3268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3272 long arg6
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3278 PyObject
* obj2
= 0 ;
3279 PyObject
* obj3
= 0 ;
3280 PyObject
* obj4
= 0 ;
3281 PyObject
* obj5
= 0 ;
3283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3290 if (SWIG_arg_fail(2)) SWIG_fail
;
3293 arg3
= (int)(SWIG_As_int(obj2
));
3294 if (SWIG_arg_fail(3)) SWIG_fail
;
3300 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3306 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3311 arg6
= (long)(SWIG_As_long(obj5
));
3312 if (SWIG_arg_fail(6)) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3331 static PyObject
*_wrap_LEDNumberCtrl_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3334 wxLEDValueAlign result
;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames
,&obj0
)) goto fail
;
3341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3342 if (SWIG_arg_fail(1)) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= (wxLEDValueAlign
)((wxLEDNumberCtrl
const *)arg1
)->GetAlignment();
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 resultobj
= SWIG_From_int((result
));
3357 static PyObject
*_wrap_LEDNumberCtrl_GetDrawFaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3363 (char *) "self", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames
,&obj0
)) goto fail
;
3367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3368 if (SWIG_arg_fail(1)) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= (bool)((wxLEDNumberCtrl
const *)arg1
)->GetDrawFaded();
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3385 static PyObject
*_wrap_LEDNumberCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3391 (char *) "self", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LEDNumberCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
3395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3396 if (SWIG_arg_fail(1)) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 wxString
const &_result_ref
= ((wxLEDNumberCtrl
const *)arg1
)->GetValue();
3401 result
= (wxString
*) &_result_ref
;
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3420 static PyObject
*_wrap_LEDNumberCtrl_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3423 wxLEDValueAlign arg2
;
3424 bool arg3
= (bool) true ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3427 PyObject
* obj2
= 0 ;
3429 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 arg2
= (wxLEDValueAlign
)(SWIG_As_int(obj1
));
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3441 arg3
= (bool)(SWIG_As_bool(obj2
));
3442 if (SWIG_arg_fail(3)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 (arg1
)->SetAlignment((wxLEDValueAlign
)arg2
,arg3
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_LEDNumberCtrl_SetDrawFaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3463 bool arg3
= (bool) true ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3466 PyObject
* obj2
= 0 ;
3468 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail
;
3475 arg2
= (bool)(SWIG_As_bool(obj1
));
3476 if (SWIG_arg_fail(2)) SWIG_fail
;
3480 arg3
= (bool)(SWIG_As_bool(obj2
));
3481 if (SWIG_arg_fail(3)) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 (arg1
)->SetDrawFaded(arg2
,arg3
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 Py_INCREF(Py_None
); resultobj
= Py_None
;
3498 static PyObject
*_wrap_LEDNumberCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
3501 wxString
*arg2
= 0 ;
3502 bool arg3
= (bool) true ;
3503 bool temp2
= false ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3506 PyObject
* obj2
= 0 ;
3508 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_EXCEPTION
| 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 arg2
= wxString_in_helper(obj1
);
3516 if (arg2
== NULL
) SWIG_fail
;
3521 arg3
= (bool)(SWIG_As_bool(obj2
));
3522 if (SWIG_arg_fail(3)) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetValue((wxString
const &)*arg2
,arg3
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
* LEDNumberCtrl_swigregister(PyObject
*, PyObject
*args
) {
3549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3550 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl
, obj
);
3552 return Py_BuildValue((char *)"");
3554 static PyObject
*_wrap_new_TreeListColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3557 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3558 int arg2
= (int) -1 ;
3559 size_t arg3
= (size_t) 100 ;
3560 bool arg4
= (bool) true ;
3561 wxTreeListColumnAlign arg5
= (wxTreeListColumnAlign
) wxTL_ALIGN_LEFT
;
3562 wxTreeListColumnInfo
*result
;
3563 bool temp1
= false ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3566 PyObject
* obj2
= 0 ;
3567 PyObject
* obj3
= 0 ;
3568 PyObject
* obj4
= 0 ;
3570 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3576 arg1
= wxString_in_helper(obj0
);
3577 if (arg1
== NULL
) SWIG_fail
;
3583 arg2
= (int)(SWIG_As_int(obj1
));
3584 if (SWIG_arg_fail(2)) SWIG_fail
;
3589 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
3590 if (SWIG_arg_fail(3)) SWIG_fail
;
3595 arg4
= (bool)(SWIG_As_bool(obj3
));
3596 if (SWIG_arg_fail(4)) SWIG_fail
;
3601 arg5
= (wxTreeListColumnAlign
)(SWIG_As_int(obj4
));
3602 if (SWIG_arg_fail(5)) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (wxTreeListColumnInfo
*)new wxTreeListColumnInfo((wxString
const &)*arg1
,arg2
,arg3
,arg4
,(wxTreeListColumnAlign
)arg5
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeListColumnInfo
, 1);
3627 static PyObject
*_wrap_TreeListColumnInfo_GetShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "self", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetShown",kwnames
,&obj0
)) goto fail
;
3637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3638 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (bool)((wxTreeListColumnInfo
const *)arg1
)->GetShown();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3655 static PyObject
*_wrap_TreeListColumnInfo_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3658 wxTreeListColumnAlign result
;
3659 PyObject
* obj0
= 0 ;
3661 (char *) "self", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames
,&obj0
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (wxTreeListColumnAlign
)((wxTreeListColumnInfo
const *)arg1
)->GetAlignment();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= SWIG_From_int((result
));
3681 static PyObject
*_wrap_TreeListColumnInfo_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetText",kwnames
,&obj0
)) goto fail
;
3691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3692 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= ((wxTreeListColumnInfo
const *)arg1
)->GetText();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3713 static PyObject
*_wrap_TreeListColumnInfo_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "self", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetImage",kwnames
,&obj0
)) goto fail
;
3723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetImage();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_From_int((int)(result
));
3741 static PyObject
*_wrap_TreeListColumnInfo_GetSelectedImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "self", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames
,&obj0
)) goto fail
;
3751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetSelectedImage();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= SWIG_From_int((int)(result
));
3769 static PyObject
*_wrap_TreeListColumnInfo_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3773 PyObject
* obj0
= 0 ;
3775 (char *) "self", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListColumnInfo_GetWidth",kwnames
,&obj0
)) goto fail
;
3779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (size_t)((wxTreeListColumnInfo
const *)arg1
)->GetWidth();
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
3797 static PyObject
*_wrap_TreeListColumnInfo_SetShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3804 (char *) "self",(char *) "shown", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetShown",kwnames
,&obj0
,&obj1
)) goto fail
;
3808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3809 if (SWIG_arg_fail(1)) SWIG_fail
;
3811 arg2
= (bool)(SWIG_As_bool(obj1
));
3812 if (SWIG_arg_fail(2)) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 (arg1
)->SetShown(arg2
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 Py_INCREF(Py_None
); resultobj
= Py_None
;
3828 static PyObject
*_wrap_TreeListColumnInfo_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3831 wxTreeListColumnAlign arg2
;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "alignment", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail
;
3842 arg2
= (wxTreeListColumnAlign
)(SWIG_As_int(obj1
));
3843 if (SWIG_arg_fail(2)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->SetAlignment((wxTreeListColumnAlign
)arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_TreeListColumnInfo_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3862 wxString
*arg2
= 0 ;
3863 bool temp2
= false ;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3867 (char *) "self",(char *) "text", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3872 if (SWIG_arg_fail(1)) SWIG_fail
;
3874 arg2
= wxString_in_helper(obj1
);
3875 if (arg2
== NULL
) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 (arg1
)->SetText((wxString
const &)*arg2
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_TreeListColumnInfo_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "image", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3914 arg2
= (int)(SWIG_As_int(obj1
));
3915 if (SWIG_arg_fail(2)) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetImage(arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_TreeListColumnInfo_SetSelectedImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "image", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail
;
3945 arg2
= (int)(SWIG_As_int(obj1
));
3946 if (SWIG_arg_fail(2)) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 (arg1
)->SetSelectedImage(arg2
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3962 static PyObject
*_wrap_TreeListColumnInfo_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3967 PyObject
* obj1
= 0 ;
3969 (char *) "self",(char *) "with", NULL
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
3974 if (SWIG_arg_fail(1)) SWIG_fail
;
3976 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
3977 if (SWIG_arg_fail(2)) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetWidth(arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
* TreeListColumnInfo_swigregister(PyObject
*, PyObject
*args
) {
3995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3996 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo
, obj
);
3998 return Py_BuildValue((char *)"");
4000 static PyObject
*_wrap_new_TreeListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxWindow
*arg1
= (wxWindow
*) 0 ;
4003 int arg2
= (int) -1 ;
4004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4008 long arg5
= (long) wxTR_DEFAULT_STYLE
;
4009 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
4010 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
4011 wxString
const &arg7_defvalue
= wxPyTreeListCtrlNameStr
;
4012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4013 wxPyTreeListCtrl
*result
;
4016 bool temp7
= false ;
4017 PyObject
* obj0
= 0 ;
4018 PyObject
* obj1
= 0 ;
4019 PyObject
* obj2
= 0 ;
4020 PyObject
* obj3
= 0 ;
4021 PyObject
* obj4
= 0 ;
4022 PyObject
* obj5
= 0 ;
4023 PyObject
* obj6
= 0 ;
4025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4030 if (SWIG_arg_fail(1)) SWIG_fail
;
4033 arg2
= (int)(SWIG_As_int(obj1
));
4034 if (SWIG_arg_fail(2)) SWIG_fail
;
4040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4051 arg5
= (long)(SWIG_As_long(obj4
));
4052 if (SWIG_arg_fail(5)) SWIG_fail
;
4057 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4058 if (SWIG_arg_fail(6)) SWIG_fail
;
4060 SWIG_null_ref("wxValidator");
4062 if (SWIG_arg_fail(6)) SWIG_fail
;
4067 arg7
= wxString_in_helper(obj6
);
4068 if (arg7
== NULL
) SWIG_fail
;
4073 if (!wxPyCheckForApp()) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeListCtrl
, 1);
4095 static PyObject
*_wrap_new_PreTreeListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxPyTreeListCtrl
*result
;
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeListCtrl",kwnames
)) goto fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeListCtrl
, 1);
4118 static PyObject
*_wrap_TreeListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4121 wxWindow
*arg2
= (wxWindow
*) 0 ;
4122 int arg3
= (int) -1 ;
4123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4127 long arg6
= (long) wxTR_DEFAULT_STYLE
;
4128 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4129 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4130 wxString
const &arg8_defvalue
= wxPyTreeListCtrlNameStr
;
4131 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4135 bool temp8
= false ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 PyObject
* obj2
= 0 ;
4139 PyObject
* obj3
= 0 ;
4140 PyObject
* obj4
= 0 ;
4141 PyObject
* obj5
= 0 ;
4142 PyObject
* obj6
= 0 ;
4143 PyObject
* obj7
= 0 ;
4145 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail
;
4151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(2)) SWIG_fail
;
4155 arg3
= (int)(SWIG_As_int(obj2
));
4156 if (SWIG_arg_fail(3)) SWIG_fail
;
4162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4173 arg6
= (long)(SWIG_As_long(obj5
));
4174 if (SWIG_arg_fail(6)) SWIG_fail
;
4179 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4180 if (SWIG_arg_fail(7)) SWIG_fail
;
4182 SWIG_null_ref("wxValidator");
4184 if (SWIG_arg_fail(7)) SWIG_fail
;
4189 arg8
= wxString_in_helper(obj7
);
4190 if (arg8
== NULL
) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4218 static PyObject
*_wrap_TreeListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4221 PyObject
*arg2
= (PyObject
*) 0 ;
4222 PyObject
*arg3
= (PyObject
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4225 PyObject
* obj2
= 0 ;
4227 (char *) "self",(char *) "self",(char *) "_class", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail
;
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 Py_INCREF(Py_None
); resultobj
= Py_None
;
4249 static PyObject
*_wrap_TreeListCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
4259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetCount();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4277 static PyObject
*_wrap_TreeListCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4280 unsigned int result
;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
4287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetIndent();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
4305 static PyObject
*_wrap_TreeListCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4312 (char *) "self",(char *) "indent", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
4316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
4320 if (SWIG_arg_fail(2)) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 (arg1
)->SetIndent(arg2
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_TreeListCtrl_GetLineSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4339 unsigned int result
;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames
,&obj0
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetLineSpacing();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
4364 static PyObject
*_wrap_TreeListCtrl_SetLineSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4366 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4371 (char *) "self",(char *) "spacing", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
4375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4376 if (SWIG_arg_fail(1)) SWIG_fail
;
4378 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
4379 if (SWIG_arg_fail(2)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->SetLineSpacing(arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_TreeListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4398 wxImageList
*result
;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "self", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
4405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetImageList();
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= wxPyMake_wxObject(result
, 0);
4423 static PyObject
*_wrap_TreeListCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4426 wxImageList
*result
;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "self", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
4433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetStateImageList();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= wxPyMake_wxObject(result
, 0);
4451 static PyObject
*_wrap_TreeListCtrl_GetButtonsImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4454 wxImageList
*result
;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames
,&obj0
)) goto fail
;
4461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4462 if (SWIG_arg_fail(1)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetButtonsImageList();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= wxPyMake_wxObject(result
, 0);
4479 static PyObject
*_wrap_TreeListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4482 wxImageList
*arg2
= (wxImageList
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "imageList", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
4493 if (SWIG_arg_fail(2)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 (arg1
)->SetImageList(arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
*_wrap_TreeListCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4511 wxImageList
*arg2
= (wxImageList
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "imageList", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail
;
4521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
4522 if (SWIG_arg_fail(2)) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 (arg1
)->SetStateImageList(arg2
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 Py_INCREF(Py_None
); resultobj
= Py_None
;
4537 static PyObject
*_wrap_TreeListCtrl_SetButtonsImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4540 wxImageList
*arg2
= (wxImageList
*) 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4544 (char *) "self",(char *) "imageList", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4549 if (SWIG_arg_fail(1)) SWIG_fail
;
4550 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(2)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 (arg1
)->SetButtonsImageList(arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
*_wrap_TreeListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4569 wxImageList
*arg2
= (wxImageList
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4573 (char *) "self",(char *) "imageList", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4578 if (SWIG_arg_fail(1)) SWIG_fail
;
4579 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4580 if (SWIG_arg_fail(2)) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 (arg1
)->AssignImageList(arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 Py_INCREF(Py_None
); resultobj
= Py_None
;
4595 static PyObject
*_wrap_TreeListCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4598 wxImageList
*arg2
= (wxImageList
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4602 (char *) "self",(char *) "imageList", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail
;
4608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4609 if (SWIG_arg_fail(2)) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 (arg1
)->AssignStateImageList(arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 Py_INCREF(Py_None
); resultobj
= Py_None
;
4624 static PyObject
*_wrap_TreeListCtrl_AssignButtonsImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4627 wxImageList
*arg2
= (wxImageList
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "imageList", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4636 if (SWIG_arg_fail(1)) SWIG_fail
;
4637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4638 if (SWIG_arg_fail(2)) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 (arg1
)->AssignButtonsImageList(arg2
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 Py_INCREF(Py_None
); resultobj
= Py_None
;
4653 static PyObject
*_wrap_TreeListCtrl_AddColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
*resultobj
;
4655 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4656 wxString
*arg2
= 0 ;
4657 bool temp2
= false ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "text", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AddColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4668 arg2
= wxString_in_helper(obj1
);
4669 if (arg2
== NULL
) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 (arg1
)->AddColumn((wxString
const &)*arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 Py_INCREF(Py_None
); resultobj
= Py_None
;
4694 static PyObject
*_wrap_TreeListCtrl_AddColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4697 wxTreeListColumnInfo
*arg2
= 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4701 (char *) "self",(char *) "col", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail
;
4708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
4709 if (SWIG_arg_fail(2)) SWIG_fail
;
4711 SWIG_null_ref("wxTreeListColumnInfo");
4713 if (SWIG_arg_fail(2)) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 (arg1
)->AddColumn((wxTreeListColumnInfo
const &)*arg2
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 Py_INCREF(Py_None
); resultobj
= Py_None
;
4729 static PyObject
*_wrap_TreeListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4733 wxString
*arg3
= 0 ;
4734 bool temp3
= false ;
4735 PyObject
* obj0
= 0 ;
4736 PyObject
* obj1
= 0 ;
4737 PyObject
* obj2
= 0 ;
4739 (char *) "self",(char *) "before",(char *) "text", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4744 if (SWIG_arg_fail(1)) SWIG_fail
;
4746 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4747 if (SWIG_arg_fail(2)) SWIG_fail
;
4750 arg3
= wxString_in_helper(obj2
);
4751 if (arg3
== NULL
) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 (arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 Py_INCREF(Py_None
); resultobj
= Py_None
;
4776 static PyObject
*_wrap_TreeListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4780 wxTreeListColumnInfo
*arg3
= 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4785 (char *) "self",(char *) "before",(char *) "col", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4790 if (SWIG_arg_fail(1)) SWIG_fail
;
4792 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4793 if (SWIG_arg_fail(2)) SWIG_fail
;
4796 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
4797 if (SWIG_arg_fail(3)) SWIG_fail
;
4799 SWIG_null_ref("wxTreeListColumnInfo");
4801 if (SWIG_arg_fail(3)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 (arg1
)->InsertColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 Py_INCREF(Py_None
); resultobj
= Py_None
;
4817 static PyObject
*_wrap_TreeListCtrl_RemoveColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4824 (char *) "self",(char *) "column", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4829 if (SWIG_arg_fail(1)) SWIG_fail
;
4831 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4832 if (SWIG_arg_fail(2)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 (arg1
)->RemoveColumn(arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 Py_INCREF(Py_None
); resultobj
= Py_None
;
4848 static PyObject
*_wrap_TreeListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
4858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4859 if (SWIG_arg_fail(1)) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetColumnCount();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
4876 static PyObject
*_wrap_TreeListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 PyObject
* obj2
= 0 ;
4885 (char *) "self",(char *) "column",(char *) "width", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4890 if (SWIG_arg_fail(1)) SWIG_fail
;
4892 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4893 if (SWIG_arg_fail(2)) SWIG_fail
;
4896 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
4897 if (SWIG_arg_fail(3)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->SetColumnWidth(arg2
,arg3
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_TreeListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4921 (char *) "self",(char *) "column", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail
;
4928 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4929 if (SWIG_arg_fail(2)) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_From_int((int)(result
));
4947 static PyObject
*_wrap_TreeListCtrl_SetMainColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4954 (char *) "self",(char *) "column", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
4958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail
;
4961 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
4962 if (SWIG_arg_fail(2)) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 (arg1
)->SetMainColumn(arg2
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 Py_INCREF(Py_None
); resultobj
= Py_None
;
4978 static PyObject
*_wrap_TreeListCtrl_GetMainColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
*resultobj
;
4980 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
4982 PyObject
* obj0
= 0 ;
4984 (char *) "self", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetMainColumn",kwnames
,&obj0
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetMainColumn();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
5006 static PyObject
*_wrap_TreeListCtrl_SetColumnText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5010 wxString
*arg3
= 0 ;
5011 bool temp3
= false ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5014 PyObject
* obj2
= 0 ;
5016 (char *) "self",(char *) "column",(char *) "text", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5023 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5024 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 arg3
= wxString_in_helper(obj2
);
5028 if (arg3
== NULL
) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 (arg1
)->SetColumnText(arg2
,(wxString
const &)*arg3
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_TreeListCtrl_GetColumnText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5061 (char *) "self",(char *) "column", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnText",kwnames
,&obj0
,&obj1
)) goto fail
;
5065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail
;
5068 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5069 if (SWIG_arg_fail(2)) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetColumnText(arg2
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5091 static PyObject
*_wrap_TreeListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5095 wxTreeListColumnInfo
*arg3
= 0 ;
5096 PyObject
* obj0
= 0 ;
5097 PyObject
* obj1
= 0 ;
5098 PyObject
* obj2
= 0 ;
5100 (char *) "self",(char *) "column",(char *) "info", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail
;
5107 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5108 if (SWIG_arg_fail(2)) SWIG_fail
;
5111 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(3)) SWIG_fail
;
5114 SWIG_null_ref("wxTreeListColumnInfo");
5116 if (SWIG_arg_fail(3)) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_TreeListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5136 wxTreeListColumnInfo
*result
;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "column", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5145 if (SWIG_arg_fail(1)) SWIG_fail
;
5147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5148 if (SWIG_arg_fail(2)) SWIG_fail
;
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxTreeListColumnInfo
&_result_ref
= (arg1
)->GetColumn(arg2
);
5154 result
= (wxTreeListColumnInfo
*) &_result_ref
;
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeListColumnInfo
, 0);
5167 static PyObject
*_wrap_TreeListCtrl_SetColumnAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
*resultobj
;
5169 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5171 wxTreeListColumnAlign arg3
;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 PyObject
* obj2
= 0 ;
5176 (char *) "self",(char *) "column",(char *) "align", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5183 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5184 if (SWIG_arg_fail(2)) SWIG_fail
;
5187 arg3
= (wxTreeListColumnAlign
)(SWIG_As_int(obj2
));
5188 if (SWIG_arg_fail(3)) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 (arg1
)->SetColumnAlignment(arg2
,(wxTreeListColumnAlign
)arg3
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
*_wrap_TreeListCtrl_GetColumnAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5208 wxTreeListColumnAlign result
;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "column", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5220 if (SWIG_arg_fail(2)) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (wxTreeListColumnAlign
)((wxPyTreeListCtrl
const *)arg1
)->GetColumnAlignment(arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_From_int((result
));
5236 static PyObject
*_wrap_TreeListCtrl_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5243 PyObject
* obj2
= 0 ;
5245 (char *) "self",(char *) "column",(char *) "image", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5253 if (SWIG_arg_fail(2)) SWIG_fail
;
5256 arg3
= (int)(SWIG_As_int(obj2
));
5257 if (SWIG_arg_fail(3)) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 (arg1
)->SetColumnImage(arg2
,arg3
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 Py_INCREF(Py_None
); resultobj
= Py_None
;
5273 static PyObject
*_wrap_TreeListCtrl_GetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5281 (char *) "self",(char *) "column", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
5285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail
;
5288 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5289 if (SWIG_arg_fail(2)) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnImage(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_From_int((int)(result
));
5307 static PyObject
*_wrap_TreeListCtrl_ShowColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 PyObject
* obj2
= 0 ;
5316 (char *) "self",(char *) "column",(char *) "shown", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail
;
5323 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5324 if (SWIG_arg_fail(2)) SWIG_fail
;
5327 arg3
= (bool)(SWIG_As_bool(obj2
));
5328 if (SWIG_arg_fail(3)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->ShowColumn(arg2
,arg3
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 Py_INCREF(Py_None
); resultobj
= Py_None
;
5344 static PyObject
*_wrap_TreeListCtrl_IsColumnShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5352 (char *) "self",(char *) "column", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames
,&obj0
,&obj1
)) goto fail
;
5356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5357 if (SWIG_arg_fail(1)) SWIG_fail
;
5359 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
5360 if (SWIG_arg_fail(2)) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsColumnShown(arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5378 static PyObject
*_wrap_TreeListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5381 wxTreeItemId
*arg2
= 0 ;
5382 int arg3
= (int) -1 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5388 (char *) "self",(char *) "item",(char *) "column", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail
;
5395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5396 if (SWIG_arg_fail(2)) SWIG_fail
;
5398 SWIG_null_ref("wxTreeItemId");
5400 if (SWIG_arg_fail(2)) SWIG_fail
;
5404 arg3
= (int)(SWIG_As_int(obj2
));
5405 if (SWIG_arg_fail(3)) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= wxPyTreeListCtrl_GetItemText(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5428 static PyObject
*_wrap_TreeListCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
;
5430 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5431 wxTreeItemId
*arg2
= 0 ;
5432 int arg3
= (int) -1 ;
5433 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5438 PyObject
* obj3
= 0 ;
5440 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5448 if (SWIG_arg_fail(2)) SWIG_fail
;
5450 SWIG_null_ref("wxTreeItemId");
5452 if (SWIG_arg_fail(2)) SWIG_fail
;
5456 arg3
= (int)(SWIG_As_int(obj2
));
5457 if (SWIG_arg_fail(3)) SWIG_fail
;
5462 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
5463 if (SWIG_arg_fail(4)) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (int)wxPyTreeListCtrl_GetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_From_int((int)(result
));
5482 static PyObject
*_wrap_TreeListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5485 wxTreeItemId
*arg2
= 0 ;
5486 wxString
*arg3
= 0 ;
5487 int arg4
= (int) -1 ;
5488 bool temp3
= false ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5491 PyObject
* obj2
= 0 ;
5492 PyObject
* obj3
= 0 ;
5494 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5502 if (SWIG_arg_fail(2)) SWIG_fail
;
5504 SWIG_null_ref("wxTreeItemId");
5506 if (SWIG_arg_fail(2)) SWIG_fail
;
5509 arg3
= wxString_in_helper(obj2
);
5510 if (arg3
== NULL
) SWIG_fail
;
5515 arg4
= (int)(SWIG_As_int(obj3
));
5516 if (SWIG_arg_fail(4)) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxPyTreeListCtrl_SetItemText(arg1
,(wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5541 static PyObject
*_wrap_TreeListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5544 wxTreeItemId
*arg2
= 0 ;
5546 int arg4
= (int) -1 ;
5547 wxTreeItemIcon arg5
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5552 PyObject
* obj4
= 0 ;
5554 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5562 if (SWIG_arg_fail(2)) SWIG_fail
;
5564 SWIG_null_ref("wxTreeItemId");
5566 if (SWIG_arg_fail(2)) SWIG_fail
;
5569 arg3
= (int)(SWIG_As_int(obj2
));
5570 if (SWIG_arg_fail(3)) SWIG_fail
;
5574 arg4
= (int)(SWIG_As_int(obj3
));
5575 if (SWIG_arg_fail(4)) SWIG_fail
;
5580 arg5
= (wxTreeItemIcon
)(SWIG_As_int(obj4
));
5581 if (SWIG_arg_fail(5)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxPyTreeListCtrl_SetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,arg4
,(wxTreeItemIcon
)arg5
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_TreeListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5601 wxTreeItemId
*arg2
= 0 ;
5602 wxPyTreeItemData
*result
;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "item", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5616 SWIG_null_ref("wxTreeItemId");
5618 if (SWIG_arg_fail(2)) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (wxPyTreeItemData
*)wxPyTreeListCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
5634 static PyObject
*_wrap_TreeListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5637 wxTreeItemId
*arg2
= 0 ;
5638 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5641 PyObject
* obj2
= 0 ;
5643 (char *) "self",(char *) "item",(char *) "data", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5648 if (SWIG_arg_fail(1)) SWIG_fail
;
5650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5651 if (SWIG_arg_fail(2)) SWIG_fail
;
5653 SWIG_null_ref("wxTreeItemId");
5655 if (SWIG_arg_fail(2)) SWIG_fail
;
5657 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
5658 if (SWIG_arg_fail(3)) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 wxPyTreeListCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
*_wrap_TreeListCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5676 wxTreeItemId
*arg2
= 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5681 (char *) "self",(char *) "item", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
5685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail
;
5688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(2)) SWIG_fail
;
5691 SWIG_null_ref("wxTreeItemId");
5693 if (SWIG_arg_fail(2)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (PyObject
*)wxPyTreeListCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5709 static PyObject
*_wrap_TreeListCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5712 wxTreeItemId
*arg2
= 0 ;
5713 PyObject
*arg3
= (PyObject
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5716 PyObject
* obj2
= 0 ;
5718 (char *) "self",(char *) "item",(char *) "obj", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(2)) SWIG_fail
;
5728 SWIG_null_ref("wxTreeItemId");
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxPyTreeListCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_TreeListCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5750 wxTreeItemId
*arg2
= 0 ;
5751 bool arg3
= (bool) true ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 PyObject
* obj2
= 0 ;
5756 (char *) "self",(char *) "item",(char *) "has", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail
;
5763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(2)) SWIG_fail
;
5766 SWIG_null_ref("wxTreeItemId");
5768 if (SWIG_arg_fail(2)) SWIG_fail
;
5772 arg3
= (bool)(SWIG_As_bool(obj2
));
5773 if (SWIG_arg_fail(3)) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 Py_INCREF(Py_None
); resultobj
= Py_None
;
5790 static PyObject
*_wrap_TreeListCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5793 wxTreeItemId
*arg2
= 0 ;
5794 bool arg3
= (bool) true ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5797 PyObject
* obj2
= 0 ;
5799 (char *) "self",(char *) "item",(char *) "bold", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(2)) SWIG_fail
;
5809 SWIG_null_ref("wxTreeItemId");
5811 if (SWIG_arg_fail(2)) SWIG_fail
;
5815 arg3
= (bool)(SWIG_As_bool(obj2
));
5816 if (SWIG_arg_fail(3)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_TreeListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5836 wxTreeItemId
*arg2
= 0 ;
5837 wxColour
*arg3
= 0 ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 PyObject
* obj2
= 0 ;
5843 (char *) "self",(char *) "item",(char *) "colour", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5848 if (SWIG_arg_fail(1)) SWIG_fail
;
5850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5851 if (SWIG_arg_fail(2)) SWIG_fail
;
5853 SWIG_null_ref("wxTreeItemId");
5855 if (SWIG_arg_fail(2)) SWIG_fail
;
5859 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5878 wxTreeItemId
*arg2
= 0 ;
5879 wxColour
*arg3
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5885 (char *) "self",(char *) "item",(char *) "colour", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5890 if (SWIG_arg_fail(1)) SWIG_fail
;
5892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5893 if (SWIG_arg_fail(2)) SWIG_fail
;
5895 SWIG_null_ref("wxTreeItemId");
5897 if (SWIG_arg_fail(2)) SWIG_fail
;
5901 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_TreeListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5920 wxTreeItemId
*arg2
= 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 PyObject
* obj2
= 0 ;
5926 (char *) "self",(char *) "item",(char *) "font", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5931 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5934 if (SWIG_arg_fail(2)) SWIG_fail
;
5936 SWIG_null_ref("wxTreeItemId");
5938 if (SWIG_arg_fail(2)) SWIG_fail
;
5941 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(3)) SWIG_fail
;
5944 SWIG_null_ref("wxFont");
5946 if (SWIG_arg_fail(3)) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_TreeListCtrl_GetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5965 wxTreeItemId
*arg2
= 0 ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5970 (char *) "self",(char *) "item", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBold",kwnames
,&obj0
,&obj1
)) goto fail
;
5974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail
;
5977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
5978 if (SWIG_arg_fail(2)) SWIG_fail
;
5980 SWIG_null_ref("wxTreeItemId");
5982 if (SWIG_arg_fail(2)) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->GetItemBold((wxTreeItemId
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 static PyObject
*_wrap_TreeListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6003 wxTreeItemId
*arg2
= 0 ;
6005 PyObject
* obj0
= 0 ;
6006 PyObject
* obj1
= 0 ;
6008 (char *) "self",(char *) "item", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail
;
6015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6016 if (SWIG_arg_fail(2)) SWIG_fail
;
6018 SWIG_null_ref("wxTreeItemId");
6020 if (SWIG_arg_fail(2)) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 wxColour
* resultptr
;
6031 resultptr
= new wxColour((wxColour
&)(result
));
6032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
6040 static PyObject
*_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6043 wxTreeItemId
*arg2
= 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "item", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6056 if (SWIG_arg_fail(2)) SWIG_fail
;
6058 SWIG_null_ref("wxTreeItemId");
6060 if (SWIG_arg_fail(2)) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 wxColour
* resultptr
;
6071 resultptr
= new wxColour((wxColour
&)(result
));
6072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
6080 static PyObject
*_wrap_TreeListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6083 wxTreeItemId
*arg2
= 0 ;
6085 PyObject
* obj0
= 0 ;
6086 PyObject
* obj1
= 0 ;
6088 (char *) "self",(char *) "item", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6093 if (SWIG_arg_fail(1)) SWIG_fail
;
6095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6096 if (SWIG_arg_fail(2)) SWIG_fail
;
6098 SWIG_null_ref("wxTreeItemId");
6100 if (SWIG_arg_fail(2)) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6111 resultptr
= new wxFont((wxFont
&)(result
));
6112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
6120 static PyObject
*_wrap_TreeListCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6123 wxTreeItemId
*arg2
= 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6128 (char *) "self",(char *) "item", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6133 if (SWIG_arg_fail(1)) SWIG_fail
;
6135 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6136 if (SWIG_arg_fail(2)) SWIG_fail
;
6138 SWIG_null_ref("wxTreeItemId");
6140 if (SWIG_arg_fail(2)) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6158 static PyObject
*_wrap_TreeListCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6161 wxTreeItemId
*arg2
= 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "item", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6171 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6174 if (SWIG_arg_fail(2)) SWIG_fail
;
6176 SWIG_null_ref("wxTreeItemId");
6178 if (SWIG_arg_fail(2)) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6196 static PyObject
*_wrap_TreeListCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6199 wxTreeItemId
*arg2
= 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "item", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6209 if (SWIG_arg_fail(1)) SWIG_fail
;
6211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6212 if (SWIG_arg_fail(2)) SWIG_fail
;
6214 SWIG_null_ref("wxTreeItemId");
6216 if (SWIG_arg_fail(2)) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6234 static PyObject
*_wrap_TreeListCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6237 wxTreeItemId
*arg2
= 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "item", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6250 if (SWIG_arg_fail(2)) SWIG_fail
;
6252 SWIG_null_ref("wxTreeItemId");
6254 if (SWIG_arg_fail(2)) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6272 static PyObject
*_wrap_TreeListCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6275 wxTreeItemId
*arg2
= 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6280 (char *) "self",(char *) "item", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
6284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail
;
6287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(2)) SWIG_fail
;
6290 SWIG_null_ref("wxTreeItemId");
6292 if (SWIG_arg_fail(2)) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6310 static PyObject
*_wrap_TreeListCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6313 wxTreeItemId
*arg2
= 0 ;
6314 bool arg3
= (bool) true ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "self",(char *) "item",(char *) "recursively", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(2)) SWIG_fail
;
6330 SWIG_null_ref("wxTreeItemId");
6332 if (SWIG_arg_fail(2)) SWIG_fail
;
6336 arg3
= (bool)(SWIG_As_bool(obj2
));
6337 if (SWIG_arg_fail(3)) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
6356 static PyObject
*_wrap_TreeListCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6359 wxTreeItemId result
;
6360 PyObject
* obj0
= 0 ;
6362 (char *) "self", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
6366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6367 if (SWIG_arg_fail(1)) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetRootItem();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 wxTreeItemId
* resultptr
;
6377 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6386 static PyObject
*_wrap_TreeListCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6389 wxTreeItemId result
;
6390 PyObject
* obj0
= 0 ;
6392 (char *) "self", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6397 if (SWIG_arg_fail(1)) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetSelection();
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6406 wxTreeItemId
* resultptr
;
6407 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6416 static PyObject
*_wrap_TreeListCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
6426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6427 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (PyObject
*)wxPyTreeListCtrl_GetSelections(arg1
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6442 static PyObject
*_wrap_TreeListCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6445 wxTreeItemId
*arg2
= 0 ;
6446 wxTreeItemId result
;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6450 (char *) "self",(char *) "item", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6455 if (SWIG_arg_fail(1)) SWIG_fail
;
6457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(2)) SWIG_fail
;
6460 SWIG_null_ref("wxTreeItemId");
6462 if (SWIG_arg_fail(2)) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 wxTreeItemId
* resultptr
;
6473 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6482 static PyObject
*_wrap_TreeListCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6485 wxTreeItemId
*arg2
= 0 ;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6490 (char *) "self",(char *) "item", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
6494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6495 if (SWIG_arg_fail(1)) SWIG_fail
;
6497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6498 if (SWIG_arg_fail(2)) SWIG_fail
;
6500 SWIG_null_ref("wxTreeItemId");
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (PyObject
*)wxPyTreeListCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6518 static PyObject
*_wrap_TreeListCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
;
6520 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6521 wxTreeItemId
*arg2
= 0 ;
6522 void *arg3
= (void *) 0 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 PyObject
* obj2
= 0 ;
6528 (char *) "self",(char *) "item",(char *) "cookie", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail
;
6535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6536 if (SWIG_arg_fail(2)) SWIG_fail
;
6538 SWIG_null_ref("wxTreeItemId");
6540 if (SWIG_arg_fail(2)) SWIG_fail
;
6543 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
6544 SWIG_arg_fail(3);SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (PyObject
*)wxPyTreeListCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6561 static PyObject
*_wrap_TreeListCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6564 wxTreeItemId
*arg2
= 0 ;
6565 wxTreeItemId result
;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6569 (char *) "self",(char *) "item", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
6573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail
;
6576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6577 if (SWIG_arg_fail(2)) SWIG_fail
;
6579 SWIG_null_ref("wxTreeItemId");
6581 if (SWIG_arg_fail(2)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6591 wxTreeItemId
* resultptr
;
6592 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6601 static PyObject
*_wrap_TreeListCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6604 wxTreeItemId
*arg2
= 0 ;
6605 wxTreeItemId result
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6609 (char *) "self",(char *) "item", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
6613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail
;
6616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(2)) SWIG_fail
;
6619 SWIG_null_ref("wxTreeItemId");
6621 if (SWIG_arg_fail(2)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 wxTreeItemId
* resultptr
;
6632 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6641 static PyObject
*_wrap_TreeListCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6644 wxTreeItemId
*arg2
= 0 ;
6645 wxTreeItemId result
;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6649 (char *) "self",(char *) "item", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
6653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6654 if (SWIG_arg_fail(1)) SWIG_fail
;
6656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6657 if (SWIG_arg_fail(2)) SWIG_fail
;
6659 SWIG_null_ref("wxTreeItemId");
6661 if (SWIG_arg_fail(2)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 wxTreeItemId
* resultptr
;
6672 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6681 static PyObject
*_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6684 wxTreeItemId result
;
6685 PyObject
* obj0
= 0 ;
6687 (char *) "self", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
6691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetFirstVisibleItem();
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 wxTreeItemId
* resultptr
;
6702 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6711 static PyObject
*_wrap_TreeListCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6714 wxTreeItemId
*arg2
= 0 ;
6715 wxTreeItemId result
;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "item", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6724 if (SWIG_arg_fail(1)) SWIG_fail
;
6726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6727 if (SWIG_arg_fail(2)) SWIG_fail
;
6729 SWIG_null_ref("wxTreeItemId");
6731 if (SWIG_arg_fail(2)) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6741 wxTreeItemId
* resultptr
;
6742 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6751 static PyObject
*_wrap_TreeListCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6754 wxTreeItemId
*arg2
= 0 ;
6755 wxTreeItemId result
;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "item", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6767 if (SWIG_arg_fail(2)) SWIG_fail
;
6769 SWIG_null_ref("wxTreeItemId");
6771 if (SWIG_arg_fail(2)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 wxTreeItemId
* resultptr
;
6782 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6791 static PyObject
*_wrap_TreeListCtrl_GetNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6794 wxTreeItemId
*arg2
= 0 ;
6795 wxTreeItemId result
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "item", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNext",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(2)) SWIG_fail
;
6809 SWIG_null_ref("wxTreeItemId");
6811 if (SWIG_arg_fail(2)) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNext((wxTreeItemId
const &)*arg2
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 wxTreeItemId
* resultptr
;
6822 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6831 static PyObject
*_wrap_TreeListCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6834 wxString
*arg2
= 0 ;
6835 int arg3
= (int) -1 ;
6836 int arg4
= (int) -1 ;
6837 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
6838 wxTreeItemId result
;
6839 bool temp2
= false ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 PyObject
* obj2
= 0 ;
6843 PyObject
* obj3
= 0 ;
6844 PyObject
* obj4
= 0 ;
6846 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6851 if (SWIG_arg_fail(1)) SWIG_fail
;
6853 arg2
= wxString_in_helper(obj1
);
6854 if (arg2
== NULL
) SWIG_fail
;
6859 arg3
= (int)(SWIG_As_int(obj2
));
6860 if (SWIG_arg_fail(3)) SWIG_fail
;
6865 arg4
= (int)(SWIG_As_int(obj3
));
6866 if (SWIG_arg_fail(4)) SWIG_fail
;
6870 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
6871 if (SWIG_arg_fail(5)) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 wxTreeItemId
* resultptr
;
6882 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6899 static PyObject
*_wrap_TreeListCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6902 wxTreeItemId
*arg2
= 0 ;
6903 wxString
*arg3
= 0 ;
6904 int arg4
= (int) -1 ;
6905 int arg5
= (int) -1 ;
6906 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
6907 wxTreeItemId result
;
6908 bool temp3
= false ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 PyObject
* obj3
= 0 ;
6913 PyObject
* obj4
= 0 ;
6914 PyObject
* obj5
= 0 ;
6916 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
6921 if (SWIG_arg_fail(1)) SWIG_fail
;
6923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
6924 if (SWIG_arg_fail(2)) SWIG_fail
;
6926 SWIG_null_ref("wxTreeItemId");
6928 if (SWIG_arg_fail(2)) SWIG_fail
;
6931 arg3
= wxString_in_helper(obj2
);
6932 if (arg3
== NULL
) SWIG_fail
;
6937 arg4
= (int)(SWIG_As_int(obj3
));
6938 if (SWIG_arg_fail(4)) SWIG_fail
;
6943 arg5
= (int)(SWIG_As_int(obj4
));
6944 if (SWIG_arg_fail(5)) SWIG_fail
;
6948 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
6949 if (SWIG_arg_fail(6)) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 wxTreeItemId
* resultptr
;
6960 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
6961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
6977 static PyObject
*_wrap_TreeListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6980 wxTreeItemId
*arg2
= 0 ;
6981 wxTreeItemId
*arg3
= 0 ;
6982 wxString
*arg4
= 0 ;
6983 int arg5
= (int) -1 ;
6984 int arg6
= (int) -1 ;
6985 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
6986 wxTreeItemId result
;
6987 bool temp4
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 PyObject
* obj4
= 0 ;
6993 PyObject
* obj5
= 0 ;
6994 PyObject
* obj6
= 0 ;
6996 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7001 if (SWIG_arg_fail(1)) SWIG_fail
;
7003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail
;
7006 SWIG_null_ref("wxTreeItemId");
7008 if (SWIG_arg_fail(2)) SWIG_fail
;
7011 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7012 if (SWIG_arg_fail(3)) SWIG_fail
;
7014 SWIG_null_ref("wxTreeItemId");
7016 if (SWIG_arg_fail(3)) SWIG_fail
;
7019 arg4
= wxString_in_helper(obj3
);
7020 if (arg4
== NULL
) SWIG_fail
;
7025 arg5
= (int)(SWIG_As_int(obj4
));
7026 if (SWIG_arg_fail(5)) SWIG_fail
;
7031 arg6
= (int)(SWIG_As_int(obj5
));
7032 if (SWIG_arg_fail(6)) SWIG_fail
;
7036 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
7037 if (SWIG_arg_fail(7)) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 wxTreeItemId
* resultptr
;
7048 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
7049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
7065 static PyObject
*_wrap_TreeListCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7068 wxTreeItemId
*arg2
= 0 ;
7070 wxString
*arg4
= 0 ;
7071 int arg5
= (int) -1 ;
7072 int arg6
= (int) -1 ;
7073 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
7074 wxTreeItemId result
;
7075 bool temp4
= false ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7079 PyObject
* obj3
= 0 ;
7080 PyObject
* obj4
= 0 ;
7081 PyObject
* obj5
= 0 ;
7082 PyObject
* obj6
= 0 ;
7084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7089 if (SWIG_arg_fail(1)) SWIG_fail
;
7091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7092 if (SWIG_arg_fail(2)) SWIG_fail
;
7094 SWIG_null_ref("wxTreeItemId");
7096 if (SWIG_arg_fail(2)) SWIG_fail
;
7099 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
7100 if (SWIG_arg_fail(3)) SWIG_fail
;
7103 arg4
= wxString_in_helper(obj3
);
7104 if (arg4
== NULL
) SWIG_fail
;
7109 arg5
= (int)(SWIG_As_int(obj4
));
7110 if (SWIG_arg_fail(5)) SWIG_fail
;
7115 arg6
= (int)(SWIG_As_int(obj5
));
7116 if (SWIG_arg_fail(6)) SWIG_fail
;
7120 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
7121 if (SWIG_arg_fail(7)) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 wxTreeItemId
* resultptr
;
7132 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
7133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
7149 static PyObject
*_wrap_TreeListCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7152 wxTreeItemId
*arg2
= 0 ;
7153 wxString
*arg3
= 0 ;
7154 int arg4
= (int) -1 ;
7155 int arg5
= (int) -1 ;
7156 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
7157 wxTreeItemId result
;
7158 bool temp3
= false ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7162 PyObject
* obj3
= 0 ;
7163 PyObject
* obj4
= 0 ;
7164 PyObject
* obj5
= 0 ;
7166 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(2)) SWIG_fail
;
7176 SWIG_null_ref("wxTreeItemId");
7178 if (SWIG_arg_fail(2)) SWIG_fail
;
7181 arg3
= wxString_in_helper(obj2
);
7182 if (arg3
== NULL
) SWIG_fail
;
7187 arg4
= (int)(SWIG_As_int(obj3
));
7188 if (SWIG_arg_fail(4)) SWIG_fail
;
7193 arg5
= (int)(SWIG_As_int(obj4
));
7194 if (SWIG_arg_fail(5)) SWIG_fail
;
7198 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
7199 if (SWIG_arg_fail(6)) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 wxTreeItemId
* resultptr
;
7210 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
7211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
7227 static PyObject
*_wrap_TreeListCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7230 wxTreeItemId
*arg2
= 0 ;
7231 PyObject
* obj0
= 0 ;
7232 PyObject
* obj1
= 0 ;
7234 (char *) "self",(char *) "item", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
7238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7239 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7244 SWIG_null_ref("wxTreeItemId");
7246 if (SWIG_arg_fail(2)) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 static PyObject
*_wrap_TreeListCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7265 wxTreeItemId
*arg2
= 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "self",(char *) "item", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
7273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail
;
7276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7277 if (SWIG_arg_fail(2)) SWIG_fail
;
7279 SWIG_null_ref("wxTreeItemId");
7281 if (SWIG_arg_fail(2)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_TreeListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7302 (char *) "self", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
7306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7307 if (SWIG_arg_fail(1)) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->DeleteAllItems();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_TreeListCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7325 wxTreeItemId
*arg2
= 0 ;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7329 (char *) "self",(char *) "item", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
7333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7334 if (SWIG_arg_fail(1)) SWIG_fail
;
7336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(2)) SWIG_fail
;
7339 SWIG_null_ref("wxTreeItemId");
7341 if (SWIG_arg_fail(2)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_TreeListCtrl_ExpandAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7360 wxTreeItemId
*arg2
= 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "item", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ExpandAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(2)) SWIG_fail
;
7374 SWIG_null_ref("wxTreeItemId");
7376 if (SWIG_arg_fail(2)) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 (arg1
)->ExpandAll((wxTreeItemId
const &)*arg2
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 static PyObject
*_wrap_TreeListCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7395 wxTreeItemId
*arg2
= 0 ;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7399 (char *) "self",(char *) "item", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7407 if (SWIG_arg_fail(2)) SWIG_fail
;
7409 SWIG_null_ref("wxTreeItemId");
7411 if (SWIG_arg_fail(2)) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_TreeListCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7430 wxTreeItemId
*arg2
= 0 ;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7434 (char *) "self",(char *) "item", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
7438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail
;
7441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7442 if (SWIG_arg_fail(2)) SWIG_fail
;
7444 SWIG_null_ref("wxTreeItemId");
7446 if (SWIG_arg_fail(2)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_TreeListCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7465 wxTreeItemId
*arg2
= 0 ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7469 (char *) "self",(char *) "item", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
7473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7474 if (SWIG_arg_fail(1)) SWIG_fail
;
7476 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(2)) SWIG_fail
;
7479 SWIG_null_ref("wxTreeItemId");
7481 if (SWIG_arg_fail(2)) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 Py_INCREF(Py_None
); resultobj
= Py_None
;
7497 static PyObject
*_wrap_TreeListCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
7506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 Py_INCREF(Py_None
); resultobj
= Py_None
;
7522 static PyObject
*_wrap_TreeListCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
7531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7532 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 (arg1
)->UnselectAll();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 Py_INCREF(Py_None
); resultobj
= Py_None
;
7547 static PyObject
*_wrap_TreeListCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7550 wxTreeItemId
*arg2
= 0 ;
7551 bool arg3
= (bool) true ;
7552 bool arg4
= (bool) false ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj2
= 0 ;
7556 PyObject
* obj3
= 0 ;
7558 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail
;
7565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7566 if (SWIG_arg_fail(2)) SWIG_fail
;
7568 SWIG_null_ref("wxTreeItemId");
7570 if (SWIG_arg_fail(2)) SWIG_fail
;
7574 arg3
= (bool)(SWIG_As_bool(obj2
));
7575 if (SWIG_arg_fail(3)) SWIG_fail
;
7580 arg4
= (bool)(SWIG_As_bool(obj3
));
7581 if (SWIG_arg_fail(4)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_TreeListCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7601 bool arg2
= (bool) false ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 (char *) "self",(char *) "extended_select", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TreeListCtrl_SelectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7610 if (SWIG_arg_fail(1)) SWIG_fail
;
7613 arg2
= (bool)(SWIG_As_bool(obj1
));
7614 if (SWIG_arg_fail(2)) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SelectAll(arg2
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 Py_INCREF(Py_None
); resultobj
= Py_None
;
7631 static PyObject
*_wrap_TreeListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7634 wxTreeItemId
*arg2
= 0 ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "item", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7643 if (SWIG_arg_fail(1)) SWIG_fail
;
7645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7646 if (SWIG_arg_fail(2)) SWIG_fail
;
7648 SWIG_null_ref("wxTreeItemId");
7650 if (SWIG_arg_fail(2)) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 Py_INCREF(Py_None
); resultobj
= Py_None
;
7666 static PyObject
*_wrap_TreeListCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7669 wxTreeItemId
*arg2
= 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7673 (char *) "self",(char *) "item", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
7677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail
;
7680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7681 if (SWIG_arg_fail(2)) SWIG_fail
;
7683 SWIG_null_ref("wxTreeItemId");
7685 if (SWIG_arg_fail(2)) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 Py_INCREF(Py_None
); resultobj
= Py_None
;
7701 static PyObject
*_wrap_TreeListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7707 wxTreeItemId result
;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7716 (char *) "self",(char *) "point", NULL
7719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
7720 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,*arg4
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 wxTreeItemId
* resultptr
;
7737 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
7738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
7740 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
7741 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
7742 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
7743 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
7750 static PyObject
*_wrap_TreeListCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7753 wxTreeItemId
*arg2
= 0 ;
7754 bool arg3
= (bool) false ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7760 (char *) "self",(char *) "item",(char *) "textOnly", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail
;
7767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(2)) SWIG_fail
;
7770 SWIG_null_ref("wxTreeItemId");
7772 if (SWIG_arg_fail(2)) SWIG_fail
;
7776 arg3
= (bool)(SWIG_As_bool(obj2
));
7777 if (SWIG_arg_fail(3)) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (PyObject
*)wxPyTreeListCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7794 static PyObject
*_wrap_TreeListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7797 wxTreeItemId
*arg2
= 0 ;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7801 (char *) "self",(char *) "item", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
7805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail
;
7808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(2)) SWIG_fail
;
7811 SWIG_null_ref("wxTreeItemId");
7813 if (SWIG_arg_fail(2)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 Py_INCREF(Py_None
); resultobj
= Py_None
;
7829 static PyObject
*_wrap_TreeListCtrl_Edit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7832 wxTreeItemId
*arg2
= 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7836 (char *) "self",(char *) "item", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Edit",kwnames
,&obj0
,&obj1
)) goto fail
;
7840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7841 if (SWIG_arg_fail(1)) SWIG_fail
;
7843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7844 if (SWIG_arg_fail(2)) SWIG_fail
;
7846 SWIG_null_ref("wxTreeItemId");
7848 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->Edit((wxTreeItemId
const &)*arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_TreeListCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7867 wxTreeItemId
*arg2
= 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "item", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7879 if (SWIG_arg_fail(2)) SWIG_fail
;
7881 SWIG_null_ref("wxTreeItemId");
7883 if (SWIG_arg_fail(2)) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7899 static PyObject
*_wrap_TreeListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7902 wxTreeItemId
*arg2
= 0 ;
7903 wxString
*arg3
= 0 ;
7904 int arg4
= (int) 0 ;
7905 wxTreeItemId result
;
7906 bool temp3
= false ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7910 PyObject
* obj3
= 0 ;
7912 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
7920 if (SWIG_arg_fail(2)) SWIG_fail
;
7922 SWIG_null_ref("wxTreeItemId");
7924 if (SWIG_arg_fail(2)) SWIG_fail
;
7927 arg3
= wxString_in_helper(obj2
);
7928 if (arg3
== NULL
) SWIG_fail
;
7933 arg4
= (int)(SWIG_As_int(obj3
));
7934 if (SWIG_arg_fail(4)) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (arg1
)->FindItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 wxTreeItemId
* resultptr
;
7946 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
7947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
7963 static PyObject
*_wrap_TreeListCtrl_GetHeaderWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames
,&obj0
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (wxWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetHeaderWindow();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= wxPyMake_wxObject(result
, 0);
7991 static PyObject
*_wrap_TreeListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7994 wxScrolledWindow
*result
;
7995 PyObject
* obj0
= 0 ;
7997 (char *) "self", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (wxScrolledWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetMainWindow();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= wxPyMake_wxObject(result
, 0);
8019 static PyObject
* TreeListCtrl_swigregister(PyObject
*, PyObject
*args
) {
8021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8022 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl
, obj
);
8024 return Py_BuildValue((char *)"");
8026 static PyMethodDef SwigMethods
[] = {
8027 { (char *)"new_DynamicSashSplitEvent", (PyCFunction
) _wrap_new_DynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8028 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister
, METH_VARARGS
, NULL
},
8029 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction
) _wrap_new_DynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8030 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister
, METH_VARARGS
, NULL
},
8031 { (char *)"new_DynamicSashWindow", (PyCFunction
) _wrap_new_DynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8032 { (char *)"new_PreDynamicSashWindow", (PyCFunction
) _wrap_new_PreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8033 { (char *)"DynamicSashWindow_Create", (PyCFunction
) _wrap_DynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8034 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8035 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8036 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister
, METH_VARARGS
, NULL
},
8037 { (char *)"new_EditableListBox", (PyCFunction
) _wrap_new_EditableListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8038 { (char *)"EditableListBox_SetStrings", (PyCFunction
) _wrap_EditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8039 { (char *)"EditableListBox_GetStrings", (PyCFunction
) _wrap_EditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8040 { (char *)"EditableListBox_GetListCtrl", (PyCFunction
) _wrap_EditableListBox_GetListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8041 { (char *)"EditableListBox_GetDelButton", (PyCFunction
) _wrap_EditableListBox_GetDelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8042 { (char *)"EditableListBox_GetNewButton", (PyCFunction
) _wrap_EditableListBox_GetNewButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8043 { (char *)"EditableListBox_GetUpButton", (PyCFunction
) _wrap_EditableListBox_GetUpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8044 { (char *)"EditableListBox_GetDownButton", (PyCFunction
) _wrap_EditableListBox_GetDownButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8045 { (char *)"EditableListBox_GetEditButton", (PyCFunction
) _wrap_EditableListBox_GetEditButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8046 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister
, METH_VARARGS
, NULL
},
8047 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_RemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8048 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8049 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8050 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8051 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8052 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8053 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8054 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister
, METH_VARARGS
, NULL
},
8055 { (char *)"new_TreeCompanionWindow", (PyCFunction
) _wrap_new_TreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8056 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_TreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8057 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_TreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8058 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_TreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8059 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister
, METH_VARARGS
, NULL
},
8060 { (char *)"new_ThinSplitterWindow", (PyCFunction
) _wrap_new_ThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8061 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister
, METH_VARARGS
, NULL
},
8062 { (char *)"new_SplitterScrolledWindow", (PyCFunction
) _wrap_new_SplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8063 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
8064 { (char *)"new_LEDNumberCtrl", (PyCFunction
) _wrap_new_LEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8065 { (char *)"new_PreLEDNumberCtrl", (PyCFunction
) _wrap_new_PreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8066 { (char *)"LEDNumberCtrl_Create", (PyCFunction
) _wrap_LEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8067 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_LEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8068 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_LEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8069 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction
) _wrap_LEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8070 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_LEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8071 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_LEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8072 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction
) _wrap_LEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8073 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister
, METH_VARARGS
, NULL
},
8074 { (char *)"new_TreeListColumnInfo", (PyCFunction
) _wrap_new_TreeListColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8075 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction
) _wrap_TreeListColumnInfo_GetShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8076 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction
) _wrap_TreeListColumnInfo_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8077 { (char *)"TreeListColumnInfo_GetText", (PyCFunction
) _wrap_TreeListColumnInfo_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8078 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction
) _wrap_TreeListColumnInfo_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8079 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction
) _wrap_TreeListColumnInfo_GetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8080 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction
) _wrap_TreeListColumnInfo_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8081 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction
) _wrap_TreeListColumnInfo_SetShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8082 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction
) _wrap_TreeListColumnInfo_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8083 { (char *)"TreeListColumnInfo_SetText", (PyCFunction
) _wrap_TreeListColumnInfo_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8084 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8085 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8086 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction
) _wrap_TreeListColumnInfo_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8087 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister
, METH_VARARGS
, NULL
},
8088 { (char *)"new_TreeListCtrl", (PyCFunction
) _wrap_new_TreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8089 { (char *)"new_PreTreeListCtrl", (PyCFunction
) _wrap_new_PreTreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8090 { (char *)"TreeListCtrl_Create", (PyCFunction
) _wrap_TreeListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8091 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8092 { (char *)"TreeListCtrl_GetCount", (PyCFunction
) _wrap_TreeListCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8093 { (char *)"TreeListCtrl_GetIndent", (PyCFunction
) _wrap_TreeListCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8094 { (char *)"TreeListCtrl_SetIndent", (PyCFunction
) _wrap_TreeListCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8095 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction
) _wrap_TreeListCtrl_GetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8096 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction
) _wrap_TreeListCtrl_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8097 { (char *)"TreeListCtrl_GetImageList", (PyCFunction
) _wrap_TreeListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8098 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeListCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8099 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_GetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8100 { (char *)"TreeListCtrl_SetImageList", (PyCFunction
) _wrap_TreeListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8101 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeListCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8102 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_SetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8103 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8104 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8105 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8106 { (char *)"TreeListCtrl_AddColumn", (PyCFunction
) _wrap_TreeListCtrl_AddColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8107 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_AddColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8108 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction
) _wrap_TreeListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8109 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8110 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction
) _wrap_TreeListCtrl_RemoveColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8111 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction
) _wrap_TreeListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8112 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8113 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8114 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction
) _wrap_TreeListCtrl_SetMainColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8115 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction
) _wrap_TreeListCtrl_GetMainColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8116 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction
) _wrap_TreeListCtrl_SetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8117 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction
) _wrap_TreeListCtrl_GetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8118 { (char *)"TreeListCtrl_SetColumn", (PyCFunction
) _wrap_TreeListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8119 { (char *)"TreeListCtrl_GetColumn", (PyCFunction
) _wrap_TreeListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8120 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_SetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8121 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_GetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8122 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8123 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_GetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8124 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction
) _wrap_TreeListCtrl_ShowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8125 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction
) _wrap_TreeListCtrl_IsColumnShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8126 { (char *)"TreeListCtrl_GetItemText", (PyCFunction
) _wrap_TreeListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8127 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction
) _wrap_TreeListCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8128 { (char *)"TreeListCtrl_SetItemText", (PyCFunction
) _wrap_TreeListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8129 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction
) _wrap_TreeListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8130 { (char *)"TreeListCtrl_GetItemData", (PyCFunction
) _wrap_TreeListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8131 { (char *)"TreeListCtrl_SetItemData", (PyCFunction
) _wrap_TreeListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8132 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8133 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8134 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeListCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8135 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction
) _wrap_TreeListCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8136 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8137 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8138 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction
) _wrap_TreeListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8139 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction
) _wrap_TreeListCtrl_GetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8140 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8141 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8142 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction
) _wrap_TreeListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8143 { (char *)"TreeListCtrl_IsVisible", (PyCFunction
) _wrap_TreeListCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8144 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeListCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8145 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction
) _wrap_TreeListCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8146 { (char *)"TreeListCtrl_IsSelected", (PyCFunction
) _wrap_TreeListCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8147 { (char *)"TreeListCtrl_IsBold", (PyCFunction
) _wrap_TreeListCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8148 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeListCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8149 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction
) _wrap_TreeListCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8150 { (char *)"TreeListCtrl_GetSelection", (PyCFunction
) _wrap_TreeListCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8151 { (char *)"TreeListCtrl_GetSelections", (PyCFunction
) _wrap_TreeListCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8152 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction
) _wrap_TreeListCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8153 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeListCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8154 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction
) _wrap_TreeListCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8155 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction
) _wrap_TreeListCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8156 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeListCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8157 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeListCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8158 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeListCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8159 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeListCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8160 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeListCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8161 { (char *)"TreeListCtrl_GetNext", (PyCFunction
) _wrap_TreeListCtrl_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8162 { (char *)"TreeListCtrl_AddRoot", (PyCFunction
) _wrap_TreeListCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8163 { (char *)"TreeListCtrl_PrependItem", (PyCFunction
) _wrap_TreeListCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8164 { (char *)"TreeListCtrl_InsertItem", (PyCFunction
) _wrap_TreeListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8165 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeListCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8166 { (char *)"TreeListCtrl_AppendItem", (PyCFunction
) _wrap_TreeListCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8167 { (char *)"TreeListCtrl_Delete", (PyCFunction
) _wrap_TreeListCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8168 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeListCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8169 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8170 { (char *)"TreeListCtrl_Expand", (PyCFunction
) _wrap_TreeListCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8171 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction
) _wrap_TreeListCtrl_ExpandAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8172 { (char *)"TreeListCtrl_Collapse", (PyCFunction
) _wrap_TreeListCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8173 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeListCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8174 { (char *)"TreeListCtrl_Toggle", (PyCFunction
) _wrap_TreeListCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8175 { (char *)"TreeListCtrl_Unselect", (PyCFunction
) _wrap_TreeListCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8176 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction
) _wrap_TreeListCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8177 { (char *)"TreeListCtrl_SelectItem", (PyCFunction
) _wrap_TreeListCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8178 { (char *)"TreeListCtrl_SelectAll", (PyCFunction
) _wrap_TreeListCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8179 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8180 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction
) _wrap_TreeListCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8181 { (char *)"TreeListCtrl_HitTest", (PyCFunction
) _wrap_TreeListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8182 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeListCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8183 { (char *)"TreeListCtrl_EditLabel", (PyCFunction
) _wrap_TreeListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8184 { (char *)"TreeListCtrl_Edit", (PyCFunction
) _wrap_TreeListCtrl_Edit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8185 { (char *)"TreeListCtrl_SortChildren", (PyCFunction
) _wrap_TreeListCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8186 { (char *)"TreeListCtrl_FindItem", (PyCFunction
) _wrap_TreeListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8187 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction
) _wrap_TreeListCtrl_GetHeaderWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8188 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction
) _wrap_TreeListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
8189 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister
, METH_VARARGS
, NULL
},
8190 { NULL
, NULL
, 0, NULL
}
8194 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8196 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
8197 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
8199 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
8200 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
8202 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
8203 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
8205 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
8206 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
8208 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x
) {
8209 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
8211 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
8212 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
8214 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
8215 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
8217 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
8218 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
8220 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x
) {
8221 return (void *)((wxPanel
*) ((wxEditableListBox
*) x
));
8223 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
8224 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
8226 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
8227 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
8229 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
8230 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
8232 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
8233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
8235 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
8236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
8238 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
8239 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
8241 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
8242 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
8244 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x
) {
8245 return (void *)((wxWindow
*) (wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
8247 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
8248 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
8250 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
8251 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
8253 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
8254 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
8256 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
8257 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
8259 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x
) {
8260 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeListCtrl
*) x
));
8262 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
8263 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
8265 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
8266 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
8268 static void *_p_wxControlTo_p_wxWindow(void *x
) {
8269 return (void *)((wxWindow
*) ((wxControl
*) x
));
8271 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
8272 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
8274 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
8275 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
8277 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
8278 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
8280 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
8281 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
8283 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
8284 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
8286 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
8287 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
8289 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
8290 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
8292 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
8293 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
8295 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
8296 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
8298 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
8299 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
8301 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
8302 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
8304 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
8305 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
8307 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
8308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
8310 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
8311 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
8313 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
8314 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
8316 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
8317 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
8319 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
8320 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
8322 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
8323 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
8325 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
8326 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
8328 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
8329 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
8331 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
8332 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
8334 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
8335 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
8337 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
8338 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
8340 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
8341 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
8343 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
8344 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
8346 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
8347 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
8349 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
8350 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
8352 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
8353 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
8355 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
8356 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
8358 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
8359 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
8361 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x
) {
8362 return (void *)((wxWindow
*) (wxPanel
*) ((wxEditableListBox
*) x
));
8364 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x
) {
8365 return (void *)((wxWindow
*) (wxControl
*) ((wxLEDNumberCtrl
*) x
));
8367 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
8368 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
8370 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
8371 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
8373 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
8374 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
8376 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
8377 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
8379 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
8380 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
8382 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
8383 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
8385 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
8386 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
8388 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
8389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
8391 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
8392 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
8394 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
8395 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
8397 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
8398 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
8400 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
8401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
8403 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
8404 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
8406 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
8407 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
8409 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
8410 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
8412 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
8413 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
8415 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
8416 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
8418 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
8419 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
8421 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
8422 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
8424 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
8425 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
8427 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
8428 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
8430 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
8431 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
8433 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
8434 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
8436 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
8437 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
8439 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
8440 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
8442 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x
) {
8443 return (void *)((wxWindow
*) ((wxDynamicSashWindow
*) x
));
8445 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x
) {
8446 return (void *)((wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
8448 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x
) {
8449 return (void *)((wxWindow
*) (wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
8451 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x
) {
8452 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
8454 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
8455 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
8457 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
8458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
8460 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
8461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
8463 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
8464 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
8466 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
8467 return (void *)((wxWindow
*) ((wxPanel
*) x
));
8469 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
8470 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
8472 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
8473 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
8475 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
8476 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
8478 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
8479 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
8481 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
8482 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
8484 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
8485 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
8487 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x
) {
8488 return (void *)((wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
8490 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
8491 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
8493 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x
) {
8494 return (void *)((wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
8496 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
8497 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
8499 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
8500 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
8502 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
8503 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
8505 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
8506 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
8508 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
8509 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
8511 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x
) {
8512 return (void *)((wxControl
*) ((wxLEDNumberCtrl
*) x
));
8514 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
8515 return (void *)((wxControl
*) ((wxPyControl
*) x
));
8517 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
8518 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
8520 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
8521 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
8523 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
8524 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
8526 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
8527 return (void *)((wxControl
*) ((wxComboBox
*) x
));
8529 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x
) {
8530 return (void *)((wxControl
*) ((wxPyTreeListCtrl
*) x
));
8532 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
8533 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
8535 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
8536 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
8538 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
8539 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
8541 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
8542 return (void *)((wxControl
*) ((wxGauge
*) x
));
8544 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
8545 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
8547 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
8548 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
8550 static void *_p_wxListbookTo_p_wxControl(void *x
) {
8551 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
8553 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
8554 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
8556 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x
) {
8557 return (void *)((wxControl
*) (wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
8559 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
8560 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
8562 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
8563 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
8565 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
8566 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
8568 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
8569 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
8571 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
8572 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
8574 static void *_p_wxListViewTo_p_wxControl(void *x
) {
8575 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
8577 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
8578 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
8580 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
8581 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
8583 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
8584 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
8586 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
8587 return (void *)((wxControl
*) ((wxStaticText
*) x
));
8589 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
8590 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
8592 static void *_p_wxSliderTo_p_wxControl(void *x
) {
8593 return (void *)((wxControl
*) ((wxSlider
*) x
));
8595 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
8596 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
8598 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
8599 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
8601 static void *_p_wxButtonTo_p_wxControl(void *x
) {
8602 return (void *)((wxControl
*) ((wxButton
*) x
));
8604 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
8605 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
8607 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
8608 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
8610 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
8611 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
8613 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
8614 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
8616 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
8617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
8619 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
8620 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
8622 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
8623 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
8625 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
8626 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
8628 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
8629 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
8631 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
8632 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
8634 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
8635 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
8637 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
8638 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
8640 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
8641 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
8643 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
8644 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
8646 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
8647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
8649 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
8650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
8652 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
8653 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
8655 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
8656 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
8658 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
8659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
8661 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
8662 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
8664 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
8665 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
8667 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x
) {
8668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
8670 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x
) {
8671 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
8673 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
8674 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
8676 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
8677 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
8679 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
8680 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
8682 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
8683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
8685 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
8686 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
8688 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
8689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
8691 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
8692 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
8694 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
8695 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
8697 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
8698 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
8700 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
8701 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
8703 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
8704 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
8706 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
8707 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
8709 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
8710 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
8712 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
8713 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
8715 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
8716 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
8718 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
8719 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
8721 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
8722 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
8724 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
8725 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
8727 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
8728 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
8730 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
8731 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
8733 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
8734 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
8736 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
8737 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
8739 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
8740 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
8742 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
8743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
8745 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
8746 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
8748 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
8749 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
8751 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
8752 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
8754 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
8755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
8757 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
8758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
8760 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
8761 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
8763 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
8764 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
8766 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
8767 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
8769 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
8770 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
8772 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
8773 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
8775 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
8776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
8778 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
8779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
8781 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
8782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
8784 static void *_p_wxEventTo_p_wxObject(void *x
) {
8785 return (void *)((wxObject
*) ((wxEvent
*) x
));
8787 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
8788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
8790 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
8791 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
8793 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
8794 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
8796 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
8797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
8799 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
8800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
8802 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
8803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
8805 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
8806 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
8808 static void *_p_wxImageTo_p_wxObject(void *x
) {
8809 return (void *)((wxObject
*) ((wxImage
*) x
));
8811 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
8812 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
8814 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
8815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
8817 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
8818 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
8820 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
8821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
8823 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
8824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
8826 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
8827 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
8829 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
8830 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
8832 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
8833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
8835 static void *_p_wxListItemTo_p_wxObject(void *x
) {
8836 return (void *)((wxObject
*) ((wxListItem
*) x
));
8838 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
8839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
8841 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
8842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
8844 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
8845 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
8847 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
8848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
8850 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x
) {
8851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
8853 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
8854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
8856 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
8857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
8859 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
8860 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
8862 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
8863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
8865 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
8866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
8868 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
8869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
8871 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
8872 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
8874 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
8875 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
8877 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
8878 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
8880 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
8881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
8883 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
8884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
8886 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
8887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
8889 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
8890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
8892 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
8893 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
8895 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
8896 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
8898 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
8899 return (void *)((wxObject
*) ((wxPrinter
*) x
));
8901 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
8902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
8904 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
8905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
8907 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
8908 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
8910 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
8911 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
8913 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
8914 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
8916 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x
) {
8917 return (void *)((wxObject
*) ((wxTreeListColumnInfo
*) x
));
8919 static void *_p_wxControlTo_p_wxObject(void *x
) {
8920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
8922 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
8923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
8925 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
8926 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
8928 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
8929 return (void *)((wxObject
*) ((wxColourData
*) x
));
8931 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
8932 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
8934 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
8935 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
8937 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
8938 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
8940 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
8941 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
8943 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
8944 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
8946 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
8947 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
8949 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
8950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
8952 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
8953 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
8955 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
8956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
8958 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
8959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
8961 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
8962 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
8964 static void *_p_wxListEventTo_p_wxObject(void *x
) {
8965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
8967 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x
) {
8968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
8970 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
8971 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
8973 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
8974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
8976 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
8977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
8979 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
8980 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
8982 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
8983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
8985 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
8986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
8988 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
8989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
8991 static void *_p_wxButtonTo_p_wxObject(void *x
) {
8992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
8994 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
8995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
8997 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
8998 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
9000 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
9001 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
9003 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
9004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
9006 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
9007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
9009 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
9010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
9012 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
9013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
9015 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
9016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
9018 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
9019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
9021 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
9022 return (void *)((wxObject
*) ((wxPrintData
*) x
));
9024 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
9025 return (void *)((wxObject
*) ((wxFontData
*) x
));
9027 static void *_p_wxEditableListBoxTo_p_wxObject(void *x
) {
9028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
9030 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
9031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
9033 static void *_p_wxListbookTo_p_wxObject(void *x
) {
9034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
9036 static void *_p_wxFrameTo_p_wxObject(void *x
) {
9037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
9039 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
9040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
9042 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
9043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
9045 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
9046 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
9048 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
9049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
9051 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
9052 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
9054 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
9055 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
9057 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
9058 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
9060 static void *_p_wxListViewTo_p_wxObject(void *x
) {
9061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
9063 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
9064 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
9066 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
9067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
9069 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
9070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
9072 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x
) {
9073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
9075 static void *_p_wxSizerTo_p_wxObject(void *x
) {
9076 return (void *)((wxObject
*) ((wxSizer
*) x
));
9078 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
9079 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
9081 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
9082 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
9084 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
9085 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
9087 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
9088 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
9090 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
9091 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
9093 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
9094 return (void *)((wxObject
*) ((wxFSFile
*) x
));
9096 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
9097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
9099 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
9100 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
9102 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
9103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
9105 static void *_p_wxMenuTo_p_wxObject(void *x
) {
9106 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
9108 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
9109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
9111 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
9112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
9114 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
9115 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
9117 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
9118 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
9120 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
9121 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
9123 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
9124 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
9126 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
9127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
9129 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
9130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
9132 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
9133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
9135 static void *_p_wxDialogTo_p_wxObject(void *x
) {
9136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
9138 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
9139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
9141 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
9142 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
9144 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
9145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
9147 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x
) {
9148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
9150 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
9151 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
9153 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
9154 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
9156 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
9157 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
9159 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
9160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
9162 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
9163 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
9165 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
9166 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
9168 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
9169 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
9171 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
9172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
9174 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
9175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
9177 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
9178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
9180 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
9181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
9183 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
9184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
9186 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
9187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
9189 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
9190 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
9192 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
9193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
9195 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
9196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
9198 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
9199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
9201 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
9202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
9204 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
9205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
9207 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
9208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
9210 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
9211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
9213 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
9214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
9216 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
9217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
9219 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
9220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
9222 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
9223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
9225 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
9226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
9228 static void *_p_wxWindowTo_p_wxObject(void *x
) {
9229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
9231 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x
) {
9232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxDynamicSashWindow
*) x
));
9234 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x
) {
9235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
9237 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x
) {
9238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
9240 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x
) {
9241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
9243 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
9244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
9246 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
9247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
9249 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
9250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
9252 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
9253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
9255 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
9256 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
9258 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
9259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
9261 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
9262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
9264 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
9265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
9267 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
9268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
9270 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
9271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
9273 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
9274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
9276 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
9277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
9279 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
9280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
9282 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
9283 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
9285 static void *_p_wxSliderTo_p_wxObject(void *x
) {
9286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
9288 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
9289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
9291 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
9292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
9294 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
9295 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
9297 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
9298 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
9300 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
9301 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
9303 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
9304 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
9306 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
9307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
9309 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
9310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
9312 static void *_p_wxPanelTo_p_wxObject(void *x
) {
9313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
9315 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
9316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
9318 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
9319 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
9321 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
9322 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
9324 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
9325 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
9327 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
9328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
9330 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x
) {
9331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
9333 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
9334 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
9336 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
9337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
9339 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
9340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
9342 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
9343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
9345 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
9346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
9348 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
9349 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
9351 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
9352 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
9354 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
9355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
9357 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
9358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
9360 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
9361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
9363 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
9364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
9366 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
9367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
9369 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
9370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
9372 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x
) {
9373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
9375 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
9376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
9378 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
9379 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
9381 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
9382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
9384 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
9385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
9387 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
9388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
9390 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x
) {
9391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
9393 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
9394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
9396 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
9397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
9399 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
9400 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
9402 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
9403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
9405 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
9406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
9408 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
9409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
9411 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
9412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
9414 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
9415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
9417 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
9418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
9420 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
9421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
9423 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
9424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
9426 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
9427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
9429 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
9430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
9432 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
9433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
9435 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
9436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
9438 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
9439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
9441 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
9442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
9444 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
9445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
9447 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
9448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
9450 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
9451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
9453 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
9454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
9456 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
9457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
9459 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
9460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
9462 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
9463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
9465 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
9466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
9468 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
9469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
9471 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
9472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
9474 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
9475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
9477 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
9478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
9480 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
9481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
9483 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
9484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
9486 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
9487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
9489 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
9490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
9492 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x
) {
9493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
9495 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x
) {
9496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
9498 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
9499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
9501 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
9502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
9504 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
9505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
9507 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
9508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
9510 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
9511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
9513 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
9514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
9516 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
9517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
9519 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
9520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
9522 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
9523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
9525 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
9526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
9528 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
9529 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
9531 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
9532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
9534 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
9535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
9537 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
9538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
9540 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
9541 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
9543 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
9544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
9546 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
9547 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
9549 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
9550 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
9552 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
9553 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
9555 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
9556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
9558 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
9559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
9561 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
9562 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
9564 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
9565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
9567 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
9568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
9570 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
9571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
9573 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
9574 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
9576 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
9577 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
9579 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x
) {
9580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxDynamicSashWindow
*) x
));
9582 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x
) {
9583 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
9585 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x
) {
9586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
9588 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x
) {
9589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
9591 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
9592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
9594 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
9595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
9597 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
9598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
9600 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
9601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
9603 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
9604 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
9606 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
9607 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
9609 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
9610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
9612 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
9613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
9615 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
9616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
9618 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
9619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
9621 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
9622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
9624 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
9625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
9627 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
9628 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
9630 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
9631 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
9633 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x
) {
9634 return (void *)((wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
9636 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
9637 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
9639 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
9640 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
9642 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
9643 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
9645 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
9646 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
9648 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
9649 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
9651 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
9652 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
9654 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
9655 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
9657 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
9658 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
9660 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
9661 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
9663 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
9664 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
9666 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
9667 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
9669 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
9670 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
9672 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
9673 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
9675 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
9676 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
9678 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x
) {
9679 return (void *)((wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
9681 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
9682 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
9684 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
9685 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
9687 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
9688 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
9690 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
9691 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
9693 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
9694 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
9696 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x
) {
9697 return (void *)((wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
9699 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
9700 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
9702 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
9703 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
9705 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9706 static swig_type_info _swigt__p_wxTreeListColumnInfo
[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9707 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}};
9708 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}};
9709 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9710 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}};
9711 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_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_wxEditableListBox", _p_wxEditableListBoxTo_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},{0, 0, 0, 0, 0, 0, 0}};
9712 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent
[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9713 static swig_type_info _swigt__p_wxDynamicSashSplitEvent
[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9714 static swig_type_info _swigt__p_wxLEDNumberCtrl
[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9715 static swig_type_info _swigt__p_wxSplitterScrolledWindow
[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9716 static swig_type_info _swigt__p_wxThinSplitterWindow
[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9717 static swig_type_info _swigt__p_wxPyTreeCompanionWindow
[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9718 static swig_type_info _swigt__p_wxDynamicSashWindow
[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9719 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_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_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_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_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9720 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9721 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9722 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9723 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9724 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9725 static swig_type_info _swigt__p_wxPyTreeListCtrl
[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9726 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_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_wxSpinEvent", _p_wxSpinEventTo_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}};
9727 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_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},{"_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_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_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_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_wxFSFile", _p_wxFSFileTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_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_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_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_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_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9728 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9729 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}};
9730 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}};
9731 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}};
9732 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_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_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9733 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl
[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9734 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9735 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9736 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}};
9737 static swig_type_info _swigt__p_wxEditableListBox
[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9738 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}};
9739 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}};
9740 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9741 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9742 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9743 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}};
9744 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}};
9745 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
9747 static swig_type_info
*swig_types_initial
[] = {
9749 _swigt__p_wxTreeListColumnInfo
,
9750 _swigt__p_form_ops_t
,
9751 _swigt__p_wxDuplexMode
,
9752 _swigt__p_wxValidator
,
9755 _swigt__p_wxDynamicSashUnifyEvent
,
9756 _swigt__p_wxDynamicSashSplitEvent
,
9757 _swigt__p_wxLEDNumberCtrl
,
9758 _swigt__p_wxSplitterScrolledWindow
,
9759 _swigt__p_wxThinSplitterWindow
,
9760 _swigt__p_wxPyTreeCompanionWindow
,
9761 _swigt__p_wxDynamicSashWindow
,
9763 _swigt__p_wxSplitterWindow
,
9764 _swigt__p_wxScrolledWindow
,
9766 _swigt__p_wxControl
,
9767 _swigt__p_wxPyListCtrl
,
9768 _swigt__p_wxPyTreeListCtrl
,
9771 _swigt__p_wxScrollBar
,
9772 _swigt__p_wxPaperSize
,
9773 _swigt__p_unsigned_int
,
9774 _swigt__unsigned_int
,
9775 _swigt__p_wxEvtHandler
,
9776 _swigt__p_wxRemotelyScrolledTreeCtrl
,
9777 _swigt__p_wxPyTreeCtrl
,
9778 _swigt__p_wxImageList
,
9779 _swigt__p_unsigned_char
,
9780 _swigt__p_wxEditableListBox
,
9782 _swigt__std__ptrdiff_t
,
9783 _swigt__p_wxArrayString
,
9784 _swigt__p_wxCommandEvent
,
9785 _swigt__p_wxTreeItemId
,
9787 _swigt__p_unsigned_long
,
9788 _swigt__p_wxPyTreeItemData
,
9793 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
9795 static swig_const_info swig_const_table
[] = {
9796 {0, 0, 0, 0.0, 0, 0}};
9807 /* Python-specific SWIG API */
9808 #define SWIG_newvarlink() SWIG_Python_newvarlink()
9809 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
9810 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
9812 /* -----------------------------------------------------------------------------
9813 * global variable support code.
9814 * ----------------------------------------------------------------------------- */
9816 typedef struct swig_globalvar
{
9817 char *name
; /* Name of global variable */
9818 PyObject
*(*get_attr
)(); /* Return the current value */
9819 int (*set_attr
)(PyObject
*); /* Set the value */
9820 struct swig_globalvar
*next
;
9823 typedef struct swig_varlinkobject
{
9825 swig_globalvar
*vars
;
9826 } swig_varlinkobject
;
9829 swig_varlink_repr(swig_varlinkobject
*v
) {
9831 return PyString_FromString("<Swig global variables>");
9835 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
9836 swig_globalvar
*var
;
9838 fprintf(fp
,"Swig global variables { ");
9839 for (var
= v
->vars
; var
; var
=var
->next
) {
9840 fprintf(fp
,"%s", var
->name
);
9841 if (var
->next
) fprintf(fp
,", ");
9848 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
9849 swig_globalvar
*var
= v
->vars
;
9851 if (strcmp(var
->name
,n
) == 0) {
9852 return (*var
->get_attr
)();
9856 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
9861 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
9862 swig_globalvar
*var
= v
->vars
;
9864 if (strcmp(var
->name
,n
) == 0) {
9865 return (*var
->set_attr
)(p
);
9869 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
9873 static PyTypeObject varlinktype
= {
9874 PyObject_HEAD_INIT(0)
9875 0, /* Number of items in variable part (ob_size) */
9876 (char *)"swigvarlink", /* Type name (tp_name) */
9877 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
9878 0, /* Itemsize (tp_itemsize) */
9879 0, /* Deallocator (tp_dealloc) */
9880 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
9881 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
9882 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
9884 (reprfunc
) swig_varlink_repr
, /* tp_repr */
9885 0, /* tp_as_number */
9886 0, /* tp_as_sequence */
9887 0, /* tp_as_mapping */
9891 0, /* tp_getattro */
9892 0, /* tp_setattro */
9893 0, /* tp_as_buffer */
9896 #if PY_VERSION_HEX >= 0x02000000
9897 0, /* tp_traverse */
9900 #if PY_VERSION_HEX >= 0x02010000
9901 0, /* tp_richcompare */
9902 0, /* tp_weaklistoffset */
9904 #if PY_VERSION_HEX >= 0x02020000
9905 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
9907 #if PY_VERSION_HEX >= 0x02030000
9911 0,0,0,0 /* tp_alloc -> tp_next */
9915 /* Create a variable linking object for use later */
9917 SWIG_Python_newvarlink(void) {
9918 swig_varlinkobject
*result
= 0;
9919 result
= PyMem_NEW(swig_varlinkobject
,1);
9920 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
9921 result
->ob_type
= &varlinktype
;
9923 result
->ob_refcnt
= 0;
9924 Py_XINCREF((PyObject
*) result
);
9925 return ((PyObject
*) result
);
9929 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
9930 swig_varlinkobject
*v
;
9932 v
= (swig_varlinkobject
*) p
;
9933 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
9934 gv
->name
= (char *) malloc(strlen(name
)+1);
9935 strcpy(gv
->name
,name
);
9936 gv
->get_attr
= get_attr
;
9937 gv
->set_attr
= set_attr
;
9942 /* -----------------------------------------------------------------------------
9943 * constants/methods manipulation
9944 * ----------------------------------------------------------------------------- */
9946 /* Install Constants */
9948 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
9951 for (i
= 0; constants
[i
].type
; i
++) {
9952 switch(constants
[i
].type
) {
9954 obj
= PyInt_FromLong(constants
[i
].lvalue
);
9957 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
9959 case SWIG_PY_STRING
:
9960 if (constants
[i
].pvalue
) {
9961 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
9967 case SWIG_PY_POINTER
:
9968 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
9970 case SWIG_PY_BINARY
:
9971 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
9978 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
9984 /* -----------------------------------------------------------------------------*/
9985 /* Fix SwigMethods to carry the callback ptrs when needed */
9986 /* -----------------------------------------------------------------------------*/
9989 SWIG_Python_FixMethods(PyMethodDef
*methods
,
9990 swig_const_info
*const_table
,
9991 swig_type_info
**types
,
9992 swig_type_info
**types_initial
) {
9994 for (i
= 0; methods
[i
].ml_name
; ++i
) {
9995 char *c
= methods
[i
].ml_doc
;
9996 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
9998 swig_const_info
*ci
= 0;
9999 char *name
= c
+ 10;
10000 for (j
= 0; const_table
[j
].type
; j
++) {
10001 if (strncmp(const_table
[j
].name
, name
,
10002 strlen(const_table
[j
].name
)) == 0) {
10003 ci
= &(const_table
[j
]);
10008 size_t shift
= (ci
->ptype
) - types
;
10009 swig_type_info
*ty
= types_initial
[shift
];
10010 size_t ldoc
= (c
- methods
[i
].ml_doc
);
10011 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
10012 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
10014 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
10015 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
10017 strncpy(buff
, "swig_ptr: ", 10);
10019 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
10020 methods
[i
].ml_doc
= ndoc
;
10026 /* -----------------------------------------------------------------------------*
10027 * Initialize type list
10028 * -----------------------------------------------------------------------------*/
10030 #if PY_MAJOR_VERSION < 2
10031 /* PyModule_AddObject function was introduced in Python 2.0. The following function
10032 is copied out of Python/modsupport.c in python version 2.3.4 */
10034 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
10037 if (!PyModule_Check(m
)) {
10038 PyErr_SetString(PyExc_TypeError
,
10039 "PyModule_AddObject() needs module as first arg");
10043 PyErr_SetString(PyExc_TypeError
,
10044 "PyModule_AddObject() needs non-NULL value");
10048 dict
= PyModule_GetDict(m
);
10049 if (dict
== NULL
) {
10050 /* Internal error -- modules must have a dict! */
10051 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
10052 PyModule_GetName(m
));
10055 if (PyDict_SetItemString(dict
, name
, o
))
10062 static swig_type_info
**
10063 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
10064 static PyMethodDef swig_empty_runtime_method_table
[] = {
10066 NULL
, NULL
, 0, NULL
10070 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
10071 swig_empty_runtime_method_table
);
10072 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
10073 if (pointer
&& module) {
10074 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
10076 return type_list_handle
;
10079 static swig_type_info
**
10080 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
10081 swig_type_info
**type_pointer
;
10083 /* first check if module already created */
10084 type_pointer
= SWIG_Python_GetTypeListHandle();
10085 if (type_pointer
) {
10086 return type_pointer
;
10088 /* create a new module and variable */
10089 return SWIG_Python_SetTypeListHandle(type_list_handle
);
10097 /* -----------------------------------------------------------------------------*
10098 * Partial Init method
10099 * -----------------------------------------------------------------------------*/
10101 #ifdef SWIG_LINK_RUNTIME
10105 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
10111 SWIGEXPORT(void) SWIG_init(void) {
10112 static PyObject
*SWIG_globals
= 0;
10113 static int typeinit
= 0;
10116 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
10118 /* Fix SwigMethods to carry the callback ptrs when needed */
10119 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
10121 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
10122 d
= PyModule_GetDict(m
);
10125 #ifdef SWIG_LINK_RUNTIME
10126 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
10128 # ifndef SWIG_STATIC_RUNTIME
10129 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
10132 for (i
= 0; swig_types_initial
[i
]; i
++) {
10133 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
10137 SWIG_InstallConstants(d
,swig_const_table
);
10139 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
10140 SWIG_addvarlink(SWIG_globals
,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get
, _wrap_DynamicSashNameStr_set
);
10141 SWIG_addvarlink(SWIG_globals
,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get
, _wrap_EditableListBoxNameStr_set
);
10142 SWIG_addvarlink(SWIG_globals
,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get
, _wrap_TreeListCtrlNameStr_set
);
10144 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", SWIG_From_int((int)(wxEVT_DYNAMIC_SASH_SPLIT
)));
10147 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", SWIG_From_int((int)(wxEVT_DYNAMIC_SASH_UNIFY
)));
10150 PyDict_SetItemString(d
,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS
)));
10153 PyDict_SetItemString(d
,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER
)));
10156 PyDict_SetItemString(d
,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW
)));
10159 PyDict_SetItemString(d
,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT
)));
10162 PyDict_SetItemString(d
,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE
)));
10165 PyDict_SetItemString(d
,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT
)));
10168 PyDict_SetItemString(d
,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT
)));
10171 PyDict_SetItemString(d
,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER
)));
10174 PyDict_SetItemString(d
,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK
)));
10177 PyDict_SetItemString(d
,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED
)));
10180 PyDict_SetItemString(d
,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT
)));
10183 PyDict_SetItemString(d
,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT
)));
10186 PyDict_SetItemString(d
,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER
)));
10189 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN
)));
10192 PyDict_SetItemString(d
,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE
)));
10195 PyDict_SetItemString(d
,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL
)));
10198 PyDict_SetItemString(d
,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL
)));
10201 PyDict_SetItemString(d
,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL
)));
10204 PyDict_SetItemString(d
,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE
)));
10207 PyDict_SetItemString(d
,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC
)));
10211 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
10212 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");