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 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_float swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2487 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxChoice swig_types[23]
2490 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2491 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourData swig_types[29]
2496 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508 #define SWIGTYPE_p_wxDialog swig_types[42]
2509 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2510 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvent swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2524 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2527 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532 #define SWIGTYPE_p_wxFont swig_types[66]
2533 #define SWIGTYPE_p_wxFontData swig_types[67]
2534 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2535 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537 #define SWIGTYPE_p_wxFrame swig_types[71]
2538 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540 #define SWIGTYPE_p_wxGauge swig_types[74]
2541 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2545 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2549 #define SWIGTYPE_p_wxIcon swig_types[83]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552 #define SWIGTYPE_p_wxImage swig_types[86]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2554 #define SWIGTYPE_p_wxImageList swig_types[88]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562 #define SWIGTYPE_p_wxListBox swig_types[96]
2563 #define SWIGTYPE_p_wxListEvent swig_types[97]
2564 #define SWIGTYPE_p_wxListItem swig_types[98]
2565 #define SWIGTYPE_p_wxListView swig_types[99]
2566 #define SWIGTYPE_p_wxListbook swig_types[100]
2567 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572 #define SWIGTYPE_p_wxMenu swig_types[106]
2573 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2574 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2576 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxNotebook swig_types[119]
2586 #define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589 #define SWIGTYPE_p_wxObject swig_types[123]
2590 #define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxPanel swig_types[131]
2598 #define SWIGTYPE_p_wxPaperSize swig_types[132]
2599 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600 #define SWIGTYPE_p_wxPickerBase swig_types[134]
2601 #define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602 #define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603 #define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604 #define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605 #define SWIGTYPE_p_wxPrintData swig_types[139]
2606 #define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608 #define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609 #define SWIGTYPE_p_wxPrinter swig_types[143]
2610 #define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611 #define SWIGTYPE_p_wxPyApp swig_types[145]
2612 #define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613 #define SWIGTYPE_p_wxPyControl swig_types[147]
2614 #define SWIGTYPE_p_wxPyEvent swig_types[148]
2615 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616 #define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617 #define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618 #define SWIGTYPE_p_wxPyPanel swig_types[152]
2619 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622 #define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623 #define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625 #define SWIGTYPE_p_wxPySizer swig_types[159]
2626 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631 #define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633 #define SWIGTYPE_p_wxPyValidator swig_types[167]
2634 #define SWIGTYPE_p_wxPyWindow swig_types[168]
2635 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637 #define SWIGTYPE_p_wxRadioBox swig_types[171]
2638 #define SWIGTYPE_p_wxRadioButton swig_types[172]
2639 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640 #define SWIGTYPE_p_wxSashEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642 #define SWIGTYPE_p_wxSashWindow swig_types[176]
2643 #define SWIGTYPE_p_wxScrollBar swig_types[177]
2644 #define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645 #define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646 #define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647 #define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648 #define SWIGTYPE_p_wxShowEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650 #define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651 #define SWIGTYPE_p_wxSizer swig_types[185]
2652 #define SWIGTYPE_p_wxSizerItem swig_types[186]
2653 #define SWIGTYPE_p_wxSlider swig_types[187]
2654 #define SWIGTYPE_p_wxSpinButton swig_types[188]
2655 #define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656 #define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657 #define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659 #define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661 #define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662 #define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663 #define SWIGTYPE_p_wxStaticBox swig_types[197]
2664 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665 #define SWIGTYPE_p_wxStaticLine swig_types[199]
2666 #define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667 #define SWIGTYPE_p_wxStaticText swig_types[201]
2668 #define SWIGTYPE_p_wxStatusBar swig_types[202]
2669 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
2671 #define SWIGTYPE_p_wxTIFFHandler swig_types[205]
2672 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[206]
2673 #define SWIGTYPE_p_wxTextCtrl swig_types[207]
2674 #define SWIGTYPE_p_wxTextEntryDialog swig_types[208]
2675 #define SWIGTYPE_p_wxTextUrlEvent swig_types[209]
2676 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[210]
2677 #define SWIGTYPE_p_wxTipWindow swig_types[211]
2678 #define SWIGTYPE_p_wxToggleButton swig_types[212]
2679 #define SWIGTYPE_p_wxToolBar swig_types[213]
2680 #define SWIGTYPE_p_wxToolBarBase swig_types[214]
2681 #define SWIGTYPE_p_wxToolBarToolBase swig_types[215]
2682 #define SWIGTYPE_p_wxToolbook swig_types[216]
2683 #define SWIGTYPE_p_wxToolbookEvent swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxTreeEvent swig_types[219]
2686 #define SWIGTYPE_p_wxTreeItemId swig_types[220]
2687 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[221]
2688 #define SWIGTYPE_p_wxTreebook swig_types[222]
2689 #define SWIGTYPE_p_wxTreebookEvent swig_types[223]
2690 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[224]
2691 #define SWIGTYPE_p_wxValidator swig_types[225]
2692 #define SWIGTYPE_p_wxWindow swig_types[226]
2693 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[227]
2694 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228]
2695 #define SWIGTYPE_p_wxXPMHandler swig_types[229]
2696 static swig_type_info
*swig_types
[231];
2697 static swig_module_info swig_module
= {swig_types
, 230, 0, 0, 0, 0};
2698 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2699 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2701 /* -------- TYPES TABLE (END) -------- */
2703 #if (PY_VERSION_HEX <= 0x02000000)
2704 # if !defined(SWIG_PYTHON_CLASSIC)
2705 # error "This python version requires to use swig with the '-classic' option"
2708 #if (PY_VERSION_HEX <= 0x02020000)
2709 # error "This python version requires to use swig with the '-nomodern' option"
2711 #if (PY_VERSION_HEX <= 0x02020000)
2712 # error "This python version requires to use swig with the '-nomodernargs' option"
2715 # error "This python version requires to use swig with the '-nofastunpack' option"
2718 /*-----------------------------------------------
2719 @(target):= _gizmos.so
2720 ------------------------------------------------*/
2721 #define SWIG_init init_gizmos
2723 #define SWIG_name "_gizmos"
2725 #define SWIGVERSION 0x010329
2728 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2729 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2732 #include <stdexcept>
2736 class PyObject_ptr
{
2741 PyObject_ptr() :_obj(0)
2745 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2750 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2752 if (initial_ref
) Py_XINCREF(_obj
);
2755 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2757 Py_XINCREF(item
._obj
);
2768 operator PyObject
*() const
2773 PyObject
*operator->() const
2782 struct PyObject_var
: PyObject_ptr
{
2783 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2785 PyObject_var
& operator = (PyObject
* obj
)
2795 #include "wx/wxPython/wxPython.h"
2796 #include "wx/wxPython/pyclasses.h"
2798 #include <wx/gizmos/dynamicsash.h>
2799 #include <wx/gizmos/editlbox.h>
2800 #include <wx/gizmos/splittree.h>
2801 #include <wx/gizmos/ledctrl.h>
2802 #include <wx/gizmos/statpict.h>
2804 #include <wx/listctrl.h>
2805 #include <wx/treectrl.h>
2806 #include <wx/imaglist.h>
2809 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2810 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
2811 static const wxString
wxPyStaticPictureNameStr(wxStaticPictureNameStr
);
2812 static const wxString
wxPyEmptyString(wxEmptyString
);
2814 #define SWIG_From_long PyInt_FromLong
2817 SWIGINTERNINLINE PyObject
*
2818 SWIG_From_int (int value
)
2820 return SWIG_From_long (value
);
2826 # define LLONG_MIN LONG_LONG_MIN
2829 # define LLONG_MAX LONG_LONG_MAX
2832 # define ULLONG_MAX ULONG_LONG_MAX
2837 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2839 if (PyNumber_Check(obj
)) {
2840 if (val
) *val
= PyInt_AsLong(obj
);
2843 return SWIG_TypeError
;
2848 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2851 int res
= SWIG_AsVal_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< int >(v
);
2862 SWIGINTERN PyObject
*wxEditableListBox_GetStrings(wxEditableListBox
*self
){
2863 wxArrayString strings
;
2864 self
->GetStrings(strings
);
2865 return wxArrayString2PyList_helper(strings
);
2868 typedef wxTreeCtrl wxPyTreeCtrl
;
2871 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
2874 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
2875 const wxPoint
& pos
= wxDefaultPosition
,
2876 const wxSize
& size
= wxDefaultSize
,
2878 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
2881 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
2885 PyObject
* dcobj
= wxPyMake_wxObject(&dc
,false);
2886 PyObject
* idobj
= wxPyConstructObject((void*)&id
, wxT("wxTreeItemId"), false);
2887 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), false);
2888 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
2893 wxPyEndBlockThreads(blocked
);
2895 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
2903 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2905 if (obj
== Py_True
) {
2906 if (val
) *val
= true;
2908 } else if (obj
== Py_False
) {
2909 if (val
) *val
= false;
2913 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2914 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2920 #include "wx/treelistctrl.h"
2921 #include "wx/wxPython/pytree.h"
2924 static const wxString
wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2926 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_unsigned_SS_long (unsigned long value
)
2929 return (value
> LONG_MAX
) ?
2930 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2934 SWIGINTERNINLINE PyObject
*
2935 SWIG_From_size_t (size_t value
)
2937 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2942 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2945 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2946 return SWIG_TypeError
;
2949 *val
= (unsigned long)v
;
2954 SWIGINTERNINLINE
int
2955 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2958 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2959 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2963 // C++ version of Python aware control
2964 class wxPyTreeListCtrl
: public wxTreeListCtrl
{
2965 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl
);
2967 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2968 wxPyTreeListCtrl(wxWindow
*parent
, wxWindowID id
,
2972 const wxValidator
&validator
,
2973 const wxString
& name
) :
2974 wxTreeListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2976 virtual int OnCompareItems(const wxTreeItemId
& item1
,
2977 const wxTreeItemId
& item2
) {
2980 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2981 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2982 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), 0);
2983 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), 0);
2984 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2988 wxPyEndBlockThreads(blocked
);
2990 rval
= wxTreeListCtrl::OnCompareItems(item1
, item2
);
2994 virtual wxString
OnGetItemText( wxTreeItemData
* item
, long column
) const {
2997 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2998 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnGetItemText"))) {
3000 PyObject
* itemo
= wxPyConstructObject((void*)&item
, wxT("wxTreeItemId"), 0);
3001 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(Oi)", itemo
, column
));
3004 rval
= Py2wxString(ro
);
3008 wxPyEndBlockThreads(blocked
);
3010 rval
= wxTreeListCtrl::OnGetItemText(item
, column
);
3017 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl
, wxTreeListCtrl
)
3021 SWIGINTERNINLINE PyObject
*
3022 SWIG_From_unsigned_SS_int (unsigned int value
)
3024 return SWIG_From_unsigned_SS_long (value
);
3029 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3032 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3033 if (SWIG_IsOK(res
)) {
3034 if ((v
> UINT_MAX
)) {
3035 return SWIG_OverflowError
;
3037 if (val
) *val
= static_cast< unsigned int >(v
);
3043 SWIGINTERN wxString
wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1){
3044 if (column
< 0) column
= self
->GetMainColumn();
3045 return self
->GetItemText(item
, column
);
3047 SWIGINTERN
int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
3048 if (column
< 0) column
= self
->GetMainColumn();
3049 return self
->GetItemImage(item
, column
, which
);
3051 SWIGINTERN
void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxString
const &text
,int column
=-1){
3052 if (column
< 0) column
= self
->GetMainColumn();
3053 self
->SetItemText(item
, column
, text
);
3055 SWIGINTERN
void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int image
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
3056 if (column
< 0) column
= self
->GetMainColumn();
3057 self
->SetItemImage(item
, column
, image
, which
);
3059 SWIGINTERN wxPyTreeItemData
*wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3060 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3062 data
= new wxPyTreeItemData();
3063 data
->SetId(item
); // set the id
3064 self
->SetItemData(item
, data
);
3068 SWIGINTERN
void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3069 data
->SetId(item
); // set the id
3070 self
->SetItemData(item
, data
);
3072 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3073 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3075 data
= new wxPyTreeItemData();
3076 data
->SetId(item
); // set the id
3077 self
->SetItemData(item
, data
);
3079 return data
->GetData();
3081 SWIGINTERN
void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3082 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3084 data
= new wxPyTreeItemData(obj
);
3085 data
->SetId(item
); // set the id
3086 self
->SetItemData(item
, data
);
3090 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl
*self
){
3091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3092 PyObject
* rval
= PyList_New(0);
3093 wxArrayTreeItemIds array
;
3095 num
= self
->GetSelections(array
);
3096 for (x
=0; x
< num
; x
++) {
3097 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3098 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3099 PyList_Append(rval
, item
);
3102 wxPyEndBlockThreads(blocked
);
3105 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3107 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3108 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3109 PyObject
* tup
= PyTuple_New(2);
3110 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3111 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3112 wxPyEndBlockThreads(blocked
);
3115 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3116 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3117 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3118 PyObject
* tup
= PyTuple_New(2);
3119 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3120 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3121 wxPyEndBlockThreads(blocked
);
3124 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3126 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetLastChild(item
, cookie
));
3127 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3128 PyObject
* tup
= PyTuple_New(2);
3129 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3130 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3131 wxPyEndBlockThreads(blocked
);
3134 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3135 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetPrevChild(item
, cookie
));
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 PyObject
* tup
= PyTuple_New(2);
3138 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3139 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3140 wxPyEndBlockThreads(blocked
);
3143 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3145 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3146 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3147 wxRect
* r
= new wxRect(rect
);
3148 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
3149 wxPyEndBlockThreads(blocked
);
3156 SWIGINTERN
void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1){
3157 if (column
< 0) column
= self
->GetMainColumn();
3158 self
->EditLabel(item
, column
);
3165 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3167 if (PyNumber_Check(obj
)) {
3168 if (val
) *val
= PyFloat_AsDouble(obj
);
3171 return SWIG_TypeError
;
3176 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3179 int res
= SWIG_AsVal_double (obj
, &v
);
3180 if (SWIG_IsOK(res
)) {
3181 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3182 return SWIG_OverflowError
;
3184 if (val
) *val
= static_cast< float >(v
);
3191 #define SWIG_From_double PyFloat_FromDouble
3194 SWIGINTERNINLINE PyObject
*
3195 SWIG_From_float (float value
)
3197 return SWIG_From_double (value
);
3203 SWIGINTERN
int DynamicSashNameStr_set(PyObject
*) {
3204 SWIG_Error(SWIG_AttributeError
,"Variable DynamicSashNameStr is read-only.");
3209 SWIGINTERN PyObject
*DynamicSashNameStr_get(void) {
3210 PyObject
*pyobj
= 0;
3214 pyobj
= PyUnicode_FromWideChar((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
3216 pyobj
= PyString_FromStringAndSize((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
3223 SWIGINTERN
int EditableListBoxNameStr_set(PyObject
*) {
3224 SWIG_Error(SWIG_AttributeError
,"Variable EditableListBoxNameStr is read-only.");
3229 SWIGINTERN PyObject
*EditableListBoxNameStr_get(void) {
3230 PyObject
*pyobj
= 0;
3234 pyobj
= PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
3236 pyobj
= PyString_FromStringAndSize((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
3243 SWIGINTERN
int StaticPictureNameStr_set(PyObject
*) {
3244 SWIG_Error(SWIG_AttributeError
,"Variable StaticPictureNameStr is read-only.");
3249 SWIGINTERN PyObject
*StaticPictureNameStr_get(void) {
3250 PyObject
*pyobj
= 0;
3254 pyobj
= PyUnicode_FromWideChar((&wxPyStaticPictureNameStr
)->c_str(), (&wxPyStaticPictureNameStr
)->Len());
3256 pyobj
= PyString_FromStringAndSize((&wxPyStaticPictureNameStr
)->c_str(), (&wxPyStaticPictureNameStr
)->Len());
3263 SWIGINTERN PyObject
*_wrap_new_DynamicSashSplitEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
= 0;
3265 wxObject
*arg1
= (wxObject
*) 0 ;
3266 wxDynamicSashSplitEvent
*result
= 0 ;
3269 PyObject
* obj0
= 0 ;
3270 char * kwnames
[] = {
3271 (char *) "target", NULL
3274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashSplitEvent",kwnames
,&obj0
)) SWIG_fail
;
3275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
3276 if (!SWIG_IsOK(res1
)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3279 arg1
= reinterpret_cast< wxObject
* >(argp1
);
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxDynamicSashSplitEvent
*)new wxDynamicSashSplitEvent(arg1
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashSplitEvent
, SWIG_POINTER_NEW
| 0 );
3293 SWIGINTERN PyObject
*DynamicSashSplitEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3296 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent
, SWIG_NewClientData(obj
));
3297 return SWIG_Py_Void();
3300 SWIGINTERN PyObject
*DynamicSashSplitEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3301 return SWIG_Python_InitShadowInstance(args
);
3304 SWIGINTERN PyObject
*_wrap_new_DynamicSashUnifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
= 0;
3306 wxObject
*arg1
= (wxObject
*) 0 ;
3307 wxDynamicSashUnifyEvent
*result
= 0 ;
3310 PyObject
* obj0
= 0 ;
3311 char * kwnames
[] = {
3312 (char *) "target", NULL
3315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashUnifyEvent",kwnames
,&obj0
)) SWIG_fail
;
3316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
3317 if (!SWIG_IsOK(res1
)) {
3318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3320 arg1
= reinterpret_cast< wxObject
* >(argp1
);
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (wxDynamicSashUnifyEvent
*)new wxDynamicSashUnifyEvent(arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashUnifyEvent
, SWIG_POINTER_NEW
| 0 );
3334 SWIGINTERN PyObject
*DynamicSashUnifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3337 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent
, SWIG_NewClientData(obj
));
3338 return SWIG_Py_Void();
3341 SWIGINTERN PyObject
*DynamicSashUnifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3342 return SWIG_Python_InitShadowInstance(args
);
3345 SWIGINTERN PyObject
*_wrap_new_DynamicSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
= 0;
3347 wxWindow
*arg1
= (wxWindow
*) 0 ;
3348 int arg2
= (int) -1 ;
3349 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3350 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3351 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3352 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3353 long arg5
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
3354 wxString
const &arg6_defvalue
= wxPyDynamicSashNameStr
;
3355 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3356 wxDynamicSashWindow
*result
= 0 ;
3365 bool temp6
= false ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 PyObject
* obj2
= 0 ;
3369 PyObject
* obj3
= 0 ;
3370 PyObject
* obj4
= 0 ;
3371 PyObject
* obj5
= 0 ;
3372 char * kwnames
[] = {
3373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3378 if (!SWIG_IsOK(res1
)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3384 if (!SWIG_IsOK(ecode2
)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3387 arg2
= static_cast< int >(val2
);
3392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3398 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3402 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3403 if (!SWIG_IsOK(ecode5
)) {
3404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3406 arg5
= static_cast< long >(val5
);
3410 arg6
= wxString_in_helper(obj5
);
3411 if (arg6
== NULL
) SWIG_fail
;
3416 if (!wxPyCheckForApp()) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_NEW
| 0 );
3437 SWIGINTERN PyObject
*_wrap_new_PreDynamicSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3438 PyObject
*resultobj
= 0;
3439 wxDynamicSashWindow
*result
= 0 ;
3441 if (!SWIG_Python_UnpackTuple(args
,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail
;
3443 if (!wxPyCheckForApp()) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_OWN
| 0 );
3456 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
= 0;
3458 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3459 wxWindow
*arg2
= (wxWindow
*) 0 ;
3460 int arg3
= (int) -1 ;
3461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3465 long arg6
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
3466 wxString
const &arg7_defvalue
= wxPyDynamicSashNameStr
;
3467 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3479 bool temp7
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 char * kwnames
[] = {
3488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3493 if (!SWIG_IsOK(res1
)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3496 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3498 if (!SWIG_IsOK(res2
)) {
3499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3504 if (!SWIG_IsOK(ecode3
)) {
3505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3507 arg3
= static_cast< int >(val3
);
3512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3522 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3523 if (!SWIG_IsOK(ecode6
)) {
3524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3526 arg6
= static_cast< long >(val6
);
3530 arg7
= wxString_in_helper(obj6
);
3531 if (arg7
== NULL
) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3558 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_GetHScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
= 0;
3560 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3561 wxWindow
*arg2
= (wxWindow
*) 0 ;
3562 wxScrollBar
*result
= 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3569 char * kwnames
[] = {
3570 (char *) "self",(char *) "child", NULL
3573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3575 if (!SWIG_IsOK(res1
)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3578 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3580 if (!SWIG_IsOK(res2
)) {
3581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetHScrollBar((wxWindow
const *)arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, 0 | 0 );
3597 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_GetVScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 wxScrollBar
*result
= 0 ;
3606 PyObject
* obj0
= 0 ;
3607 PyObject
* obj1
= 0 ;
3608 char * kwnames
[] = {
3609 (char *) "self",(char *) "child", NULL
3612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3614 if (!SWIG_IsOK(res1
)) {
3615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3617 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3619 if (!SWIG_IsOK(res2
)) {
3620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetVScrollBar((wxWindow
const *)arg2
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, 0 | 0 );
3636 SWIGINTERN PyObject
*DynamicSashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow
, SWIG_NewClientData(obj
));
3640 return SWIG_Py_Void();
3643 SWIGINTERN PyObject
*DynamicSashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3644 return SWIG_Python_InitShadowInstance(args
);
3647 SWIGINTERN PyObject
*_wrap_new_EditableListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
= 0;
3649 wxWindow
*arg1
= (wxWindow
*) 0 ;
3650 int arg2
= (int) -1 ;
3651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3657 long arg6
= (long) wxEL_ALLOW_NEW
|wxEL_ALLOW_EDIT
|wxEL_ALLOW_DELETE
;
3658 wxString
const &arg7_defvalue
= wxPyEditableListBoxNameStr
;
3659 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3660 wxEditableListBox
*result
= 0 ;
3665 bool temp3
= false ;
3670 bool temp7
= false ;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3673 PyObject
* obj2
= 0 ;
3674 PyObject
* obj3
= 0 ;
3675 PyObject
* obj4
= 0 ;
3676 PyObject
* obj5
= 0 ;
3677 PyObject
* obj6
= 0 ;
3678 char * kwnames
[] = {
3679 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_EditableListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3684 if (!SWIG_IsOK(res1
)) {
3685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3690 if (!SWIG_IsOK(ecode2
)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3693 arg2
= static_cast< int >(val2
);
3697 arg3
= wxString_in_helper(obj2
);
3698 if (arg3
== NULL
) SWIG_fail
;
3705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3715 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3716 if (!SWIG_IsOK(ecode6
)) {
3717 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3719 arg6
= static_cast< long >(val6
);
3723 arg7
= wxString_in_helper(obj6
);
3724 if (arg7
== NULL
) SWIG_fail
;
3729 if (!wxPyCheckForApp()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (wxEditableListBox
*)new wxEditableListBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_NEW
| 0 );
3758 SWIGINTERN PyObject
*_wrap_EditableListBox_SetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3761 wxArrayString
*arg2
= 0 ;
3764 bool temp2
= false ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3767 char * kwnames
[] = {
3768 (char *) "self",(char *) "strings", NULL
3771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EditableListBox_SetStrings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3776 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3778 if (! PySequence_Check(obj1
)) {
3779 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3782 arg2
= new wxArrayString
;
3784 int i
, len
=PySequence_Length(obj1
);
3785 for (i
=0; i
<len
; i
++) {
3786 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3787 wxString
* s
= wxString_in_helper(item
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetStrings((wxArrayString
const &)*arg2
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_Py_Void();
3802 if (temp2
) delete arg2
;
3807 if (temp2
) delete arg2
;
3813 SWIGINTERN PyObject
*_wrap_EditableListBox_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 PyObject
*resultobj
= 0;
3815 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3816 PyObject
*result
= 0 ;
3819 PyObject
*swig_obj
[1] ;
3821 if (!args
) SWIG_fail
;
3823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3824 if (!SWIG_IsOK(res1
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3827 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (PyObject
*)wxEditableListBox_GetStrings(arg1
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3841 SWIGINTERN PyObject
*_wrap_EditableListBox_GetListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3844 wxPyListCtrl
*result
= 0 ;
3847 PyObject
*swig_obj
[1] ;
3849 if (!args
) SWIG_fail
;
3851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3852 if (!SWIG_IsOK(res1
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3855 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxPyListCtrl
*)(arg1
)->GetListCtrl();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
3869 SWIGINTERN PyObject
*_wrap_EditableListBox_GetDelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3870 PyObject
*resultobj
= 0;
3871 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3872 wxBitmapButton
*result
= 0 ;
3875 PyObject
*swig_obj
[1] ;
3877 if (!args
) SWIG_fail
;
3879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3880 if (!SWIG_IsOK(res1
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3883 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (wxBitmapButton
*)(arg1
)->GetDelButton();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= wxPyMake_wxObject(result
, 0);
3899 SWIGINTERN PyObject
*_wrap_EditableListBox_GetNewButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3900 PyObject
*resultobj
= 0;
3901 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3902 wxBitmapButton
*result
= 0 ;
3905 PyObject
*swig_obj
[1] ;
3907 if (!args
) SWIG_fail
;
3909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3910 if (!SWIG_IsOK(res1
)) {
3911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3913 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (wxBitmapButton
*)(arg1
)->GetNewButton();
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= wxPyMake_wxObject(result
, 0);
3929 SWIGINTERN PyObject
*_wrap_EditableListBox_GetUpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3930 PyObject
*resultobj
= 0;
3931 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3932 wxBitmapButton
*result
= 0 ;
3935 PyObject
*swig_obj
[1] ;
3937 if (!args
) SWIG_fail
;
3939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3940 if (!SWIG_IsOK(res1
)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3943 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (wxBitmapButton
*)(arg1
)->GetUpButton();
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= wxPyMake_wxObject(result
, 0);
3959 SWIGINTERN PyObject
*_wrap_EditableListBox_GetDownButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3960 PyObject
*resultobj
= 0;
3961 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3962 wxBitmapButton
*result
= 0 ;
3965 PyObject
*swig_obj
[1] ;
3967 if (!args
) SWIG_fail
;
3969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3970 if (!SWIG_IsOK(res1
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3973 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 result
= (wxBitmapButton
*)(arg1
)->GetDownButton();
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= wxPyMake_wxObject(result
, 0);
3989 SWIGINTERN PyObject
*_wrap_EditableListBox_GetEditButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3990 PyObject
*resultobj
= 0;
3991 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3992 wxBitmapButton
*result
= 0 ;
3995 PyObject
*swig_obj
[1] ;
3997 if (!args
) SWIG_fail
;
3999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
4000 if (!SWIG_IsOK(res1
)) {
4001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4003 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (wxBitmapButton
*)(arg1
)->GetEditButton();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= wxPyMake_wxObject(result
, 0);
4019 SWIGINTERN PyObject
*EditableListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4022 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox
, SWIG_NewClientData(obj
));
4023 return SWIG_Py_Void();
4026 SWIGINTERN PyObject
*EditableListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 return SWIG_Python_InitShadowInstance(args
);
4030 SWIGINTERN PyObject
*_wrap_new_RemotelyScrolledTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
= 0;
4032 wxWindow
*arg1
= (wxWindow
*) 0 ;
4034 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4035 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4036 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4037 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4038 long arg5
= (long) wxTR_HAS_BUTTONS
;
4039 wxRemotelyScrolledTreeCtrl
*result
= 0 ;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 PyObject
* obj2
= 0 ;
4051 PyObject
* obj3
= 0 ;
4052 PyObject
* obj4
= 0 ;
4053 char * kwnames
[] = {
4054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4064 if (!SWIG_IsOK(ecode2
)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4067 arg2
= static_cast< int >(val2
);
4071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4082 if (!SWIG_IsOK(ecode5
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4085 arg5
= static_cast< long >(val5
);
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (wxRemotelyScrolledTreeCtrl
*)new wxRemotelyScrolledTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_NEW
| 0 );
4101 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 PyObject
*resultobj
= 0;
4103 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4114 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 (arg1
)->HideVScrollbar();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_Py_Void();
4128 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4133 PyObject
*swig_obj
[1] ;
4135 if (!args
) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4141 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 (arg1
)->AdjustRemoteScrollbars();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_Py_Void();
4155 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4156 PyObject
*resultobj
= 0;
4157 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4158 wxScrolledWindow
*result
= 0 ;
4161 PyObject
*swig_obj
[1] ;
4163 if (!args
) SWIG_fail
;
4165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4166 if (!SWIG_IsOK(res1
)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4169 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 result
= (wxScrolledWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetScrolledWindow();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= wxPyMake_wxObject(result
, 0);
4185 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
= 0;
4187 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4197 PyObject
* obj1
= 0 ;
4198 PyObject
* obj2
= 0 ;
4199 char * kwnames
[] = {
4200 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4205 if (!SWIG_IsOK(res1
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4208 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4210 if (!SWIG_IsOK(ecode2
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4213 arg2
= static_cast< int >(val2
);
4214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4215 if (!SWIG_IsOK(ecode3
)) {
4216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4218 arg3
= static_cast< int >(val3
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->ScrollToLine(arg2
,arg3
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4235 wxWindow
*arg2
= (wxWindow
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "self",(char *) "companion", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4251 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4253 if (!SWIG_IsOK(res2
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetCompanionWindow(arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4271 PyObject
*resultobj
= 0;
4272 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4273 wxWindow
*result
= 0 ;
4276 PyObject
*swig_obj
[1] ;
4278 if (!args
) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4284 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (wxWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetCompanionWindow();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= wxPyMake_wxObject(result
, 0);
4300 SWIGINTERN PyObject
*RemotelyScrolledTreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4303 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_NewClientData(obj
));
4304 return SWIG_Py_Void();
4307 SWIGINTERN PyObject
*RemotelyScrolledTreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 return SWIG_Python_InitShadowInstance(args
);
4311 SWIGINTERN PyObject
*_wrap_new_TreeCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
= 0;
4313 wxWindow
*arg1
= (wxWindow
*) 0 ;
4314 int arg2
= (int) -1 ;
4315 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4316 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4317 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4318 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4319 long arg5
= (long) 0 ;
4320 wxPyTreeCompanionWindow
*result
= 0 ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 PyObject
* obj2
= 0 ;
4332 PyObject
* obj3
= 0 ;
4333 PyObject
* obj4
= 0 ;
4334 char * kwnames
[] = {
4335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4346 if (!SWIG_IsOK(ecode2
)) {
4347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4349 arg2
= static_cast< int >(val2
);
4354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4364 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4365 if (!SWIG_IsOK(ecode5
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4368 arg5
= static_cast< long >(val5
);
4371 if (!wxPyCheckForApp()) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (wxPyTreeCompanionWindow
*)new wxPyTreeCompanionWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_POINTER_NEW
| 0 );
4384 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
= 0;
4386 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4387 PyObject
*arg2
= (PyObject
*) 0 ;
4388 PyObject
*arg3
= (PyObject
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 PyObject
* obj2
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "self",(char *) "_class", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4403 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_Py_Void();
4419 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4420 PyObject
*resultobj
= 0;
4421 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4422 wxRemotelyScrolledTreeCtrl
*result
= 0 ;
4425 PyObject
*swig_obj
[1] ;
4427 if (!args
) SWIG_fail
;
4429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4430 if (!SWIG_IsOK(res1
)) {
4431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4433 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (wxRemotelyScrolledTreeCtrl
*)((wxPyTreeCompanionWindow
const *)arg1
)->GetTreeCtrl();
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4447 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
= 0;
4449 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4450 wxRemotelyScrolledTreeCtrl
*arg2
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 char * kwnames
[] = {
4458 (char *) "self",(char *) "treeCtrl", NULL
4461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4466 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4468 if (!SWIG_IsOK(res2
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4471 arg2
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp2
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 (arg1
)->SetTreeCtrl(arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_Py_Void();
4485 SWIGINTERN PyObject
*TreeCompanionWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*TreeCompanionWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN PyObject
*_wrap_new_ThinSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= 0;
4498 wxWindow
*arg1
= (wxWindow
*) 0 ;
4499 int arg2
= (int) -1 ;
4500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4502 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4503 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4504 long arg5
= (long) wxSP_3D
|wxCLIP_CHILDREN
;
4505 wxThinSplitterWindow
*result
= 0 ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 PyObject
* obj2
= 0 ;
4517 PyObject
* obj3
= 0 ;
4518 PyObject
* obj4
= 0 ;
4519 char * kwnames
[] = {
4520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4531 if (!SWIG_IsOK(ecode2
)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4534 arg2
= static_cast< int >(val2
);
4539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4549 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4550 if (!SWIG_IsOK(ecode5
)) {
4551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4553 arg5
= static_cast< long >(val5
);
4556 if (!wxPyCheckForApp()) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxThinSplitterWindow
*)new wxThinSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxThinSplitterWindow
, SWIG_POINTER_NEW
| 0 );
4569 SWIGINTERN PyObject
*ThinSplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4572 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow
, SWIG_NewClientData(obj
));
4573 return SWIG_Py_Void();
4576 SWIGINTERN PyObject
*ThinSplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4577 return SWIG_Python_InitShadowInstance(args
);
4580 SWIGINTERN PyObject
*_wrap_new_SplitterScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxWindow
*arg1
= (wxWindow
*) 0 ;
4583 int arg2
= (int) -1 ;
4584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4588 long arg5
= (long) 0 ;
4589 wxSplitterScrolledWindow
*result
= 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 PyObject
* obj2
= 0 ;
4601 PyObject
* obj3
= 0 ;
4602 PyObject
* obj4
= 0 ;
4603 char * kwnames
[] = {
4604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4615 if (!SWIG_IsOK(ecode2
)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4618 arg2
= static_cast< int >(val2
);
4623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4633 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4634 if (!SWIG_IsOK(ecode5
)) {
4635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4637 arg5
= static_cast< long >(val5
);
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxSplitterScrolledWindow
*)new wxSplitterScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4653 SWIGINTERN PyObject
*SplitterScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4656 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow
, SWIG_NewClientData(obj
));
4657 return SWIG_Py_Void();
4660 SWIGINTERN PyObject
*SplitterScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4661 return SWIG_Python_InitShadowInstance(args
);
4664 SWIGINTERN PyObject
*_wrap_new_LEDNumberCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxWindow
*arg1
= (wxWindow
*) 0 ;
4667 int arg2
= (int) -1 ;
4668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4672 long arg5
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
4673 wxLEDNumberCtrl
*result
= 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4685 PyObject
* obj3
= 0 ;
4686 PyObject
* obj4
= 0 ;
4687 char * kwnames
[] = {
4688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4693 if (!SWIG_IsOK(res1
)) {
4694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4699 if (!SWIG_IsOK(ecode2
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4702 arg2
= static_cast< int >(val2
);
4707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4717 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4718 if (!SWIG_IsOK(ecode5
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4721 arg5
= static_cast< long >(val5
);
4724 if (!wxPyCheckForApp()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_NEW
| 0 );
4737 SWIGINTERN PyObject
*_wrap_new_PreLEDNumberCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 PyObject
*resultobj
= 0;
4739 wxLEDNumberCtrl
*result
= 0 ;
4741 if (!SWIG_Python_UnpackTuple(args
,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail
;
4743 if (!wxPyCheckForApp()) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_OWN
| 0 );
4756 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
= 0;
4758 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4759 wxWindow
*arg2
= (wxWindow
*) 0 ;
4760 int arg3
= (int) -1 ;
4761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4765 long arg6
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 PyObject
* obj3
= 0 ;
4781 PyObject
* obj4
= 0 ;
4782 PyObject
* obj5
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4792 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4794 if (!SWIG_IsOK(res2
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4800 if (!SWIG_IsOK(ecode3
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4803 arg3
= static_cast< int >(val3
);
4808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4819 if (!SWIG_IsOK(ecode6
)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4822 arg6
= static_cast< long >(val6
);
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4839 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4840 PyObject
*resultobj
= 0;
4841 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4842 wxLEDValueAlign result
;
4845 PyObject
*swig_obj
[1] ;
4847 if (!args
) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4853 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (wxLEDValueAlign
)((wxLEDNumberCtrl
const *)arg1
)->GetAlignment();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_From_int(static_cast< int >(result
));
4867 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetDrawFaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4868 PyObject
*resultobj
= 0;
4869 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4873 PyObject
*swig_obj
[1] ;
4875 if (!args
) SWIG_fail
;
4877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4878 if (!SWIG_IsOK(res1
)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4881 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (bool)((wxLEDNumberCtrl
const *)arg1
)->GetDrawFaded();
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4897 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 PyObject
*resultobj
= 0;
4899 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4900 wxString
*result
= 0 ;
4903 PyObject
*swig_obj
[1] ;
4905 if (!args
) SWIG_fail
;
4907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4908 if (!SWIG_IsOK(res1
)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4911 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 wxString
const &_result_ref
= ((wxLEDNumberCtrl
const *)arg1
)->GetValue();
4916 result
= (wxString
*) &_result_ref
;
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4934 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
= 0;
4936 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4937 wxLEDValueAlign arg2
;
4938 bool arg3
= (bool) true ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 PyObject
* obj2
= 0 ;
4948 char * kwnames
[] = {
4949 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4954 if (!SWIG_IsOK(res1
)) {
4955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4957 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4959 if (!SWIG_IsOK(ecode2
)) {
4960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4962 arg2
= static_cast< wxLEDValueAlign
>(val2
);
4964 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4965 if (!SWIG_IsOK(ecode3
)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4968 arg3
= static_cast< bool >(val3
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->SetAlignment(arg2
,arg3
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_Py_Void();
4983 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetDrawFaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= 0;
4985 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4987 bool arg3
= (bool) true ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 PyObject
* obj2
= 0 ;
4997 char * kwnames
[] = {
4998 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5006 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
5007 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5008 if (!SWIG_IsOK(ecode2
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5011 arg2
= static_cast< bool >(val2
);
5013 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5014 if (!SWIG_IsOK(ecode3
)) {
5015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5017 arg3
= static_cast< bool >(val3
);
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->SetDrawFaded(arg2
,arg3
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_Py_Void();
5032 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
= 0;
5034 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
5035 wxString
*arg2
= 0 ;
5036 bool arg3
= (bool) true ;
5039 bool temp2
= false ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5044 PyObject
* obj2
= 0 ;
5045 char * kwnames
[] = {
5046 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
5051 if (!SWIG_IsOK(res1
)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5054 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
5056 arg2
= wxString_in_helper(obj1
);
5057 if (arg2
== NULL
) SWIG_fail
;
5061 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5062 if (!SWIG_IsOK(ecode3
)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5065 arg3
= static_cast< bool >(val3
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 (arg1
)->SetValue((wxString
const &)*arg2
,arg3
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_Py_Void();
5088 SWIGINTERN PyObject
*LEDNumberCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5091 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_NewClientData(obj
));
5092 return SWIG_Py_Void();
5095 SWIGINTERN PyObject
*LEDNumberCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5096 return SWIG_Python_InitShadowInstance(args
);
5099 SWIGINTERN
int TreeListCtrlNameStr_set(PyObject
*) {
5100 SWIG_Error(SWIG_AttributeError
,"Variable TreeListCtrlNameStr is read-only.");
5105 SWIGINTERN PyObject
*TreeListCtrlNameStr_get(void) {
5106 PyObject
*pyobj
= 0;
5110 pyobj
= PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
5112 pyobj
= PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
5119 SWIGINTERN PyObject
*_wrap_new_TreeListColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
= 0;
5121 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5122 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5123 int arg2
= (int) DEFAULT_COL_WIDTH
;
5124 int arg3
= (int) wxALIGN_LEFT
;
5125 int arg4
= (int) -1 ;
5126 bool arg5
= (bool) true ;
5127 bool arg6
= (bool) false ;
5128 wxTreeListColumnInfo
*result
= 0 ;
5129 bool temp1
= false ;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5142 PyObject
* obj2
= 0 ;
5143 PyObject
* obj3
= 0 ;
5144 PyObject
* obj4
= 0 ;
5145 PyObject
* obj5
= 0 ;
5146 char * kwnames
[] = {
5147 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
5153 arg1
= wxString_in_helper(obj0
);
5154 if (arg1
== NULL
) SWIG_fail
;
5159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5160 if (!SWIG_IsOK(ecode2
)) {
5161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5163 arg2
= static_cast< int >(val2
);
5166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5167 if (!SWIG_IsOK(ecode3
)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5170 arg3
= static_cast< int >(val3
);
5173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5174 if (!SWIG_IsOK(ecode4
)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5177 arg4
= static_cast< int >(val4
);
5180 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
5181 if (!SWIG_IsOK(ecode5
)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5184 arg5
= static_cast< bool >(val5
);
5187 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
5188 if (!SWIG_IsOK(ecode6
)) {
5189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5191 arg6
= static_cast< bool >(val6
);
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (wxTreeListColumnInfo
*)new wxTreeListColumnInfo((wxString
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_NEW
| 0 );
5214 SWIGINTERN PyObject
*_wrap_delete_TreeListColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5215 PyObject
*resultobj
= 0;
5216 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5219 PyObject
*swig_obj
[1] ;
5221 if (!args
) SWIG_fail
;
5223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_DISOWN
| 0 );
5224 if (!SWIG_IsOK(res1
)) {
5225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5227 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_Py_Void();
5242 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5243 PyObject
*resultobj
= 0;
5244 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5248 PyObject
*swig_obj
[1] ;
5250 if (!args
) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5256 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetAlignment();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_From_int(static_cast< int >(result
));
5270 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5271 PyObject
*resultobj
= 0;
5272 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5276 PyObject
*swig_obj
[1] ;
5278 if (!args
) SWIG_fail
;
5280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5281 if (!SWIG_IsOK(res1
)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5284 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= ((wxTreeListColumnInfo
const *)arg1
)->GetText();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5304 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5305 PyObject
*resultobj
= 0;
5306 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5310 PyObject
*swig_obj
[1] ;
5312 if (!args
) SWIG_fail
;
5314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5315 if (!SWIG_IsOK(res1
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5318 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetImage();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= SWIG_From_int(static_cast< int >(result
));
5332 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetSelectedImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5333 PyObject
*resultobj
= 0;
5334 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5338 PyObject
*swig_obj
[1] ;
5340 if (!args
) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5346 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetSelectedImage();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_From_int(static_cast< int >(result
));
5360 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5361 PyObject
*resultobj
= 0;
5362 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5366 PyObject
*swig_obj
[1] ;
5368 if (!args
) SWIG_fail
;
5370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5371 if (!SWIG_IsOK(res1
)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5374 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (size_t)((wxTreeListColumnInfo
const *)arg1
)->GetWidth();
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
5388 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 PyObject
*resultobj
= 0;
5390 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5394 PyObject
*swig_obj
[1] ;
5396 if (!args
) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5402 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)((wxTreeListColumnInfo
const *)arg1
)->IsEditable();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5418 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5419 PyObject
*resultobj
= 0;
5420 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5424 PyObject
*swig_obj
[1] ;
5426 if (!args
) SWIG_fail
;
5428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5429 if (!SWIG_IsOK(res1
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5432 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)((wxTreeListColumnInfo
const *)arg1
)->IsShown();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5448 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= 0;
5450 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5458 char * kwnames
[] = {
5459 (char *) "self",(char *) "alignment", NULL
5462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5467 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5469 if (!SWIG_IsOK(ecode2
)) {
5470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5472 arg2
= static_cast< int >(val2
);
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->SetAlignment(arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_Py_Void();
5486 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5489 wxString
*arg2
= 0 ;
5492 bool temp2
= false ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "self",(char *) "text", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5504 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5506 arg2
= wxString_in_helper(obj1
);
5507 if (arg2
== NULL
) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 (arg1
)->SetText((wxString
const &)*arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= SWIG_Py_Void();
5531 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
= 0;
5533 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 char * kwnames
[] = {
5542 (char *) "self",(char *) "image", NULL
5545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5550 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5552 if (!SWIG_IsOK(ecode2
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5555 arg2
= static_cast< int >(val2
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetImage(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_Py_Void();
5569 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetSelectedImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "image", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5588 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 (arg1
)->SetSelectedImage(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_Py_Void();
5607 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
= 0;
5609 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 char * kwnames
[] = {
5618 (char *) "self",(char *) "with", NULL
5621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5626 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5627 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
5628 if (!SWIG_IsOK(ecode2
)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5631 arg2
= static_cast< size_t >(val2
);
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetWidth(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_Py_Void();
5645 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
= 0;
5647 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5655 char * kwnames
[] = {
5656 (char *) "self",(char *) "edit", NULL
5659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5664 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5666 if (!SWIG_IsOK(ecode2
)) {
5667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5669 arg2
= static_cast< bool >(val2
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->SetEditable(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_Py_Void();
5683 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
= 0;
5685 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 char * kwnames
[] = {
5694 (char *) "self",(char *) "shown", NULL
5697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5702 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5704 if (!SWIG_IsOK(ecode2
)) {
5705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5707 arg2
= static_cast< bool >(val2
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 (arg1
)->SetShown(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_Py_Void();
5721 SWIGINTERN PyObject
*TreeListColumnInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_NewClientData(obj
));
5725 return SWIG_Py_Void();
5728 SWIGINTERN PyObject
*TreeListColumnInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 return SWIG_Python_InitShadowInstance(args
);
5732 SWIGINTERN PyObject
*_wrap_new_TreeListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 wxWindow
*arg1
= (wxWindow
*) 0 ;
5735 int arg2
= (int) -1 ;
5736 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5737 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5738 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5739 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5740 long arg5
= (long) wxTR_DEFAULT_STYLE
;
5741 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
5742 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
5743 wxString
const &arg7_defvalue
= wxPyTreeListCtrlNameStr
;
5744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5745 wxPyTreeListCtrl
*result
= 0 ;
5756 bool temp7
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 PyObject
* obj2
= 0 ;
5760 PyObject
* obj3
= 0 ;
5761 PyObject
* obj4
= 0 ;
5762 PyObject
* obj5
= 0 ;
5763 PyObject
* obj6
= 0 ;
5764 char * kwnames
[] = {
5765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5776 if (!SWIG_IsOK(ecode2
)) {
5777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5779 arg2
= static_cast< int >(val2
);
5784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
5795 if (!SWIG_IsOK(ecode5
)) {
5796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5798 arg5
= static_cast< long >(val5
);
5801 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
5802 if (!SWIG_IsOK(res6
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5808 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
5812 arg7
= wxString_in_helper(obj6
);
5813 if (arg7
== NULL
) SWIG_fail
;
5818 if (!wxPyCheckForApp()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_NEW
| 0 );
5839 SWIGINTERN PyObject
*_wrap_new_PreTreeListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5840 PyObject
*resultobj
= 0;
5841 wxPyTreeListCtrl
*result
= 0 ;
5843 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeListCtrl",0,0,0)) SWIG_fail
;
5845 if (!wxPyCheckForApp()) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_OWN
| 0 );
5858 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5861 wxWindow
*arg2
= (wxWindow
*) 0 ;
5862 int arg3
= (int) -1 ;
5863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5865 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5866 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5867 long arg6
= (long) wxTR_DEFAULT_STYLE
;
5868 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5869 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5870 wxString
const &arg8_defvalue
= wxPyTreeListCtrlNameStr
;
5871 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5885 bool temp8
= false ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5889 PyObject
* obj3
= 0 ;
5890 PyObject
* obj4
= 0 ;
5891 PyObject
* obj5
= 0 ;
5892 PyObject
* obj6
= 0 ;
5893 PyObject
* obj7
= 0 ;
5894 char * kwnames
[] = {
5895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5903 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5905 if (!SWIG_IsOK(res2
)) {
5906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5911 if (!SWIG_IsOK(ecode3
)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5914 arg3
= static_cast< int >(val3
);
5919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5930 if (!SWIG_IsOK(ecode6
)) {
5931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5933 arg6
= static_cast< long >(val6
);
5936 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5937 if (!SWIG_IsOK(res7
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5943 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5947 arg8
= wxString_in_helper(obj7
);
5948 if (arg8
== NULL
) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5975 SWIGINTERN PyObject
*_wrap_TreeListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
= 0;
5977 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5978 PyObject
*arg2
= (PyObject
*) 0 ;
5979 PyObject
*arg3
= (PyObject
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5984 PyObject
* obj2
= 0 ;
5985 char * kwnames
[] = {
5986 (char *) "self",(char *) "self",(char *) "_class", NULL
5989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5994 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_Py_Void();
6010 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6011 PyObject
*resultobj
= 0;
6012 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6016 PyObject
*swig_obj
[1] ;
6018 if (!args
) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6024 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetCount();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
6038 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6039 PyObject
*resultobj
= 0;
6040 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6041 unsigned int result
;
6044 PyObject
*swig_obj
[1] ;
6046 if (!args
) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6052 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetIndent();
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
6066 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
= 0;
6068 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "self",(char *) "indent", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6085 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6086 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
6087 if (!SWIG_IsOK(ecode2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6090 arg2
= static_cast< unsigned int >(val2
);
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->SetIndent(arg2
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_Py_Void();
6104 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6107 unsigned int result
;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6118 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetLineSpacing();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
6132 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 char * kwnames
[] = {
6143 (char *) "self",(char *) "spacing", NULL
6146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6148 if (!SWIG_IsOK(res1
)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6151 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6152 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
6153 if (!SWIG_IsOK(ecode2
)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6156 arg2
= static_cast< unsigned int >(val2
);
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 (arg1
)->SetLineSpacing(arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_Py_Void();
6170 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6171 PyObject
*resultobj
= 0;
6172 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6173 wxImageList
*result
= 0 ;
6176 PyObject
*swig_obj
[1] ;
6178 if (!args
) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6184 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetImageList();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6200 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6201 PyObject
*resultobj
= 0;
6202 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6203 wxImageList
*result
= 0 ;
6206 PyObject
*swig_obj
[1] ;
6208 if (!args
) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6214 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetStateImageList();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6230 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6231 PyObject
*resultobj
= 0;
6232 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6233 wxImageList
*result
= 0 ;
6236 PyObject
*swig_obj
[1] ;
6238 if (!args
) SWIG_fail
;
6240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6241 if (!SWIG_IsOK(res1
)) {
6242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6244 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetButtonsImageList();
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6260 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6263 wxImageList
*arg2
= (wxImageList
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "imageList", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6279 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6281 if (!SWIG_IsOK(res2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6284 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetImageList(arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_Py_Void();
6298 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
= 0;
6300 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6301 wxImageList
*arg2
= (wxImageList
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 char * kwnames
[] = {
6309 (char *) "self",(char *) "imageList", NULL
6312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6314 if (!SWIG_IsOK(res1
)) {
6315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6317 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6319 if (!SWIG_IsOK(res2
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6322 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 (arg1
)->SetStateImageList(arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= SWIG_Py_Void();
6336 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
= 0;
6338 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6339 wxImageList
*arg2
= (wxImageList
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "self",(char *) "imageList", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6352 if (!SWIG_IsOK(res1
)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6355 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6357 if (!SWIG_IsOK(res2
)) {
6358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6360 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 (arg1
)->SetButtonsImageList(arg2
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_Py_Void();
6374 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6377 wxImageList
*arg2
= (wxImageList
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 char * kwnames
[] = {
6384 (char *) "self",(char *) "imageList", NULL
6387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6392 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6393 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6394 if (!SWIG_IsOK(res2
)) {
6395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 (arg1
)->AssignImageList(arg2
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= SWIG_Py_Void();
6410 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
= 0;
6412 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6413 wxImageList
*arg2
= (wxImageList
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6419 char * kwnames
[] = {
6420 (char *) "self",(char *) "imageList", NULL
6423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6425 if (!SWIG_IsOK(res1
)) {
6426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6428 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6429 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6430 if (!SWIG_IsOK(res2
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->AssignStateImageList(arg2
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_Py_Void();
6446 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
= 0;
6448 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6449 wxImageList
*arg2
= (wxImageList
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6455 char * kwnames
[] = {
6456 (char *) "self",(char *) "imageList", NULL
6459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6461 if (!SWIG_IsOK(res1
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6464 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6465 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6466 if (!SWIG_IsOK(res2
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 (arg1
)->AssignButtonsImageList(arg2
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_Py_Void();
6482 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
= 0;
6484 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6485 wxString
*arg2
= 0 ;
6486 int arg3
= (int) DEFAULT_COL_WIDTH
;
6487 int arg4
= (int) wxALIGN_LEFT
;
6488 int arg5
= (int) -1 ;
6489 bool arg6
= (bool) true ;
6490 bool arg7
= (bool) false ;
6493 bool temp2
= false ;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6506 PyObject
* obj2
= 0 ;
6507 PyObject
* obj3
= 0 ;
6508 PyObject
* obj4
= 0 ;
6509 PyObject
* obj5
= 0 ;
6510 PyObject
* obj6
= 0 ;
6511 char * kwnames
[] = {
6512 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6520 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6522 arg2
= wxString_in_helper(obj1
);
6523 if (arg2
== NULL
) SWIG_fail
;
6527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6528 if (!SWIG_IsOK(ecode3
)) {
6529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6531 arg3
= static_cast< int >(val3
);
6534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6535 if (!SWIG_IsOK(ecode4
)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6538 arg4
= static_cast< int >(val4
);
6541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6542 if (!SWIG_IsOK(ecode5
)) {
6543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6545 arg5
= static_cast< int >(val5
);
6548 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
6549 if (!SWIG_IsOK(ecode6
)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6552 arg6
= static_cast< bool >(val6
);
6555 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6556 if (!SWIG_IsOK(ecode7
)) {
6557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6559 arg7
= static_cast< bool >(val7
);
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->AddColumn((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_Py_Void();
6582 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
= 0;
6584 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6585 wxTreeListColumnInfo
*arg2
= 0 ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6592 char * kwnames
[] = {
6593 (char *) "self",(char *) "col", NULL
6596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6598 if (!SWIG_IsOK(res1
)) {
6599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6601 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6603 if (!SWIG_IsOK(res2
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6609 arg2
= reinterpret_cast< wxTreeListColumnInfo
* >(argp2
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 (arg1
)->AddColumn((wxTreeListColumnInfo
const &)*arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_Py_Void();
6623 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= 0;
6625 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6627 wxString
*arg3
= 0 ;
6628 int arg4
= (int) DEFAULT_COL_WIDTH
;
6629 int arg5
= (int) wxALIGN_LEFT
;
6630 int arg6
= (int) -1 ;
6631 bool arg7
= (bool) true ;
6632 bool arg8
= (bool) false ;
6637 bool temp3
= false ;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 PyObject
* obj2
= 0 ;
6651 PyObject
* obj3
= 0 ;
6652 PyObject
* obj4
= 0 ;
6653 PyObject
* obj5
= 0 ;
6654 PyObject
* obj6
= 0 ;
6655 PyObject
* obj7
= 0 ;
6656 char * kwnames
[] = {
6657 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6665 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6667 if (!SWIG_IsOK(ecode2
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6670 arg2
= static_cast< int >(val2
);
6672 arg3
= wxString_in_helper(obj2
);
6673 if (arg3
== NULL
) SWIG_fail
;
6677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6678 if (!SWIG_IsOK(ecode4
)) {
6679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6681 arg4
= static_cast< int >(val4
);
6684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6685 if (!SWIG_IsOK(ecode5
)) {
6686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6688 arg5
= static_cast< int >(val5
);
6691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6692 if (!SWIG_IsOK(ecode6
)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6695 arg6
= static_cast< int >(val6
);
6698 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6699 if (!SWIG_IsOK(ecode7
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6702 arg7
= static_cast< bool >(val7
);
6705 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
6706 if (!SWIG_IsOK(ecode8
)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6709 arg8
= static_cast< bool >(val8
);
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_Py_Void();
6732 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= 0;
6734 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6736 wxTreeListColumnInfo
*arg3
= 0 ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6745 PyObject
* obj2
= 0 ;
6746 char * kwnames
[] = {
6747 (char *) "self",(char *) "before",(char *) "col", NULL
6750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6755 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6756 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6757 if (!SWIG_IsOK(ecode2
)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6760 arg2
= static_cast< size_t >(val2
);
6761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6762 if (!SWIG_IsOK(res3
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6768 arg3
= reinterpret_cast< wxTreeListColumnInfo
* >(argp3
);
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 (arg1
)->InsertColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_Py_Void();
6782 SWIGINTERN PyObject
*_wrap_TreeListCtrl_RemoveColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "self",(char *) "column", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6801 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6802 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6803 if (!SWIG_IsOK(ecode2
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6806 arg2
= static_cast< size_t >(val2
);
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->RemoveColumn(arg2
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_Py_Void();
6820 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6821 PyObject
*resultobj
= 0;
6822 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6826 PyObject
*swig_obj
[1] ;
6828 if (!args
) SWIG_fail
;
6830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6831 if (!SWIG_IsOK(res1
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6834 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetColumnCount();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
6848 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetMainColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= 0;
6850 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "self",(char *) "column", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6867 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6868 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6869 if (!SWIG_IsOK(ecode2
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6872 arg2
= static_cast< size_t >(val2
);
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 (arg1
)->SetMainColumn(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6886 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetMainColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6887 PyObject
*resultobj
= 0;
6888 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6892 PyObject
*swig_obj
[1] ;
6894 if (!args
) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6900 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetMainColumn();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
6914 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= 0;
6916 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6918 wxTreeListColumnInfo
*arg3
= 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6937 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6939 if (!SWIG_IsOK(ecode2
)) {
6940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6942 arg2
= static_cast< int >(val2
);
6943 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6944 if (!SWIG_IsOK(res3
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6950 arg3
= reinterpret_cast< wxTreeListColumnInfo
* >(argp3
);
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 (arg1
)->SetColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6968 wxTreeListColumnInfo
*result
= 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "column", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6984 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6986 if (!SWIG_IsOK(ecode2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6989 arg2
= static_cast< int >(val2
);
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxTreeListColumnInfo
&_result_ref
= (arg1
)->GetColumn(arg2
);
6994 result
= (wxTreeListColumnInfo
*) &_result_ref
;
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
7006 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7010 wxString
*arg3
= 0 ;
7015 bool temp3
= false ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7018 PyObject
* obj2
= 0 ;
7019 char * kwnames
[] = {
7020 (char *) "self",(char *) "column",(char *) "text", NULL
7023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7025 if (!SWIG_IsOK(res1
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7028 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7030 if (!SWIG_IsOK(ecode2
)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7033 arg2
= static_cast< int >(val2
);
7035 arg3
= wxString_in_helper(obj2
);
7036 if (arg3
== NULL
) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetColumnText(arg2
,(wxString
const &)*arg3
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_Py_Void();
7060 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 char * kwnames
[] = {
7072 (char *) "self",(char *) "column", NULL
7075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7077 if (!SWIG_IsOK(res1
)) {
7078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7080 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7082 if (!SWIG_IsOK(ecode2
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7085 arg2
= static_cast< int >(val2
);
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetColumnText(arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7105 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7107 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 PyObject
* obj2
= 0 ;
7119 char * kwnames
[] = {
7120 (char *) "self",(char *) "column",(char *) "width", NULL
7123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7128 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7130 if (!SWIG_IsOK(ecode2
)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7133 arg2
= static_cast< int >(val2
);
7134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7135 if (!SWIG_IsOK(ecode3
)) {
7136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7138 arg3
= static_cast< int >(val3
);
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 (arg1
)->SetColumnWidth(arg2
,arg3
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_Py_Void();
7152 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= 0;
7154 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7163 char * kwnames
[] = {
7164 (char *) "self",(char *) "column", NULL
7167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7172 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7174 if (!SWIG_IsOK(ecode2
)) {
7175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7177 arg2
= static_cast< int >(val2
);
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_From_int(static_cast< int >(result
));
7191 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
= 0;
7193 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 PyObject
* obj2
= 0 ;
7205 char * kwnames
[] = {
7206 (char *) "self",(char *) "column",(char *) "flag", NULL
7209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7214 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7216 if (!SWIG_IsOK(ecode2
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7219 arg2
= static_cast< int >(val2
);
7220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7221 if (!SWIG_IsOK(ecode3
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7224 arg3
= static_cast< int >(val3
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->SetColumnAlignment(arg2
,arg3
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
= 0;
7240 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "column", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7258 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7260 if (!SWIG_IsOK(ecode2
)) {
7261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7263 arg2
= static_cast< int >(val2
);
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnAlignment(arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_From_int(static_cast< int >(result
));
7277 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= 0;
7279 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "self",(char *) "column",(char *) "image", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7300 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7302 if (!SWIG_IsOK(ecode2
)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7305 arg2
= static_cast< int >(val2
);
7306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7307 if (!SWIG_IsOK(ecode3
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7310 arg3
= static_cast< int >(val3
);
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 (arg1
)->SetColumnImage(arg2
,arg3
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_Py_Void();
7324 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 char * kwnames
[] = {
7336 (char *) "self",(char *) "column", NULL
7339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7344 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7346 if (!SWIG_IsOK(ecode2
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7349 arg2
= static_cast< int >(val2
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnImage(arg2
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_From_int(static_cast< int >(result
));
7363 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= 0;
7365 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7367 bool arg3
= (bool) true ;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7376 PyObject
* obj2
= 0 ;
7377 char * kwnames
[] = {
7378 (char *) "self",(char *) "column",(char *) "shown", NULL
7381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7386 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7388 if (!SWIG_IsOK(ecode2
)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7391 arg2
= static_cast< int >(val2
);
7393 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7394 if (!SWIG_IsOK(ecode3
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7397 arg3
= static_cast< bool >(val3
);
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 (arg1
)->SetColumnShown(arg2
,arg3
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_Py_Void();
7412 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsColumnShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
= 0;
7414 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7423 char * kwnames
[] = {
7424 (char *) "self",(char *) "column", NULL
7427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7432 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7434 if (!SWIG_IsOK(ecode2
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7437 arg2
= static_cast< int >(val2
);
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsColumnShown(arg2
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7457 bool arg3
= (bool) true ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 PyObject
* obj2
= 0 ;
7467 char * kwnames
[] = {
7468 (char *) "self",(char *) "column",(char *) "edit", NULL
7471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7476 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7478 if (!SWIG_IsOK(ecode2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7481 arg2
= static_cast< int >(val2
);
7483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7484 if (!SWIG_IsOK(ecode3
)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7487 arg3
= static_cast< bool >(val3
);
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 (arg1
)->SetColumnEditable(arg2
,arg3
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_Py_Void();
7502 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsColumnEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
= 0;
7504 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "column", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7522 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7524 if (!SWIG_IsOK(ecode2
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7527 arg2
= static_cast< int >(val2
);
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsColumnEditable(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7543 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
= 0;
7545 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7546 wxTreeItemId
*arg2
= 0 ;
7547 int arg3
= (int) -1 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7558 char * kwnames
[] = {
7559 (char *) "self",(char *) "item",(char *) "column", NULL
7562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7567 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7569 if (!SWIG_IsOK(res2
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7575 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7578 if (!SWIG_IsOK(ecode3
)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7581 arg3
= static_cast< int >(val3
);
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= wxPyTreeListCtrl_GetItemText(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7602 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
= 0;
7604 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7605 wxTreeItemId
*arg2
= 0 ;
7606 int arg3
= (int) -1 ;
7607 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 PyObject
* obj3
= 0 ;
7621 char * kwnames
[] = {
7622 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7630 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7632 if (!SWIG_IsOK(res2
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7638 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7641 if (!SWIG_IsOK(ecode3
)) {
7642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7644 arg3
= static_cast< int >(val3
);
7647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7648 if (!SWIG_IsOK(ecode4
)) {
7649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7651 arg4
= static_cast< wxTreeItemIcon
>(val4
);
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (int)wxPyTreeListCtrl_GetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,arg4
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= SWIG_From_int(static_cast< int >(result
));
7666 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= 0;
7668 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7669 wxTreeItemId
*arg2
= 0 ;
7670 wxString
*arg3
= 0 ;
7671 int arg4
= (int) -1 ;
7676 bool temp3
= false ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7681 PyObject
* obj2
= 0 ;
7682 PyObject
* obj3
= 0 ;
7683 char * kwnames
[] = {
7684 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7692 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7694 if (!SWIG_IsOK(res2
)) {
7695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7702 arg3
= wxString_in_helper(obj2
);
7703 if (arg3
== NULL
) SWIG_fail
;
7707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7708 if (!SWIG_IsOK(ecode4
)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7711 arg4
= static_cast< int >(val4
);
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxPyTreeListCtrl_SetItemText(arg1
,(wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_Py_Void();
7734 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7737 wxTreeItemId
*arg2
= 0 ;
7739 int arg4
= (int) -1 ;
7740 wxTreeItemIcon arg5
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 PyObject
* obj4
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7765 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7767 if (!SWIG_IsOK(res2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7773 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7775 if (!SWIG_IsOK(ecode3
)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7778 arg3
= static_cast< int >(val3
);
7780 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7781 if (!SWIG_IsOK(ecode4
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7784 arg4
= static_cast< int >(val4
);
7787 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7788 if (!SWIG_IsOK(ecode5
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7791 arg5
= static_cast< wxTreeItemIcon
>(val5
);
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 wxPyTreeListCtrl_SetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,arg4
,arg5
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_Py_Void();
7806 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
= 0;
7808 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7809 wxTreeItemId
*arg2
= 0 ;
7810 wxPyTreeItemData
*result
= 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "self",(char *) "item", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7826 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7828 if (!SWIG_IsOK(res2
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7834 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxPyTreeItemData
*)wxPyTreeListCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
7848 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7851 wxTreeItemId
*arg2
= 0 ;
7852 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7860 PyObject
* obj2
= 0 ;
7861 char * kwnames
[] = {
7862 (char *) "self",(char *) "item",(char *) "data", NULL
7865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7867 if (!SWIG_IsOK(res1
)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7870 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7872 if (!SWIG_IsOK(res2
)) {
7873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7879 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
7880 if (!SWIG_IsOK(res3
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxPyTreeListCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7899 wxTreeItemId
*arg2
= 0 ;
7900 PyObject
*result
= 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 char * kwnames
[] = {
7908 (char *) "self",(char *) "item", NULL
7911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7913 if (!SWIG_IsOK(res1
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7916 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7918 if (!SWIG_IsOK(res2
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7924 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (PyObject
*)wxPyTreeListCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7938 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
= 0;
7940 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7941 wxTreeItemId
*arg2
= 0 ;
7942 PyObject
*arg3
= (PyObject
*) 0 ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 PyObject
* obj2
= 0 ;
7950 char * kwnames
[] = {
7951 (char *) "self",(char *) "item",(char *) "obj", NULL
7954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7956 if (!SWIG_IsOK(res1
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7959 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7961 if (!SWIG_IsOK(res2
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 wxPyTreeListCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_Py_Void();
7982 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
= 0;
7984 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7985 wxTreeItemId
*arg2
= 0 ;
7991 PyObject
* obj0
= 0 ;
7992 PyObject
* obj1
= 0 ;
7993 char * kwnames
[] = {
7994 (char *) "self",(char *) "item", NULL
7997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7999 if (!SWIG_IsOK(res1
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8002 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8004 if (!SWIG_IsOK(res2
)) {
8005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8010 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->GetItemBold((wxTreeItemId
const &)*arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8026 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
= 0;
8028 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8029 wxTreeItemId
*arg2
= 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 char * kwnames
[] = {
8038 (char *) "self",(char *) "item", NULL
8041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8046 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8048 if (!SWIG_IsOK(res2
)) {
8049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8054 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8068 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
= 0;
8070 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8071 wxTreeItemId
*arg2
= 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 char * kwnames
[] = {
8080 (char *) "self",(char *) "item", NULL
8083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8085 if (!SWIG_IsOK(res1
)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8088 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8090 if (!SWIG_IsOK(res2
)) {
8091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8096 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
8110 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
= 0;
8112 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8113 wxTreeItemId
*arg2
= 0 ;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 char * kwnames
[] = {
8122 (char *) "self",(char *) "item", NULL
8125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8127 if (!SWIG_IsOK(res1
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8130 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8132 if (!SWIG_IsOK(res2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
8152 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= 0;
8154 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8155 wxTreeItemId
*arg2
= 0 ;
8156 bool arg3
= (bool) true ;
8163 PyObject
* obj0
= 0 ;
8164 PyObject
* obj1
= 0 ;
8165 PyObject
* obj2
= 0 ;
8166 char * kwnames
[] = {
8167 (char *) "self",(char *) "item",(char *) "has", NULL
8170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8172 if (!SWIG_IsOK(res1
)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8175 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8177 if (!SWIG_IsOK(res2
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8183 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8185 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
8186 if (!SWIG_IsOK(ecode3
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8189 arg3
= static_cast< bool >(val3
);
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_Py_Void();
8204 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8207 wxTreeItemId
*arg2
= 0 ;
8208 bool arg3
= (bool) true ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "item",(char *) "bold", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8227 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8229 if (!SWIG_IsOK(res2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8235 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8237 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
8238 if (!SWIG_IsOK(ecode3
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8241 arg3
= static_cast< bool >(val3
);
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= SWIG_Py_Void();
8256 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= 0;
8258 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8259 wxTreeItemId
*arg2
= 0 ;
8260 wxColour
*arg3
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "item",(char *) "colour", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8278 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8280 if (!SWIG_IsOK(res2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8286 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8289 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= SWIG_Py_Void();
8304 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
= 0;
8306 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8307 wxTreeItemId
*arg2
= 0 ;
8308 wxColour
*arg3
= 0 ;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8316 PyObject
* obj2
= 0 ;
8317 char * kwnames
[] = {
8318 (char *) "self",(char *) "item",(char *) "colour", NULL
8321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8326 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8328 if (!SWIG_IsOK(res2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8334 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8337 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_Py_Void();
8352 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
= 0;
8354 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8355 wxTreeItemId
*arg2
= 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8365 PyObject
* obj2
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "self",(char *) "item",(char *) "font", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8375 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8377 if (!SWIG_IsOK(res2
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8383 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
8385 if (!SWIG_IsOK(res3
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8391 arg3
= reinterpret_cast< wxFont
* >(argp3
);
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_Py_Void();
8405 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
= 0;
8407 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8408 wxTreeItemId
*arg2
= 0 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 char * kwnames
[] = {
8417 (char *) "self",(char *) "item", NULL
8420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8425 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8427 if (!SWIG_IsOK(res2
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8433 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 SWIGINTERN PyObject
*_wrap_TreeListCtrl_HasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8452 wxTreeItemId
*arg2
= 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 char * kwnames
[] = {
8461 (char *) "self",(char *) "item", NULL
8464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_HasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8469 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8471 if (!SWIG_IsOK(res2
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8477 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->HasChildren((wxTreeItemId
const &)*arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8493 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
= 0;
8495 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8496 wxTreeItemId
*arg2
= 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "self",(char *) "item", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8513 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8515 if (!SWIG_IsOK(res2
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8537 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
= 0;
8539 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8540 wxTreeItemId
*arg2
= 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "self",(char *) "item", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8557 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8559 if (!SWIG_IsOK(res2
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8581 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
= 0;
8583 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8584 wxTreeItemId
*arg2
= 0 ;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8592 char * kwnames
[] = {
8593 (char *) "self",(char *) "item", NULL
8596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8601 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8603 if (!SWIG_IsOK(res2
)) {
8604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
= 0;
8627 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8628 wxTreeItemId
*arg2
= 0 ;
8629 bool arg3
= (bool) true ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8639 PyObject
* obj2
= 0 ;
8640 char * kwnames
[] = {
8641 (char *) "self",(char *) "item",(char *) "recursively", NULL
8644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8649 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8651 if (!SWIG_IsOK(res2
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8657 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8659 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
8660 if (!SWIG_IsOK(ecode3
)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8663 arg3
= static_cast< bool >(val3
);
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
8678 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8679 PyObject
*resultobj
= 0;
8680 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8681 wxTreeItemId result
;
8684 PyObject
*swig_obj
[1] ;
8686 if (!args
) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8692 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetRootItem();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8706 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 PyObject
*resultobj
= 0;
8708 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8709 wxTreeItemId result
;
8712 PyObject
*swig_obj
[1] ;
8714 if (!args
) SWIG_fail
;
8716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8717 if (!SWIG_IsOK(res1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8720 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetSelection();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8734 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8735 PyObject
*resultobj
= 0;
8736 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8737 PyObject
*result
= 0 ;
8740 PyObject
*swig_obj
[1] ;
8742 if (!args
) SWIG_fail
;
8744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8745 if (!SWIG_IsOK(res1
)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8748 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (PyObject
*)wxPyTreeListCtrl_GetSelections(arg1
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8762 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
= 0;
8764 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8765 wxTreeItemId
*arg2
= 0 ;
8766 wxTreeItemId result
;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 char * kwnames
[] = {
8774 (char *) "self",(char *) "item", NULL
8777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8779 if (!SWIG_IsOK(res1
)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8782 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8784 if (!SWIG_IsOK(res2
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8804 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
= 0;
8806 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8807 wxTreeItemId
*arg2
= 0 ;
8808 PyObject
*result
= 0 ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 char * kwnames
[] = {
8816 (char *) "self",(char *) "item", NULL
8819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8821 if (!SWIG_IsOK(res1
)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8824 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8826 if (!SWIG_IsOK(res2
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (PyObject
*)wxPyTreeListCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8846 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8849 wxTreeItemId
*arg2
= 0 ;
8850 void *arg3
= (void *) 0 ;
8851 PyObject
*result
= 0 ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8860 char * kwnames
[] = {
8861 (char *) "self",(char *) "item",(char *) "cookie", NULL
8864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8869 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8871 if (!SWIG_IsOK(res2
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8877 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8878 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
8879 if (!SWIG_IsOK(res3
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (PyObject
*)wxPyTreeListCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8895 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
= 0;
8897 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8898 wxTreeItemId
*arg2
= 0 ;
8899 PyObject
*result
= 0 ;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 char * kwnames
[] = {
8907 (char *) "self",(char *) "item", NULL
8910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8912 if (!SWIG_IsOK(res1
)) {
8913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8915 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8917 if (!SWIG_IsOK(res2
)) {
8918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8923 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (PyObject
*)wxPyTreeListCtrl_GetLastChild(arg1
,(wxTreeItemId
const &)*arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8937 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
= 0;
8939 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8940 wxTreeItemId
*arg2
= 0 ;
8941 void *arg3
= (void *) 0 ;
8942 PyObject
*result
= 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 PyObject
* obj2
= 0 ;
8951 char * kwnames
[] = {
8952 (char *) "self",(char *) "item",(char *) "cookie", NULL
8955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8957 if (!SWIG_IsOK(res1
)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8960 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8962 if (!SWIG_IsOK(res2
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8969 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
8970 if (!SWIG_IsOK(res3
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (PyObject
*)wxPyTreeListCtrl_GetPrevChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8986 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
= 0;
8988 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8989 wxTreeItemId
*arg2
= 0 ;
8990 wxTreeItemId result
;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 char * kwnames
[] = {
8998 (char *) "self",(char *) "item", NULL
9001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9006 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9008 if (!SWIG_IsOK(res2
)) {
9009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9028 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9031 wxTreeItemId
*arg2
= 0 ;
9032 wxTreeItemId result
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "self",(char *) "item", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9048 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9050 if (!SWIG_IsOK(res2
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9056 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9070 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
= 0;
9072 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9073 wxTreeItemId
*arg2
= 0 ;
9074 wxTreeItemId result
;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "item", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9090 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9092 if (!SWIG_IsOK(res2
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9098 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNext((wxTreeItemId
const &)*arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9112 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrev(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= 0;
9114 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9115 wxTreeItemId
*arg2
= 0 ;
9116 wxTreeItemId result
;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 char * kwnames
[] = {
9124 (char *) "self",(char *) "item", NULL
9127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrev",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9129 if (!SWIG_IsOK(res1
)) {
9130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9132 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9134 if (!SWIG_IsOK(res2
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrev((wxTreeItemId
const &)*arg2
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9154 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9155 PyObject
*resultobj
= 0;
9156 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9157 wxTreeItemId result
;
9160 PyObject
*swig_obj
[1] ;
9162 if (!args
) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9168 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetFirstExpandedItem();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9182 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
= 0;
9184 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9185 wxTreeItemId
*arg2
= 0 ;
9186 wxTreeItemId result
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 char * kwnames
[] = {
9194 (char *) "self",(char *) "item", NULL
9197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9199 if (!SWIG_IsOK(res1
)) {
9200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9202 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9204 if (!SWIG_IsOK(res2
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextExpanded((wxTreeItemId
const &)*arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9224 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
= 0;
9226 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9227 wxTreeItemId
*arg2
= 0 ;
9228 wxTreeItemId result
;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 char * kwnames
[] = {
9236 (char *) "self",(char *) "item", NULL
9239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9241 if (!SWIG_IsOK(res1
)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9244 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9246 if (!SWIG_IsOK(res2
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9252 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevExpanded((wxTreeItemId
const &)*arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9266 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= 0;
9268 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9269 bool arg2
= (bool) false ;
9270 wxTreeItemId result
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 char * kwnames
[] = {
9278 (char *) "self",(char *) "fullRow", NULL
9281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9283 if (!SWIG_IsOK(res1
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9286 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9288 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9289 if (!SWIG_IsOK(ecode2
)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9292 arg2
= static_cast< bool >(val2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetFirstVisibleItem(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9307 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
= 0;
9309 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9310 wxTreeItemId
*arg2
= 0 ;
9311 bool arg3
= (bool) false ;
9312 wxTreeItemId result
;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 PyObject
* obj2
= 0 ;
9322 char * kwnames
[] = {
9323 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9328 if (!SWIG_IsOK(res1
)) {
9329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9331 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9333 if (!SWIG_IsOK(res2
)) {
9334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9341 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9342 if (!SWIG_IsOK(ecode3
)) {
9343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9345 arg3
= static_cast< bool >(val3
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
,arg3
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9360 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
= 0;
9362 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9363 wxTreeItemId
*arg2
= 0 ;
9364 bool arg3
= (bool) false ;
9365 wxTreeItemId result
;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9374 PyObject
* obj2
= 0 ;
9375 char * kwnames
[] = {
9376 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9384 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9386 if (!SWIG_IsOK(res2
)) {
9387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9392 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9394 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9395 if (!SWIG_IsOK(ecode3
)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9398 arg3
= static_cast< bool >(val3
);
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
,arg3
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9413 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
= 0;
9415 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9416 wxString
*arg2
= 0 ;
9417 int arg3
= (int) -1 ;
9418 int arg4
= (int) -1 ;
9419 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
9420 wxTreeItemId result
;
9423 bool temp2
= false ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9432 PyObject
* obj3
= 0 ;
9433 PyObject
* obj4
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9443 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9445 arg2
= wxString_in_helper(obj1
);
9446 if (arg2
== NULL
) SWIG_fail
;
9450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9451 if (!SWIG_IsOK(ecode3
)) {
9452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9454 arg3
= static_cast< int >(val3
);
9457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9458 if (!SWIG_IsOK(ecode4
)) {
9459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9461 arg4
= static_cast< int >(val4
);
9464 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
9465 if (!SWIG_IsOK(res5
)) {
9466 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9490 SWIGINTERN PyObject
*_wrap_TreeListCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9493 wxTreeItemId
*arg2
= 0 ;
9494 wxString
*arg3
= 0 ;
9495 int arg4
= (int) -1 ;
9496 int arg5
= (int) -1 ;
9497 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
9498 wxTreeItemId result
;
9503 bool temp3
= false ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9512 PyObject
* obj3
= 0 ;
9513 PyObject
* obj4
= 0 ;
9514 PyObject
* obj5
= 0 ;
9515 char * kwnames
[] = {
9516 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9521 if (!SWIG_IsOK(res1
)) {
9522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9524 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9526 if (!SWIG_IsOK(res2
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9532 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9534 arg3
= wxString_in_helper(obj2
);
9535 if (arg3
== NULL
) SWIG_fail
;
9539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9540 if (!SWIG_IsOK(ecode4
)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9543 arg4
= static_cast< int >(val4
);
9546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9547 if (!SWIG_IsOK(ecode5
)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9550 arg5
= static_cast< int >(val5
);
9553 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
9554 if (!SWIG_IsOK(res6
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9579 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
= 0;
9581 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9582 wxTreeItemId
*arg2
= 0 ;
9583 wxTreeItemId
*arg3
= 0 ;
9584 wxString
*arg4
= 0 ;
9585 int arg5
= (int) -1 ;
9586 int arg6
= (int) -1 ;
9587 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
9588 wxTreeItemId result
;
9595 bool temp4
= false ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9603 PyObject
* obj2
= 0 ;
9604 PyObject
* obj3
= 0 ;
9605 PyObject
* obj4
= 0 ;
9606 PyObject
* obj5
= 0 ;
9607 PyObject
* obj6
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9617 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9619 if (!SWIG_IsOK(res2
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9625 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9626 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9627 if (!SWIG_IsOK(res3
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9633 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
9635 arg4
= wxString_in_helper(obj3
);
9636 if (arg4
== NULL
) SWIG_fail
;
9640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9641 if (!SWIG_IsOK(ecode5
)) {
9642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9644 arg5
= static_cast< int >(val5
);
9647 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9648 if (!SWIG_IsOK(ecode6
)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9651 arg6
= static_cast< int >(val6
);
9654 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
9655 if (!SWIG_IsOK(res7
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9680 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
= 0;
9682 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9683 wxTreeItemId
*arg2
= 0 ;
9685 wxString
*arg4
= 0 ;
9686 int arg5
= (int) -1 ;
9687 int arg6
= (int) -1 ;
9688 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
9689 wxTreeItemId result
;
9696 bool temp4
= false ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 PyObject
* obj2
= 0 ;
9705 PyObject
* obj3
= 0 ;
9706 PyObject
* obj4
= 0 ;
9707 PyObject
* obj5
= 0 ;
9708 PyObject
* obj6
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9718 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9720 if (!SWIG_IsOK(res2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9726 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9727 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9728 if (!SWIG_IsOK(ecode3
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9731 arg3
= static_cast< size_t >(val3
);
9733 arg4
= wxString_in_helper(obj3
);
9734 if (arg4
== NULL
) SWIG_fail
;
9738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9739 if (!SWIG_IsOK(ecode5
)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9742 arg5
= static_cast< int >(val5
);
9745 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9746 if (!SWIG_IsOK(ecode6
)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9749 arg6
= static_cast< int >(val6
);
9752 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
9753 if (!SWIG_IsOK(res7
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9778 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9781 wxTreeItemId
*arg2
= 0 ;
9782 wxString
*arg3
= 0 ;
9783 int arg4
= (int) -1 ;
9784 int arg5
= (int) -1 ;
9785 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
9786 wxTreeItemId result
;
9791 bool temp3
= false ;
9797 PyObject
* obj0
= 0 ;
9798 PyObject
* obj1
= 0 ;
9799 PyObject
* obj2
= 0 ;
9800 PyObject
* obj3
= 0 ;
9801 PyObject
* obj4
= 0 ;
9802 PyObject
* obj5
= 0 ;
9803 char * kwnames
[] = {
9804 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9812 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9814 if (!SWIG_IsOK(res2
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9820 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9822 arg3
= wxString_in_helper(obj2
);
9823 if (arg3
== NULL
) SWIG_fail
;
9827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9828 if (!SWIG_IsOK(ecode4
)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9831 arg4
= static_cast< int >(val4
);
9834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9835 if (!SWIG_IsOK(ecode5
)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9838 arg5
= static_cast< int >(val5
);
9841 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
9842 if (!SWIG_IsOK(res6
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9867 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
= 0;
9869 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9870 wxTreeItemId
*arg2
= 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "item", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9886 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9888 if (!SWIG_IsOK(res2
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9894 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_TreeListCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9911 wxTreeItemId
*arg2
= 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "item", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9927 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9929 if (!SWIG_IsOK(res2
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_Py_Void();
9949 SWIGINTERN PyObject
*_wrap_TreeListCtrl_DeleteRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 PyObject
*resultobj
= 0;
9951 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9954 PyObject
*swig_obj
[1] ;
9956 if (!args
) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9962 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->DeleteRoot();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_Py_Void();
9976 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= 0;
9978 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9979 wxTreeItemId
*arg2
= 0 ;
9984 PyObject
* obj0
= 0 ;
9985 PyObject
* obj1
= 0 ;
9986 char * kwnames
[] = {
9987 (char *) "self",(char *) "item", NULL
9990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9995 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9997 if (!SWIG_IsOK(res2
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10003 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_Py_Void();
10017 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
= 0;
10019 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10020 wxTreeItemId
*arg2
= 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char * kwnames
[] = {
10028 (char *) "self",(char *) "item", NULL
10031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ExpandAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10033 if (!SWIG_IsOK(res1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10036 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10038 if (!SWIG_IsOK(res2
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10044 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 (arg1
)->ExpandAll((wxTreeItemId
const &)*arg2
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_Py_Void();
10058 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10060 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10061 wxTreeItemId
*arg2
= 0 ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 char * kwnames
[] = {
10069 (char *) "self",(char *) "item", NULL
10072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10074 if (!SWIG_IsOK(res1
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10077 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10079 if (!SWIG_IsOK(res2
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10085 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_Py_Void();
10099 SWIGINTERN PyObject
*_wrap_TreeListCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
= 0;
10101 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10102 wxTreeItemId
*arg2
= 0 ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char * kwnames
[] = {
10110 (char *) "self",(char *) "item", NULL
10113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10115 if (!SWIG_IsOK(res1
)) {
10116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10118 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10120 if (!SWIG_IsOK(res2
)) {
10121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10126 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_Py_Void();
10140 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10143 wxTreeItemId
*arg2
= 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "self",(char *) "item", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10159 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10161 if (!SWIG_IsOK(res2
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10167 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_Py_Void();
10181 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10182 PyObject
*resultobj
= 0;
10183 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10186 PyObject
*swig_obj
[1] ;
10188 if (!args
) SWIG_fail
;
10189 swig_obj
[0] = args
;
10190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10194 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 (arg1
)->Unselect();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_Py_Void();
10208 SWIGINTERN PyObject
*_wrap_TreeListCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10209 PyObject
*resultobj
= 0;
10210 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10213 PyObject
*swig_obj
[1] ;
10215 if (!args
) SWIG_fail
;
10216 swig_obj
[0] = args
;
10217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10218 if (!SWIG_IsOK(res1
)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10221 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 (arg1
)->UnselectAll();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_Py_Void();
10235 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
= 0;
10237 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10238 wxTreeItemId
*arg2
= 0 ;
10239 wxTreeItemId
const &arg3_defvalue
= (wxTreeItemId
*) NULL
;
10240 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
10241 bool arg4
= (bool) true ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 PyObject
* obj3
= 0 ;
10254 char * kwnames
[] = {
10255 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10263 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10265 if (!SWIG_IsOK(res2
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10271 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10273 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10274 if (!SWIG_IsOK(res3
)) {
10275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10280 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
10283 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10284 if (!SWIG_IsOK(ecode4
)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10287 arg4
= static_cast< bool >(val4
);
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,arg4
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_Py_Void();
10302 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10307 PyObject
*swig_obj
[1] ;
10309 if (!args
) SWIG_fail
;
10310 swig_obj
[0] = args
;
10311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10315 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 (arg1
)->SelectAll();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_Py_Void();
10329 SWIGINTERN PyObject
*_wrap_TreeListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10332 wxTreeItemId
*arg2
= 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char * kwnames
[] = {
10340 (char *) "self",(char *) "item", NULL
10343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10345 if (!SWIG_IsOK(res1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10348 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10350 if (!SWIG_IsOK(res2
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_Py_Void();
10370 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10373 wxTreeItemId
*arg2
= 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char * kwnames
[] = {
10381 (char *) "self",(char *) "item", NULL
10384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10386 if (!SWIG_IsOK(res1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10389 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10391 if (!SWIG_IsOK(res2
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10397 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_Py_Void();
10411 SWIGINTERN PyObject
*_wrap_TreeListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
= 0;
10413 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10414 wxPoint
*arg2
= 0 ;
10417 wxTreeItemId result
;
10422 int res3
= SWIG_TMPOBJ
;
10424 int res4
= SWIG_TMPOBJ
;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char * kwnames
[] = {
10428 (char *) "self",(char *) "point", NULL
10433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10435 if (!SWIG_IsOK(res1
)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10438 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,*arg4
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
10450 if (SWIG_IsTmpObj(res3
)) {
10451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
10453 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
10454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
10456 if (SWIG_IsTmpObj(res4
)) {
10457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
10459 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
10460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
10468 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
= 0;
10470 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10471 wxTreeItemId
*arg2
= 0 ;
10472 bool arg3
= (bool) false ;
10473 PyObject
*result
= 0 ;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 char * kwnames
[] = {
10484 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10492 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10494 if (!SWIG_IsOK(res2
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10500 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10502 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10503 if (!SWIG_IsOK(ecode3
)) {
10504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10506 arg3
= static_cast< bool >(val3
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 result
= (PyObject
*)wxPyTreeListCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= result
;
10521 SWIGINTERN PyObject
*_wrap_TreeListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
= 0;
10523 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10524 wxTreeItemId
*arg2
= 0 ;
10525 int arg3
= (int) -1 ;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 PyObject
* obj2
= 0 ;
10535 char * kwnames
[] = {
10536 (char *) "self",(char *) "item",(char *) "column", NULL
10539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10541 if (!SWIG_IsOK(res1
)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10544 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10546 if (!SWIG_IsOK(res2
)) {
10547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10555 if (!SWIG_IsOK(ecode3
)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10558 arg3
= static_cast< int >(val3
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyTreeListCtrl_EditLabel(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10576 wxTreeItemId
*arg2
= 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "self",(char *) "item", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10592 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10594 if (!SWIG_IsOK(res2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10600 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_TreeListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10617 wxTreeItemId
*arg2
= 0 ;
10618 wxString
*arg3
= 0 ;
10619 int arg4
= (int) 0 ;
10620 wxTreeItemId result
;
10625 bool temp3
= false ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 PyObject
* obj3
= 0 ;
10632 char * kwnames
[] = {
10633 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10641 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10643 if (!SWIG_IsOK(res2
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10649 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10651 arg3
= wxString_in_helper(obj2
);
10652 if (arg3
== NULL
) SWIG_fail
;
10656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10657 if (!SWIG_IsOK(ecode4
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10660 arg4
= static_cast< int >(val4
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (arg1
)->FindItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
10683 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetDragItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10686 wxTreeItemId
const &arg2_defvalue
= (wxTreeItemId
*) NULL
;
10687 wxTreeItemId
*arg2
= (wxTreeItemId
*) &arg2_defvalue
;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "self",(char *) "item", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10700 if (!SWIG_IsOK(res1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10703 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10706 if (!SWIG_IsOK(res2
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10712 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->SetDragItem((wxTreeItemId
const &)*arg2
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_Py_Void();
10727 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetHeaderWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10728 PyObject
*resultobj
= 0;
10729 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10730 wxWindow
*result
= 0 ;
10733 PyObject
*swig_obj
[1] ;
10735 if (!args
) SWIG_fail
;
10736 swig_obj
[0] = args
;
10737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10741 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetHeaderWindow();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= wxPyMake_wxObject(result
, 0);
10757 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10758 PyObject
*resultobj
= 0;
10759 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10760 wxScrolledWindow
*result
= 0 ;
10763 PyObject
*swig_obj
[1] ;
10765 if (!args
) SWIG_fail
;
10766 swig_obj
[0] = args
;
10767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10771 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxScrolledWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetMainWindow();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= wxPyMake_wxObject(result
, 0);
10787 SWIGINTERN PyObject
*TreeListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10790 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_NewClientData(obj
));
10791 return SWIG_Py_Void();
10794 SWIGINTERN PyObject
*TreeListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 return SWIG_Python_InitShadowInstance(args
);
10798 SWIGINTERN PyObject
*_wrap_new_StaticPicture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxWindow
*arg1
= (wxWindow
*) 0 ;
10801 int arg2
= (int) -1 ;
10802 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
10803 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
10804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10808 long arg6
= (long) 0 ;
10809 wxString
const &arg7_defvalue
= wxPyStaticPictureNameStr
;
10810 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10811 wxStaticPicture
*result
= 0 ;
10822 bool temp7
= false ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 PyObject
* obj2
= 0 ;
10826 PyObject
* obj3
= 0 ;
10827 PyObject
* obj4
= 0 ;
10828 PyObject
* obj5
= 0 ;
10829 PyObject
* obj6
= 0 ;
10830 char * kwnames
[] = {
10831 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticPicture",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10842 if (!SWIG_IsOK(ecode2
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10845 arg2
= static_cast< int >(val2
);
10848 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10849 if (!SWIG_IsOK(res3
)) {
10850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10855 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
10860 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10866 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10870 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10871 if (!SWIG_IsOK(ecode6
)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10874 arg6
= static_cast< long >(val6
);
10878 arg7
= wxString_in_helper(obj6
);
10879 if (arg7
== NULL
) SWIG_fail
;
10884 if (!wxPyCheckForApp()) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (wxStaticPicture
*)new wxStaticPicture(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticPicture
, SWIG_POINTER_NEW
| 0 );
10905 SWIGINTERN PyObject
*_wrap_new_PreStaticPicture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10906 PyObject
*resultobj
= 0;
10907 wxStaticPicture
*result
= 0 ;
10909 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticPicture",0,0,0)) SWIG_fail
;
10911 if (!wxPyCheckForApp()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxStaticPicture
*)new wxStaticPicture();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticPicture
, SWIG_POINTER_OWN
| 0 );
10924 SWIGINTERN PyObject
*_wrap_StaticPicture_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
= 0;
10926 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10927 wxWindow
*arg2
= (wxWindow
*) 0 ;
10928 int arg3
= (int) -1 ;
10929 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
10930 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
10931 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10932 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10933 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10934 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10935 long arg7
= (long) 0 ;
10936 wxString
const &arg8_defvalue
= wxPyStaticPictureNameStr
;
10937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10951 bool temp8
= false ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 PyObject
* obj4
= 0 ;
10957 PyObject
* obj5
= 0 ;
10958 PyObject
* obj6
= 0 ;
10959 PyObject
* obj7
= 0 ;
10960 char * kwnames
[] = {
10961 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10969 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10971 if (!SWIG_IsOK(res2
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10977 if (!SWIG_IsOK(ecode3
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10980 arg3
= static_cast< int >(val3
);
10983 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10984 if (!SWIG_IsOK(res4
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10990 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
10995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11005 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11006 if (!SWIG_IsOK(ecode7
)) {
11007 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11009 arg7
= static_cast< long >(val7
);
11013 arg8
= wxString_in_helper(obj7
);
11014 if (arg8
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 SWIGINTERN PyObject
*_wrap_StaticPicture_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11044 wxBitmap
*arg2
= 0 ;
11049 PyObject
* obj0
= 0 ;
11050 PyObject
* obj1
= 0 ;
11051 char * kwnames
[] = {
11052 (char *) "self",(char *) "bmp", NULL
11055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11060 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11062 if (!SWIG_IsOK(res2
)) {
11063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11068 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_Py_Void();
11082 SWIGINTERN PyObject
*_wrap_StaticPicture_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11083 PyObject
*resultobj
= 0;
11084 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11088 PyObject
*swig_obj
[1] ;
11090 if (!args
) SWIG_fail
;
11091 swig_obj
[0] = args
;
11092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11096 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= ((wxStaticPicture
const *)arg1
)->GetBitmap();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11110 SWIGINTERN PyObject
*_wrap_StaticPicture_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char * kwnames
[] = {
11121 (char *) "self",(char *) "icon", NULL
11124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11129 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
11131 if (!SWIG_IsOK(res2
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11137 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_Py_Void();
11151 SWIGINTERN PyObject
*_wrap_StaticPicture_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11152 PyObject
*resultobj
= 0;
11153 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11157 PyObject
*swig_obj
[1] ;
11159 if (!args
) SWIG_fail
;
11160 swig_obj
[0] = args
;
11161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11165 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= ((wxStaticPicture
const *)arg1
)->GetIcon();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
11179 SWIGINTERN PyObject
*_wrap_StaticPicture_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
= 0;
11181 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char * kwnames
[] = {
11190 (char *) "self",(char *) "align", NULL
11193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11198 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11200 if (!SWIG_IsOK(ecode2
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11203 arg2
= static_cast< int >(val2
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->SetAlignment(arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_Py_Void();
11217 SWIGINTERN PyObject
*_wrap_StaticPicture_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11218 PyObject
*resultobj
= 0;
11219 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11223 PyObject
*swig_obj
[1] ;
11225 if (!args
) SWIG_fail
;
11226 swig_obj
[0] = args
;
11227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11231 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (int)((wxStaticPicture
const *)arg1
)->GetAlignment();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_From_int(static_cast< int >(result
));
11245 SWIGINTERN PyObject
*_wrap_StaticPicture_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
= 0;
11247 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 char * kwnames
[] = {
11256 (char *) "self",(char *) "scale", NULL
11259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetScale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11264 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11266 if (!SWIG_IsOK(ecode2
)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11269 arg2
= static_cast< int >(val2
);
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->SetScale(arg2
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= SWIG_Py_Void();
11283 SWIGINTERN PyObject
*_wrap_StaticPicture_GetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11284 PyObject
*resultobj
= 0;
11285 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11289 PyObject
*swig_obj
[1] ;
11291 if (!args
) SWIG_fail
;
11292 swig_obj
[0] = args
;
11293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11294 if (!SWIG_IsOK(res1
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11297 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (int)((wxStaticPicture
const *)arg1
)->GetScale();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_From_int(static_cast< int >(result
));
11311 SWIGINTERN PyObject
*_wrap_StaticPicture_SetCustomScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
= 0;
11313 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 PyObject
* obj2
= 0 ;
11325 char * kwnames
[] = {
11326 (char *) "self",(char *) "sx",(char *) "sy", NULL
11329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StaticPicture_SetCustomScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11334 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11335 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
11336 if (!SWIG_IsOK(ecode2
)) {
11337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11339 arg2
= static_cast< float >(val2
);
11340 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
11341 if (!SWIG_IsOK(ecode3
)) {
11342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11344 arg3
= static_cast< float >(val3
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 (arg1
)->SetCustomScale(arg2
,arg3
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_Py_Void();
11358 SWIGINTERN PyObject
*_wrap_StaticPicture_GetCustomScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11359 PyObject
*resultobj
= 0;
11360 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
11361 float *arg2
= (float *) 0 ;
11362 float *arg3
= (float *) 0 ;
11366 int res2
= SWIG_TMPOBJ
;
11368 int res3
= SWIG_TMPOBJ
;
11369 PyObject
*swig_obj
[1] ;
11373 if (!args
) SWIG_fail
;
11374 swig_obj
[0] = args
;
11375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
11376 if (!SWIG_IsOK(res1
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11379 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 ((wxStaticPicture
const *)arg1
)->GetCustomScale(arg2
,arg3
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11387 if (SWIG_IsTmpObj(res2
)) {
11388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_float((*arg2
)));
11390 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_float
, new_flags
));
11393 if (SWIG_IsTmpObj(res3
)) {
11394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_float((*arg3
)));
11396 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
11397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_float
, new_flags
));
11405 SWIGINTERN PyObject
*StaticPicture_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11408 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture
, SWIG_NewClientData(obj
));
11409 return SWIG_Py_Void();
11412 SWIGINTERN PyObject
*StaticPicture_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11413 return SWIG_Python_InitShadowInstance(args
);
11416 static PyMethodDef SwigMethods
[] = {
11417 { (char *)"new_DynamicSashSplitEvent", (PyCFunction
) _wrap_new_DynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11418 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister
, METH_VARARGS
, NULL
},
11419 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit
, METH_VARARGS
, NULL
},
11420 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction
) _wrap_new_DynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11421 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister
, METH_VARARGS
, NULL
},
11422 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit
, METH_VARARGS
, NULL
},
11423 { (char *)"new_DynamicSashWindow", (PyCFunction
) _wrap_new_DynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11424 { (char *)"new_PreDynamicSashWindow", (PyCFunction
)_wrap_new_PreDynamicSashWindow
, METH_NOARGS
, NULL
},
11425 { (char *)"DynamicSashWindow_Create", (PyCFunction
) _wrap_DynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11426 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11427 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11428 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister
, METH_VARARGS
, NULL
},
11429 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit
, METH_VARARGS
, NULL
},
11430 { (char *)"new_EditableListBox", (PyCFunction
) _wrap_new_EditableListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11431 { (char *)"EditableListBox_SetStrings", (PyCFunction
) _wrap_EditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11432 { (char *)"EditableListBox_GetStrings", (PyCFunction
)_wrap_EditableListBox_GetStrings
, METH_O
, NULL
},
11433 { (char *)"EditableListBox_GetListCtrl", (PyCFunction
)_wrap_EditableListBox_GetListCtrl
, METH_O
, NULL
},
11434 { (char *)"EditableListBox_GetDelButton", (PyCFunction
)_wrap_EditableListBox_GetDelButton
, METH_O
, NULL
},
11435 { (char *)"EditableListBox_GetNewButton", (PyCFunction
)_wrap_EditableListBox_GetNewButton
, METH_O
, NULL
},
11436 { (char *)"EditableListBox_GetUpButton", (PyCFunction
)_wrap_EditableListBox_GetUpButton
, METH_O
, NULL
},
11437 { (char *)"EditableListBox_GetDownButton", (PyCFunction
)_wrap_EditableListBox_GetDownButton
, METH_O
, NULL
},
11438 { (char *)"EditableListBox_GetEditButton", (PyCFunction
)_wrap_EditableListBox_GetEditButton
, METH_O
, NULL
},
11439 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister
, METH_VARARGS
, NULL
},
11440 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit
, METH_VARARGS
, NULL
},
11441 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_RemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11442 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar
, METH_O
, NULL
},
11443 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_O
, NULL
},
11444 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_O
, NULL
},
11445 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11446 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11447 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_O
, NULL
},
11448 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister
, METH_VARARGS
, NULL
},
11449 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit
, METH_VARARGS
, NULL
},
11450 { (char *)"new_TreeCompanionWindow", (PyCFunction
) _wrap_new_TreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11451 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_TreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11452 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction
)_wrap_TreeCompanionWindow_GetTreeCtrl
, METH_O
, NULL
},
11453 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_TreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11454 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister
, METH_VARARGS
, NULL
},
11455 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit
, METH_VARARGS
, NULL
},
11456 { (char *)"new_ThinSplitterWindow", (PyCFunction
) _wrap_new_ThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11457 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister
, METH_VARARGS
, NULL
},
11458 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit
, METH_VARARGS
, NULL
},
11459 { (char *)"new_SplitterScrolledWindow", (PyCFunction
) _wrap_new_SplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11460 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
11461 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
11462 { (char *)"new_LEDNumberCtrl", (PyCFunction
) _wrap_new_LEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11463 { (char *)"new_PreLEDNumberCtrl", (PyCFunction
)_wrap_new_PreLEDNumberCtrl
, METH_NOARGS
, NULL
},
11464 { (char *)"LEDNumberCtrl_Create", (PyCFunction
) _wrap_LEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11465 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction
)_wrap_LEDNumberCtrl_GetAlignment
, METH_O
, NULL
},
11466 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction
)_wrap_LEDNumberCtrl_GetDrawFaded
, METH_O
, NULL
},
11467 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction
)_wrap_LEDNumberCtrl_GetValue
, METH_O
, NULL
},
11468 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_LEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11469 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_LEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11470 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction
) _wrap_LEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11471 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister
, METH_VARARGS
, NULL
},
11472 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit
, METH_VARARGS
, NULL
},
11473 { (char *)"new_TreeListColumnInfo", (PyCFunction
) _wrap_new_TreeListColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11474 { (char *)"delete_TreeListColumnInfo", (PyCFunction
)_wrap_delete_TreeListColumnInfo
, METH_O
, NULL
},
11475 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction
)_wrap_TreeListColumnInfo_GetAlignment
, METH_O
, NULL
},
11476 { (char *)"TreeListColumnInfo_GetText", (PyCFunction
)_wrap_TreeListColumnInfo_GetText
, METH_O
, NULL
},
11477 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction
)_wrap_TreeListColumnInfo_GetImage
, METH_O
, NULL
},
11478 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction
)_wrap_TreeListColumnInfo_GetSelectedImage
, METH_O
, NULL
},
11479 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction
)_wrap_TreeListColumnInfo_GetWidth
, METH_O
, NULL
},
11480 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction
)_wrap_TreeListColumnInfo_IsEditable
, METH_O
, NULL
},
11481 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction
)_wrap_TreeListColumnInfo_IsShown
, METH_O
, NULL
},
11482 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction
) _wrap_TreeListColumnInfo_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11483 { (char *)"TreeListColumnInfo_SetText", (PyCFunction
) _wrap_TreeListColumnInfo_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11484 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11485 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11486 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction
) _wrap_TreeListColumnInfo_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11487 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction
) _wrap_TreeListColumnInfo_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11488 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction
) _wrap_TreeListColumnInfo_SetShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11489 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister
, METH_VARARGS
, NULL
},
11490 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit
, METH_VARARGS
, NULL
},
11491 { (char *)"new_TreeListCtrl", (PyCFunction
) _wrap_new_TreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11492 { (char *)"new_PreTreeListCtrl", (PyCFunction
)_wrap_new_PreTreeListCtrl
, METH_NOARGS
, NULL
},
11493 { (char *)"TreeListCtrl_Create", (PyCFunction
) _wrap_TreeListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11494 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11495 { (char *)"TreeListCtrl_GetCount", (PyCFunction
)_wrap_TreeListCtrl_GetCount
, METH_O
, NULL
},
11496 { (char *)"TreeListCtrl_GetIndent", (PyCFunction
)_wrap_TreeListCtrl_GetIndent
, METH_O
, NULL
},
11497 { (char *)"TreeListCtrl_SetIndent", (PyCFunction
) _wrap_TreeListCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11498 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction
)_wrap_TreeListCtrl_GetLineSpacing
, METH_O
, NULL
},
11499 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction
) _wrap_TreeListCtrl_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11500 { (char *)"TreeListCtrl_GetImageList", (PyCFunction
)_wrap_TreeListCtrl_GetImageList
, METH_O
, NULL
},
11501 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeListCtrl_GetStateImageList
, METH_O
, NULL
},
11502 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction
)_wrap_TreeListCtrl_GetButtonsImageList
, METH_O
, NULL
},
11503 { (char *)"TreeListCtrl_SetImageList", (PyCFunction
) _wrap_TreeListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11504 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeListCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11505 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_SetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11506 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11507 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11508 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11509 { (char *)"TreeListCtrl_AddColumn", (PyCFunction
) _wrap_TreeListCtrl_AddColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11510 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_AddColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11511 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction
) _wrap_TreeListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11512 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11513 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction
) _wrap_TreeListCtrl_RemoveColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11514 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction
)_wrap_TreeListCtrl_GetColumnCount
, METH_O
, NULL
},
11515 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction
) _wrap_TreeListCtrl_SetMainColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11516 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction
)_wrap_TreeListCtrl_GetMainColumn
, METH_O
, NULL
},
11517 { (char *)"TreeListCtrl_SetColumn", (PyCFunction
) _wrap_TreeListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11518 { (char *)"TreeListCtrl_GetColumn", (PyCFunction
) _wrap_TreeListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11519 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction
) _wrap_TreeListCtrl_SetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11520 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction
) _wrap_TreeListCtrl_GetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11521 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11522 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11523 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_SetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11524 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_GetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11525 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11526 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_GetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11527 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction
) _wrap_TreeListCtrl_SetColumnShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11528 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction
) _wrap_TreeListCtrl_IsColumnShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11529 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction
) _wrap_TreeListCtrl_SetColumnEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11530 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction
) _wrap_TreeListCtrl_IsColumnEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11531 { (char *)"TreeListCtrl_GetItemText", (PyCFunction
) _wrap_TreeListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11532 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction
) _wrap_TreeListCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11533 { (char *)"TreeListCtrl_SetItemText", (PyCFunction
) _wrap_TreeListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11534 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction
) _wrap_TreeListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11535 { (char *)"TreeListCtrl_GetItemData", (PyCFunction
) _wrap_TreeListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11536 { (char *)"TreeListCtrl_SetItemData", (PyCFunction
) _wrap_TreeListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11537 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11538 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11539 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction
) _wrap_TreeListCtrl_GetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11540 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11541 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11542 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction
) _wrap_TreeListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11543 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeListCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11544 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction
) _wrap_TreeListCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11545 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11546 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11547 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction
) _wrap_TreeListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11548 { (char *)"TreeListCtrl_IsVisible", (PyCFunction
) _wrap_TreeListCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11549 { (char *)"TreeListCtrl_HasChildren", (PyCFunction
) _wrap_TreeListCtrl_HasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11550 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction
) _wrap_TreeListCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11551 { (char *)"TreeListCtrl_IsSelected", (PyCFunction
) _wrap_TreeListCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11552 { (char *)"TreeListCtrl_IsBold", (PyCFunction
) _wrap_TreeListCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11553 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeListCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11554 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction
)_wrap_TreeListCtrl_GetRootItem
, METH_O
, NULL
},
11555 { (char *)"TreeListCtrl_GetSelection", (PyCFunction
)_wrap_TreeListCtrl_GetSelection
, METH_O
, NULL
},
11556 { (char *)"TreeListCtrl_GetSelections", (PyCFunction
)_wrap_TreeListCtrl_GetSelections
, METH_O
, NULL
},
11557 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction
) _wrap_TreeListCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11558 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeListCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11559 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction
) _wrap_TreeListCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11560 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction
) _wrap_TreeListCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11561 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction
) _wrap_TreeListCtrl_GetPrevChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11562 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeListCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11563 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeListCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11564 { (char *)"TreeListCtrl_GetNext", (PyCFunction
) _wrap_TreeListCtrl_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11565 { (char *)"TreeListCtrl_GetPrev", (PyCFunction
) _wrap_TreeListCtrl_GetPrev
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11566 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction
)_wrap_TreeListCtrl_GetFirstExpandedItem
, METH_O
, NULL
},
11567 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction
) _wrap_TreeListCtrl_GetNextExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11568 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction
) _wrap_TreeListCtrl_GetPrevExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11569 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeListCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11570 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeListCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11571 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeListCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11572 { (char *)"TreeListCtrl_AddRoot", (PyCFunction
) _wrap_TreeListCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11573 { (char *)"TreeListCtrl_PrependItem", (PyCFunction
) _wrap_TreeListCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11574 { (char *)"TreeListCtrl_InsertItem", (PyCFunction
) _wrap_TreeListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11575 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeListCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11576 { (char *)"TreeListCtrl_AppendItem", (PyCFunction
) _wrap_TreeListCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11577 { (char *)"TreeListCtrl_Delete", (PyCFunction
) _wrap_TreeListCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11578 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeListCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11579 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction
)_wrap_TreeListCtrl_DeleteRoot
, METH_O
, NULL
},
11580 { (char *)"TreeListCtrl_Expand", (PyCFunction
) _wrap_TreeListCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11581 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction
) _wrap_TreeListCtrl_ExpandAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11582 { (char *)"TreeListCtrl_Collapse", (PyCFunction
) _wrap_TreeListCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11583 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeListCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11584 { (char *)"TreeListCtrl_Toggle", (PyCFunction
) _wrap_TreeListCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11585 { (char *)"TreeListCtrl_Unselect", (PyCFunction
)_wrap_TreeListCtrl_Unselect
, METH_O
, NULL
},
11586 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction
)_wrap_TreeListCtrl_UnselectAll
, METH_O
, NULL
},
11587 { (char *)"TreeListCtrl_SelectItem", (PyCFunction
) _wrap_TreeListCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11588 { (char *)"TreeListCtrl_SelectAll", (PyCFunction
)_wrap_TreeListCtrl_SelectAll
, METH_O
, NULL
},
11589 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11590 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction
) _wrap_TreeListCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11591 { (char *)"TreeListCtrl_HitTest", (PyCFunction
) _wrap_TreeListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11592 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeListCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11593 { (char *)"TreeListCtrl_EditLabel", (PyCFunction
) _wrap_TreeListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11594 { (char *)"TreeListCtrl_SortChildren", (PyCFunction
) _wrap_TreeListCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11595 { (char *)"TreeListCtrl_FindItem", (PyCFunction
) _wrap_TreeListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11596 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction
) _wrap_TreeListCtrl_SetDragItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11597 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction
)_wrap_TreeListCtrl_GetHeaderWindow
, METH_O
, NULL
},
11598 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction
)_wrap_TreeListCtrl_GetMainWindow
, METH_O
, NULL
},
11599 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister
, METH_VARARGS
, NULL
},
11600 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit
, METH_VARARGS
, NULL
},
11601 { (char *)"new_StaticPicture", (PyCFunction
) _wrap_new_StaticPicture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11602 { (char *)"new_PreStaticPicture", (PyCFunction
)_wrap_new_PreStaticPicture
, METH_NOARGS
, NULL
},
11603 { (char *)"StaticPicture_Create", (PyCFunction
) _wrap_StaticPicture_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11604 { (char *)"StaticPicture_SetBitmap", (PyCFunction
) _wrap_StaticPicture_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11605 { (char *)"StaticPicture_GetBitmap", (PyCFunction
)_wrap_StaticPicture_GetBitmap
, METH_O
, NULL
},
11606 { (char *)"StaticPicture_SetIcon", (PyCFunction
) _wrap_StaticPicture_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11607 { (char *)"StaticPicture_GetIcon", (PyCFunction
)_wrap_StaticPicture_GetIcon
, METH_O
, NULL
},
11608 { (char *)"StaticPicture_SetAlignment", (PyCFunction
) _wrap_StaticPicture_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11609 { (char *)"StaticPicture_GetAlignment", (PyCFunction
)_wrap_StaticPicture_GetAlignment
, METH_O
, NULL
},
11610 { (char *)"StaticPicture_SetScale", (PyCFunction
) _wrap_StaticPicture_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11611 { (char *)"StaticPicture_GetScale", (PyCFunction
)_wrap_StaticPicture_GetScale
, METH_O
, NULL
},
11612 { (char *)"StaticPicture_SetCustomScale", (PyCFunction
) _wrap_StaticPicture_SetCustomScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11613 { (char *)"StaticPicture_GetCustomScale", (PyCFunction
)_wrap_StaticPicture_GetCustomScale
, METH_O
, NULL
},
11614 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister
, METH_VARARGS
, NULL
},
11615 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit
, METH_VARARGS
, NULL
},
11616 { NULL
, NULL
, 0, NULL
}
11620 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11622 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
11623 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
11625 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11626 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11628 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11629 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11631 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11632 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11634 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x
) {
11635 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11637 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11638 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11640 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11641 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11643 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11644 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11646 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x
) {
11647 return (void *)((wxPanel
*) ((wxEditableListBox
*) x
));
11649 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11650 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11652 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11653 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11655 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11656 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11658 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
11659 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
11661 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11662 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11664 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11665 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11667 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
11668 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
11670 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
11671 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
11673 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x
) {
11674 return (void *)((wxWindow
*) (wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
11676 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11677 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11679 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
11680 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
11682 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
11683 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
11685 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
11686 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
11688 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
11689 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
11691 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x
) {
11692 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeListCtrl
*) x
));
11694 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11695 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11697 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
11698 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
11700 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11701 return (void *)((wxWindow
*) ((wxControl
*) x
));
11703 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
11704 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
11706 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
11707 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
11709 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
11710 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
11712 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
11713 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
11715 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
11716 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
11718 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
11719 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
11721 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
11722 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
11724 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
11725 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
11727 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
11728 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
11730 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
11731 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
11733 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11734 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11736 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
11737 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
11739 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11740 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11742 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11745 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
11746 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
11748 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11749 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11751 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11752 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11754 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11755 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11757 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11758 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11760 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11761 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11763 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
11764 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
11766 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11769 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11772 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11773 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11775 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
11776 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
11778 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
11779 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
11781 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
11782 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
11784 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
11785 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
11787 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
11788 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
11790 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
11791 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
11793 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11794 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11796 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11797 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11799 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x
) {
11800 return (void *)((wxWindow
*) (wxPanel
*) ((wxEditableListBox
*) x
));
11802 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x
) {
11803 return (void *)((wxWindow
*) (wxControl
*) ((wxLEDNumberCtrl
*) x
));
11805 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
11806 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
11808 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
11809 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
11811 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
11812 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
11814 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
11815 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
11817 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
11818 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
11820 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
11821 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
11823 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
11824 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
11826 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11827 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11829 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11830 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11832 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
11833 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
11835 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11836 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11838 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11839 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11841 static void *_p_wxStaticPictureTo_p_wxWindow(void *x
) {
11842 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticPicture
*) x
));
11844 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11845 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11847 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11848 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11850 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11851 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11853 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11854 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11856 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11857 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11859 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11860 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11862 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11863 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11865 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11866 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11868 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11869 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11871 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11872 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11874 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11875 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11877 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11878 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11880 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11881 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11883 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x
) {
11884 return (void *)((wxWindow
*) ((wxDynamicSashWindow
*) x
));
11886 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x
) {
11887 return (void *)((wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
11889 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x
) {
11890 return (void *)((wxWindow
*) (wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
11892 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x
) {
11893 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11895 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11896 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11898 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11899 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11901 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11902 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11904 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11907 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11908 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11910 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
11911 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
11913 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11914 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11916 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11917 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11919 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
11920 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
11922 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
11923 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
11925 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
11926 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
11928 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
11929 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
11931 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
11932 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
11934 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11935 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11937 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
11938 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
11940 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
11941 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
11943 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x
) {
11944 return (void *)((wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
11946 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11947 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11949 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11950 return (void *)((wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11952 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11953 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11955 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
11956 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
11958 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
11959 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
11961 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
11962 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
11964 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
11965 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
11967 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
11968 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
11970 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x
) {
11971 return (void *)((wxControl
*) ((wxLEDNumberCtrl
*) x
));
11973 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
11974 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
11976 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
11977 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
11979 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
11980 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
11982 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
11983 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
11985 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
11986 return (void *)((wxControl
*) ((wxComboBox
*) x
));
11988 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
11989 return (void *)((wxControl
*) ((wxPyControl
*) x
));
11991 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x
) {
11992 return (void *)((wxControl
*) ((wxPyTreeListCtrl
*) x
));
11994 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
11995 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
11997 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
11998 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
12000 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
12001 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
12003 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
12004 return (void *)((wxControl
*) ((wxGauge
*) x
));
12006 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
12007 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
12009 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
12010 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
12012 static void *_p_wxListbookTo_p_wxControl(void *x
) {
12013 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
12015 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
12016 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
12018 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
12019 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
12021 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x
) {
12022 return (void *)((wxControl
*) (wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
12024 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
12025 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
12027 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
12028 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
12030 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
12031 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
12033 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
12034 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
12036 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
12037 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
12039 static void *_p_wxListViewTo_p_wxControl(void *x
) {
12040 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
12042 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
12043 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
12045 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
12046 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
12048 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
12049 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
12051 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
12052 return (void *)((wxControl
*) ((wxStaticText
*) x
));
12054 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
12055 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
12057 static void *_p_wxSliderTo_p_wxControl(void *x
) {
12058 return (void *)((wxControl
*) ((wxSlider
*) x
));
12060 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
12061 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
12063 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
12064 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
12066 static void *_p_wxButtonTo_p_wxControl(void *x
) {
12067 return (void *)((wxControl
*) ((wxButton
*) x
));
12069 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
12070 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
12072 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
12073 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
12075 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
12076 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
12078 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
12079 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
12081 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
12082 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
12084 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
12085 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
12087 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
12088 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
12090 static void *_p_wxStaticPictureTo_p_wxControl(void *x
) {
12091 return (void *)((wxControl
*) ((wxStaticPicture
*) x
));
12093 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
12094 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
12096 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
12097 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
12099 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
12100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12102 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
12103 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
12105 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
12106 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
12108 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
12109 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
12111 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
12112 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
12114 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
12115 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
12117 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
12118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
12120 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
12121 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
12123 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
12124 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12126 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
12127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
12129 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
12130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
12132 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
12133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
12135 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
12136 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
12138 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
12139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
12141 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
12142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12144 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
12145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
12147 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
12148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12150 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
12151 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12153 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
12154 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
12156 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
12157 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12159 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
12160 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
12162 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x
) {
12163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
12165 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x
) {
12166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
12168 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
12169 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
12171 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
12172 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
12174 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
12175 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
12177 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
12178 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
12180 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
12181 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
12183 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
12184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
12186 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
12187 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
12189 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
12190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12192 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
12193 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12195 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
12196 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
12198 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
12199 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
12201 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
12202 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
12204 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
12205 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
12207 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
12208 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
12210 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
12211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
12213 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
12214 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
12216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
12217 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
12219 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
12220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12222 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
12223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12225 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
12226 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12228 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
12229 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12231 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
12232 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12234 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
12235 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12237 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
12238 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
12240 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
12241 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
12243 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
12244 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
12246 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
12247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12249 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
12250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
12252 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
12253 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12255 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
12256 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
12258 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
12259 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
12261 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
12262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12264 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
12265 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12267 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
12268 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12270 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
12271 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
12273 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
12274 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
12276 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
12277 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12279 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
12280 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
12282 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
12283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
12285 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12288 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
12289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12291 static void *_p_wxEventTo_p_wxObject(void *x
) {
12292 return (void *)((wxObject
*) ((wxEvent
*) x
));
12294 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
12295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12297 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12298 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12300 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12301 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12303 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
12304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12306 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
12307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12309 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
12310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
12312 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12313 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12315 static void *_p_wxImageTo_p_wxObject(void *x
) {
12316 return (void *)((wxObject
*) ((wxImage
*) x
));
12318 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12319 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12321 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
12322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
12324 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
12325 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
12327 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
12328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
12330 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
12331 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12333 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
12334 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
12336 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12339 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
12340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
12342 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
12343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
12345 static void *_p_wxListItemTo_p_wxObject(void *x
) {
12346 return (void *)((wxObject
*) ((wxListItem
*) x
));
12348 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
12349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
12351 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
12352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
12354 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
12355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
12357 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x
) {
12358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
12360 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
12361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12363 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
12364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12366 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
12367 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
12369 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
12370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
12372 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12373 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12375 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12378 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12379 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12381 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12382 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12384 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12385 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12387 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
12388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
12390 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
12391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
12393 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
12394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
12396 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12399 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
12400 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
12402 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
12403 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
12405 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
12406 return (void *)((wxObject
*) ((wxPrinter
*) x
));
12408 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12411 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
12412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
12414 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12415 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12417 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12418 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12420 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12421 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12423 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x
) {
12424 return (void *)((wxObject
*) ((wxTreeListColumnInfo
*) x
));
12426 static void *_p_wxControlTo_p_wxObject(void *x
) {
12427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12429 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
12430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
12432 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
12433 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
12435 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
12436 return (void *)((wxObject
*) ((wxColourData
*) x
));
12438 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12439 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12441 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12442 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12444 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12445 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12447 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12448 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12450 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12451 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12454 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12456 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12459 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12460 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12462 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
12463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
12465 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
12466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
12468 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
12469 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
12471 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
12472 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
12474 static void *_p_wxListEventTo_p_wxObject(void *x
) {
12475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
12477 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x
) {
12478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
12480 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
12481 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
12483 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
12484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
12486 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
12487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12489 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
12490 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
12492 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
12493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
12495 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
12496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
12498 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
12499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
12501 static void *_p_wxButtonTo_p_wxObject(void *x
) {
12502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
12504 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
12505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
12507 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12508 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12510 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12511 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12513 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12516 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
12517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
12519 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
12520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
12522 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
12523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
12525 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
12526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12528 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
12529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12531 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
12532 return (void *)((wxObject
*) ((wxPrintData
*) x
));
12534 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
12535 return (void *)((wxObject
*) ((wxFontData
*) x
));
12537 static void *_p_wxEditableListBoxTo_p_wxObject(void *x
) {
12538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
12540 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
12541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12543 static void *_p_wxListbookTo_p_wxObject(void *x
) {
12544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
12546 static void *_p_wxFrameTo_p_wxObject(void *x
) {
12547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12549 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
12550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12552 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
12553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
12555 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
12556 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
12558 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
12559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12561 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12562 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12564 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
12565 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
12567 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
12568 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
12570 static void *_p_wxListViewTo_p_wxObject(void *x
) {
12571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
12573 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12574 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12576 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
12577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
12579 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
12580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
12582 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x
) {
12583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
12585 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12586 return (void *)((wxObject
*) ((wxSizer
*) x
));
12588 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12589 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12591 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12592 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12594 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12595 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12597 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12598 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12600 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12601 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12603 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
12604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
12606 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12607 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12609 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
12610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
12612 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
12613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12615 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12616 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12618 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
12619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
12621 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
12622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
12624 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
12625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
12627 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
12628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
12630 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12633 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12634 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12636 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12637 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12639 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
12640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
12642 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
12643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
12645 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
12646 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
12648 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
12649 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
12651 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
12652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12654 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
12655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12657 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
12658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12660 static void *_p_wxDialogTo_p_wxObject(void *x
) {
12661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12663 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12666 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12667 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12669 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
12670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
12672 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x
) {
12673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
12675 static void *_p_wxStaticPictureTo_p_wxObject(void *x
) {
12676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticPicture
*) x
));
12678 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12679 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12681 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12684 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12687 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12688 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12690 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12693 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12696 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12697 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12699 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12700 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12702 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12703 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12705 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12708 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12711 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12712 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12714 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12717 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12720 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12721 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12723 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
12724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
12726 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12729 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12732 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12735 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12738 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12741 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12744 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12747 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12750 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12753 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12756 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12759 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12762 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12763 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12765 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x
) {
12766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxDynamicSashWindow
*) x
));
12768 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x
) {
12769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
12771 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x
) {
12772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
12774 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x
) {
12775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
12777 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
12778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
12780 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
12781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
12783 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
12784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
12786 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
12787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
12789 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
12790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
12792 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
12793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
12795 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12798 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12801 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12804 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
12805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
12807 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12810 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12813 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12816 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12819 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12822 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
12823 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
12825 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12828 static void *_p_wxSliderTo_p_wxObject(void *x
) {
12829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
12831 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
12832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
12834 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
12835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
12837 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
12838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
12840 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
12841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
12843 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
12844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
12846 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12847 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12849 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12850 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12852 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12853 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12855 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12856 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12858 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
12859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
12861 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
12862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
12864 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
12865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
12867 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12870 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
12871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
12873 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12874 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12876 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12877 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12879 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12880 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12882 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12885 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x
) {
12886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
12888 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12889 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12891 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12894 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
12895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
12897 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
12898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
12900 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12903 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12906 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12907 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12909 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12910 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12912 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12915 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12918 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
12919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
12921 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12924 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12927 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
12928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
12930 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
12931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
12933 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x
) {
12934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
12936 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12939 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12940 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12942 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
12943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
12945 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
12946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
12948 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
12949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
12951 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
12952 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
12954 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x
) {
12955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
12957 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12960 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
12961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
12963 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12964 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12966 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
12967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
12969 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
12970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
12972 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
12973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
12975 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
12976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
12978 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
12979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
12981 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
12982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
12984 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
12985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
12987 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
12988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
12990 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
12991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
12993 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
12994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
12996 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12999 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
13000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
13002 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
13003 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
13005 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
13006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
13008 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
13009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
13011 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
13012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
13014 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
13015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
13017 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
13018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
13020 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
13021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
13023 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
13024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
13026 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
13027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
13029 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
13030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
13032 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
13033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
13035 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
13036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
13038 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
13039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
13041 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
13042 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
13044 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
13045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
13047 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
13048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
13050 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
13051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
13053 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
13054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
13056 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
13057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
13059 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
13060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
13062 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x
) {
13063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
13065 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x
) {
13066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
13068 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
13069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
13071 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
13072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
13074 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
13075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
13077 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
13078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
13080 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
13081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
13083 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
13084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
13086 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
13087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
13089 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
13090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
13092 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
13093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
13095 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
13096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
13098 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
13099 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
13101 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
13102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
13104 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x
) {
13105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticPicture
*) x
));
13107 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
13108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
13110 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
13111 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
13113 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
13114 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
13116 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
13117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
13119 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
13120 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
13122 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
13123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
13125 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
13126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
13128 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
13129 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
13131 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
13132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
13134 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
13135 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
13137 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
13138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
13140 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
13141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
13143 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
13144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
13146 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
13147 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
13149 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
13150 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
13152 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x
) {
13153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxDynamicSashWindow
*) x
));
13155 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x
) {
13156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
13158 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x
) {
13159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
13161 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x
) {
13162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
13164 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
13165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
13167 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
13168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
13170 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
13171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
13173 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
13174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
13176 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
13177 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
13179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
13180 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
13182 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
13183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
13185 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
13188 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
13189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
13191 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
13192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
13194 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
13195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
13197 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
13198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
13200 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
13201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
13203 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
13204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
13206 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
13207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13209 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
13210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
13212 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
13213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
13215 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
13216 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
13218 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
13219 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
13221 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x
) {
13222 return (void *)((wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
13224 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
13225 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
13227 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
13228 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13230 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
13231 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
13233 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
13234 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
13236 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
13237 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
13239 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
13240 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
13242 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
13243 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
13245 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
13246 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
13248 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
13249 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
13251 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
13252 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
13254 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
13255 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13257 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
13258 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13260 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
13261 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13263 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
13264 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
13266 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
13267 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
13269 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
13270 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
13272 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
13273 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
13275 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
13276 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
13278 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
13279 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
13281 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
13282 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13284 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
13285 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
13287 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x
) {
13288 return (void *)((wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
13290 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
13291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
13293 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
13294 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
13296 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
13297 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
13299 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
13300 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
13302 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
13303 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13305 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x
) {
13306 return (void *)((wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
13308 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
13309 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
13311 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
13312 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13314 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
13315 static swig_type_info _swigt__p_float
= {"_p_float", "float *", 0, 0, (void*)0, 0};
13316 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13317 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
13318 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13319 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13320 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13321 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13322 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13323 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13324 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13325 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13326 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13327 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13328 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13329 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13330 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13331 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13332 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13333 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13334 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13335 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13336 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13337 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13338 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13339 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13340 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13341 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13342 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13343 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13344 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13345 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", 0, 0, 0, 0, 0};
13346 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13347 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13348 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13349 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13350 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13351 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13352 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13353 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13354 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13355 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", 0, 0, 0, 0, 0};
13356 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13357 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13358 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13359 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", 0, 0, 0, 0, 0};
13360 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", 0, 0, 0, 0, 0};
13361 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13362 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13363 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", 0, 0, 0, 0, 0};
13364 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13365 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13366 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", 0, 0, 0, 0, 0};
13367 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13368 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13369 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", 0, 0, 0, 0, 0};
13370 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13371 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13372 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13373 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", 0, 0, 0, 0, 0};
13374 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", 0, 0, 0, 0, 0};
13375 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13376 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", 0, 0, 0, 0, 0};
13377 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", 0, 0, 0, 0, 0};
13378 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13379 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13380 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", 0, 0, 0, 0, 0};
13381 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13382 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", 0, 0, 0, 0, 0};
13383 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", 0, 0, 0, 0, 0};
13384 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13385 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", 0, 0, 0, 0, 0};
13386 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13387 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13388 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13389 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13390 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13391 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13392 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13393 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13394 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13395 static swig_type_info _swigt__p_wxDynamicSashSplitEvent
= {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13396 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent
= {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13397 static swig_type_info _swigt__p_wxDynamicSashWindow
= {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13398 static swig_type_info _swigt__p_wxEditableListBox
= {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13399 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13400 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13401 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13402 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13403 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13404 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13405 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13406 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13407 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13408 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13409 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13410 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13411 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13412 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13413 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13414 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13415 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13416 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13417 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13418 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13419 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13420 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13421 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13422 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13423 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13424 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13425 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13426 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13427 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13428 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13429 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13430 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13431 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13432 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13433 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13434 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
13435 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13436 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13437 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13438 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13439 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13440 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13441 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13442 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13443 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13444 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13445 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13446 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13447 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13448 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13449 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13450 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13451 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13452 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
13453 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13454 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13455 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13456 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13457 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13458 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13459 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13460 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13461 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13462 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13463 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13464 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13465 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13466 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
13467 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13468 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13469 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13470 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
13471 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13472 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13473 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13474 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13475 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13476 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13477 static swig_type_info _swigt__p_wxLEDNumberCtrl
= {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13478 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13479 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13480 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13481 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
13482 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
13483 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13484 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13485 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", 0, 0, 0, 0, 0};
13486 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13487 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13488 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13489 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
13490 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13491 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13492 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13493 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13494 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
13495 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13496 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13497 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
13498 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
13499 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13500 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13501 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13502 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13503 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
13504 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13505 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13506 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13507 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
13508 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13509 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13510 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13511 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13512 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13513 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13514 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13515 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13516 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13517 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13518 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13519 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13520 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13521 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13522 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13523 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13524 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13525 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13526 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13527 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13528 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
13529 static swig_type_info _swigt__p_wxPyTreeCompanionWindow
= {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13530 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13531 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13532 static swig_type_info _swigt__p_wxPyTreeListCtrl
= {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13533 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl
= {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13534 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13535 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13536 static swig_type_info _swigt__p_wxSplitterScrolledWindow
= {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13537 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13538 static swig_type_info _swigt__p_wxStaticPicture
= {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13539 static swig_type_info _swigt__p_wxThinSplitterWindow
= {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13540 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13541 static swig_type_info _swigt__p_wxTreeListColumnInfo
= {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13542 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13543 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13545 static swig_type_info
*swig_type_initial
[] = {
13548 &_swigt__p_form_ops_t
,
13550 &_swigt__p_unsigned_char
,
13551 &_swigt__p_unsigned_int
,
13552 &_swigt__p_unsigned_long
,
13553 &_swigt__p_wxANIHandler
,
13554 &_swigt__p_wxAcceleratorTable
,
13555 &_swigt__p_wxActivateEvent
,
13556 &_swigt__p_wxArrayString
,
13557 &_swigt__p_wxBMPHandler
,
13558 &_swigt__p_wxBitmap
,
13559 &_swigt__p_wxBitmapButton
,
13560 &_swigt__p_wxBookCtrlBase
,
13561 &_swigt__p_wxBookCtrlBaseEvent
,
13562 &_swigt__p_wxBoxSizer
,
13563 &_swigt__p_wxButton
,
13564 &_swigt__p_wxCURHandler
,
13565 &_swigt__p_wxCalculateLayoutEvent
,
13566 &_swigt__p_wxCheckBox
,
13567 &_swigt__p_wxCheckListBox
,
13568 &_swigt__p_wxChildFocusEvent
,
13569 &_swigt__p_wxChoice
,
13570 &_swigt__p_wxChoicebook
,
13571 &_swigt__p_wxChoicebookEvent
,
13572 &_swigt__p_wxClipboardTextEvent
,
13573 &_swigt__p_wxCloseEvent
,
13574 &_swigt__p_wxColour
,
13575 &_swigt__p_wxColourData
,
13576 &_swigt__p_wxColourDialog
,
13577 &_swigt__p_wxColourPickerCtrl
,
13578 &_swigt__p_wxColourPickerEvent
,
13579 &_swigt__p_wxComboBox
,
13580 &_swigt__p_wxCommandEvent
,
13581 &_swigt__p_wxContextHelp
,
13582 &_swigt__p_wxContextHelpButton
,
13583 &_swigt__p_wxContextMenuEvent
,
13584 &_swigt__p_wxControl
,
13585 &_swigt__p_wxControlWithItems
,
13586 &_swigt__p_wxDateEvent
,
13587 &_swigt__p_wxDatePickerCtrl
,
13588 &_swigt__p_wxDialog
,
13589 &_swigt__p_wxDirDialog
,
13590 &_swigt__p_wxDirFilterListCtrl
,
13591 &_swigt__p_wxDirPickerCtrl
,
13592 &_swigt__p_wxDisplayChangedEvent
,
13593 &_swigt__p_wxDropFilesEvent
,
13594 &_swigt__p_wxDuplexMode
,
13595 &_swigt__p_wxDynamicSashSplitEvent
,
13596 &_swigt__p_wxDynamicSashUnifyEvent
,
13597 &_swigt__p_wxDynamicSashWindow
,
13598 &_swigt__p_wxEditableListBox
,
13599 &_swigt__p_wxEraseEvent
,
13600 &_swigt__p_wxEvent
,
13601 &_swigt__p_wxEvtHandler
,
13602 &_swigt__p_wxFSFile
,
13603 &_swigt__p_wxFileDialog
,
13604 &_swigt__p_wxFileDirPickerEvent
,
13605 &_swigt__p_wxFilePickerCtrl
,
13606 &_swigt__p_wxFileSystem
,
13607 &_swigt__p_wxFindDialogEvent
,
13608 &_swigt__p_wxFindReplaceData
,
13609 &_swigt__p_wxFindReplaceDialog
,
13610 &_swigt__p_wxFlexGridSizer
,
13611 &_swigt__p_wxFocusEvent
,
13613 &_swigt__p_wxFontData
,
13614 &_swigt__p_wxFontDialog
,
13615 &_swigt__p_wxFontPickerCtrl
,
13616 &_swigt__p_wxFontPickerEvent
,
13617 &_swigt__p_wxFrame
,
13618 &_swigt__p_wxGBSizerItem
,
13619 &_swigt__p_wxGIFHandler
,
13620 &_swigt__p_wxGauge
,
13621 &_swigt__p_wxGenericDirCtrl
,
13622 &_swigt__p_wxGenericDragImage
,
13623 &_swigt__p_wxGridBagSizer
,
13624 &_swigt__p_wxGridSizer
,
13625 &_swigt__p_wxHelpEvent
,
13626 &_swigt__p_wxHyperlinkCtrl
,
13627 &_swigt__p_wxHyperlinkEvent
,
13628 &_swigt__p_wxICOHandler
,
13630 &_swigt__p_wxIconizeEvent
,
13631 &_swigt__p_wxIdleEvent
,
13632 &_swigt__p_wxImage
,
13633 &_swigt__p_wxImageHandler
,
13634 &_swigt__p_wxImageList
,
13635 &_swigt__p_wxIndividualLayoutConstraint
,
13636 &_swigt__p_wxInitDialogEvent
,
13637 &_swigt__p_wxJPEGHandler
,
13638 &_swigt__p_wxKeyEvent
,
13639 &_swigt__p_wxLEDNumberCtrl
,
13640 &_swigt__p_wxLayoutAlgorithm
,
13641 &_swigt__p_wxLayoutConstraints
,
13642 &_swigt__p_wxListBox
,
13643 &_swigt__p_wxListEvent
,
13644 &_swigt__p_wxListItem
,
13645 &_swigt__p_wxListView
,
13646 &_swigt__p_wxListbook
,
13647 &_swigt__p_wxListbookEvent
,
13648 &_swigt__p_wxMDIChildFrame
,
13649 &_swigt__p_wxMDIClientWindow
,
13650 &_swigt__p_wxMDIParentFrame
,
13651 &_swigt__p_wxMaximizeEvent
,
13653 &_swigt__p_wxMenuBar
,
13654 &_swigt__p_wxMenuEvent
,
13655 &_swigt__p_wxMenuItem
,
13656 &_swigt__p_wxMessageDialog
,
13657 &_swigt__p_wxMiniFrame
,
13658 &_swigt__p_wxMouseCaptureChangedEvent
,
13659 &_swigt__p_wxMouseCaptureLostEvent
,
13660 &_swigt__p_wxMouseEvent
,
13661 &_swigt__p_wxMoveEvent
,
13662 &_swigt__p_wxMultiChoiceDialog
,
13663 &_swigt__p_wxNavigationKeyEvent
,
13664 &_swigt__p_wxNcPaintEvent
,
13665 &_swigt__p_wxNotebook
,
13666 &_swigt__p_wxNotebookEvent
,
13667 &_swigt__p_wxNotifyEvent
,
13668 &_swigt__p_wxNumberEntryDialog
,
13669 &_swigt__p_wxObject
,
13670 &_swigt__p_wxPCXHandler
,
13671 &_swigt__p_wxPNGHandler
,
13672 &_swigt__p_wxPNMHandler
,
13673 &_swigt__p_wxPageSetupDialog
,
13674 &_swigt__p_wxPageSetupDialogData
,
13675 &_swigt__p_wxPaintEvent
,
13676 &_swigt__p_wxPaletteChangedEvent
,
13677 &_swigt__p_wxPanel
,
13678 &_swigt__p_wxPaperSize
,
13679 &_swigt__p_wxPasswordEntryDialog
,
13680 &_swigt__p_wxPickerBase
,
13681 &_swigt__p_wxPopupWindow
,
13682 &_swigt__p_wxPreviewCanvas
,
13683 &_swigt__p_wxPreviewControlBar
,
13684 &_swigt__p_wxPreviewFrame
,
13685 &_swigt__p_wxPrintData
,
13686 &_swigt__p_wxPrintDialog
,
13687 &_swigt__p_wxPrintDialogData
,
13688 &_swigt__p_wxPrintPreview
,
13689 &_swigt__p_wxPrinter
,
13690 &_swigt__p_wxProgressDialog
,
13691 &_swigt__p_wxPyApp
,
13692 &_swigt__p_wxPyCommandEvent
,
13693 &_swigt__p_wxPyControl
,
13694 &_swigt__p_wxPyEvent
,
13695 &_swigt__p_wxPyHtmlListBox
,
13696 &_swigt__p_wxPyImageHandler
,
13697 &_swigt__p_wxPyListCtrl
,
13698 &_swigt__p_wxPyPanel
,
13699 &_swigt__p_wxPyPopupTransientWindow
,
13700 &_swigt__p_wxPyPreviewControlBar
,
13701 &_swigt__p_wxPyPreviewFrame
,
13702 &_swigt__p_wxPyPrintPreview
,
13703 &_swigt__p_wxPyPrintout
,
13704 &_swigt__p_wxPyScrolledWindow
,
13705 &_swigt__p_wxPySizer
,
13706 &_swigt__p_wxPyTaskBarIcon
,
13707 &_swigt__p_wxPyTreeCompanionWindow
,
13708 &_swigt__p_wxPyTreeCtrl
,
13709 &_swigt__p_wxPyTreeItemData
,
13710 &_swigt__p_wxPyTreeListCtrl
,
13711 &_swigt__p_wxPyVListBox
,
13712 &_swigt__p_wxPyVScrolledWindow
,
13713 &_swigt__p_wxPyValidator
,
13714 &_swigt__p_wxPyWindow
,
13715 &_swigt__p_wxQueryLayoutInfoEvent
,
13716 &_swigt__p_wxQueryNewPaletteEvent
,
13717 &_swigt__p_wxRadioBox
,
13718 &_swigt__p_wxRadioButton
,
13719 &_swigt__p_wxRemotelyScrolledTreeCtrl
,
13720 &_swigt__p_wxSashEvent
,
13721 &_swigt__p_wxSashLayoutWindow
,
13722 &_swigt__p_wxSashWindow
,
13723 &_swigt__p_wxScrollBar
,
13724 &_swigt__p_wxScrollEvent
,
13725 &_swigt__p_wxScrollWinEvent
,
13726 &_swigt__p_wxScrolledWindow
,
13727 &_swigt__p_wxSetCursorEvent
,
13728 &_swigt__p_wxShowEvent
,
13729 &_swigt__p_wxSingleChoiceDialog
,
13730 &_swigt__p_wxSizeEvent
,
13731 &_swigt__p_wxSizer
,
13732 &_swigt__p_wxSizerItem
,
13733 &_swigt__p_wxSlider
,
13734 &_swigt__p_wxSpinButton
,
13735 &_swigt__p_wxSpinCtrl
,
13736 &_swigt__p_wxSpinEvent
,
13737 &_swigt__p_wxSplashScreen
,
13738 &_swigt__p_wxSplashScreenWindow
,
13739 &_swigt__p_wxSplitterEvent
,
13740 &_swigt__p_wxSplitterScrolledWindow
,
13741 &_swigt__p_wxSplitterWindow
,
13742 &_swigt__p_wxStaticBitmap
,
13743 &_swigt__p_wxStaticBox
,
13744 &_swigt__p_wxStaticBoxSizer
,
13745 &_swigt__p_wxStaticLine
,
13746 &_swigt__p_wxStaticPicture
,
13747 &_swigt__p_wxStaticText
,
13748 &_swigt__p_wxStatusBar
,
13749 &_swigt__p_wxStdDialogButtonSizer
,
13750 &_swigt__p_wxSysColourChangedEvent
,
13751 &_swigt__p_wxTIFFHandler
,
13752 &_swigt__p_wxTaskBarIconEvent
,
13753 &_swigt__p_wxTextCtrl
,
13754 &_swigt__p_wxTextEntryDialog
,
13755 &_swigt__p_wxTextUrlEvent
,
13756 &_swigt__p_wxThinSplitterWindow
,
13757 &_swigt__p_wxTipWindow
,
13758 &_swigt__p_wxToggleButton
,
13759 &_swigt__p_wxToolBar
,
13760 &_swigt__p_wxToolBarBase
,
13761 &_swigt__p_wxToolBarToolBase
,
13762 &_swigt__p_wxToolbook
,
13763 &_swigt__p_wxToolbookEvent
,
13764 &_swigt__p_wxTopLevelWindow
,
13765 &_swigt__p_wxTreeEvent
,
13766 &_swigt__p_wxTreeItemId
,
13767 &_swigt__p_wxTreeListColumnInfo
,
13768 &_swigt__p_wxTreebook
,
13769 &_swigt__p_wxTreebookEvent
,
13770 &_swigt__p_wxUpdateUIEvent
,
13771 &_swigt__p_wxValidator
,
13772 &_swigt__p_wxWindow
,
13773 &_swigt__p_wxWindowCreateEvent
,
13774 &_swigt__p_wxWindowDestroyEvent
,
13775 &_swigt__p_wxXPMHandler
,
13778 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
13779 static swig_cast_info _swigc__p_float
[] = { {&_swigt__p_float
, 0, 0, 0},{0, 0, 0, 0}};
13780 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
13781 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
13782 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
13783 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
13784 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
13785 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
13786 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13787 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
13788 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
13789 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13790 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = {{&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
13791 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
13792 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = {{&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
13793 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = {{&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
13794 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = {{&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
13795 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
13796 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = {{&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
13797 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
13798 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13799 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13800 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13801 static swig_cast_info _swigc__p_wxNotebookEvent
[] = {{&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13802 static swig_cast_info _swigc__p_wxListbookEvent
[] = {{&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13803 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = {{&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13804 static swig_cast_info _swigc__p_wxTreebookEvent
[] = {{&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13805 static swig_cast_info _swigc__p_wxToolbookEvent
[] = {{&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13806 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13807 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13808 static swig_cast_info _swigc__p_wxListEvent
[] = {{&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
13809 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent
[] = {{&_swigt__p_wxBookCtrlBaseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13810 static swig_cast_info _swigc__p_wxTreeEvent
[] = {{&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13811 static swig_cast_info _swigc__p_wxSpinEvent
[] = {{&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13812 static swig_cast_info _swigc__p_wxHelpEvent
[] = {{&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
13813 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13814 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13815 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13816 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent
, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent
, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
13817 static swig_cast_info _swigc__p_wxBookCtrlBase
[] = {{&_swigt__p_wxBookCtrlBase
, 0, 0, 0},{0, 0, 0, 0}};
13818 static swig_cast_info _swigc__p_wxToolBar
[] = {{&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
13819 static swig_cast_info _swigc__p_wxPickerBase
[] = {{&_swigt__p_wxPickerBase
, 0, 0, 0},{0, 0, 0, 0}};
13820 static swig_cast_info _swigc__p_wxToggleButton
[] = {{&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
13821 static swig_cast_info _swigc__p_wxRadioButton
[] = {{&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
13822 static swig_cast_info _swigc__p_wxToolbook
[] = {{&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
13823 static swig_cast_info _swigc__p_wxPyControl
[] = {{&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
13824 static swig_cast_info _swigc__p_wxToolBarBase
[] = {{&_swigt__p_wxToolBarBase
, 0, 0, 0},{0, 0, 0, 0}};
13825 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = {{&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13826 static swig_cast_info _swigc__p_wxComboBox
[] = {{&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
13827 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = {{&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13828 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13829 static swig_cast_info _swigc__p_wxGauge
[] = {{&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
13830 static swig_cast_info _swigc__p_wxStaticLine
[] = {{&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
13831 static swig_cast_info _swigc__p_wxChoicebook
[] = {{&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
13832 static swig_cast_info _swigc__p_wxListbook
[] = {{&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
13833 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = {{&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13834 static swig_cast_info _swigc__p_wxCheckBox
[] = {{&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
13835 static swig_cast_info _swigc__p_wxRadioBox
[] = {{&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
13836 static swig_cast_info _swigc__p_wxChoice
[] = {{&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
13837 static swig_cast_info _swigc__p_wxListBox
[] = {{&_swigt__p_wxListBox
, 0, 0, 0},{0, 0, 0, 0}};
13838 static swig_cast_info _swigc__p_wxCheckListBox
[] = {{&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
13839 static swig_cast_info _swigc__p_wxListView
[] = {{&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
13840 static swig_cast_info _swigc__p_wxNotebook
[] = {{&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
13841 static swig_cast_info _swigc__p_wxStaticBitmap
[] = {{&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13842 static swig_cast_info _swigc__p_wxSpinCtrl
[] = {{&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13843 static swig_cast_info _swigc__p_wxStaticText
[] = {{&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
13844 static swig_cast_info _swigc__p_wxStaticBox
[] = {{&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
13845 static swig_cast_info _swigc__p_wxSlider
[] = {{&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
13846 static swig_cast_info _swigc__p_wxTreebook
[] = {{&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
13847 static swig_cast_info _swigc__p_wxSpinButton
[] = {{&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
13848 static swig_cast_info _swigc__p_wxButton
[] = {{&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
13849 static swig_cast_info _swigc__p_wxBitmapButton
[] = {{&_swigt__p_wxBitmapButton
, 0, 0, 0},{0, 0, 0, 0}};
13850 static swig_cast_info _swigc__p_wxContextHelpButton
[] = {{&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
13851 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = {{&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13852 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = {{&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13853 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = {{&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13854 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = {{&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13855 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = {{&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13856 static swig_cast_info _swigc__p_wxTextCtrl
[] = {{&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13857 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxLEDNumberCtrl
, _p_wxLEDNumberCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeListCtrl
, _p_wxPyTreeListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl
, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticPicture
, _p_wxStaticPictureTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
13858 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13859 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent
[] = { {&_swigt__p_wxDynamicSashSplitEvent
, 0, 0, 0},{0, 0, 0, 0}};
13860 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent
[] = { {&_swigt__p_wxDynamicSashUnifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13861 static swig_cast_info _swigc__p_wxDynamicSashWindow
[] = { {&_swigt__p_wxDynamicSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13862 static swig_cast_info _swigc__p_wxEditableListBox
[] = { {&_swigt__p_wxEditableListBox
, 0, 0, 0},{0, 0, 0, 0}};
13863 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13864 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13865 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13866 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13867 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13868 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13869 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13870 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
13871 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13872 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13873 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13874 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13875 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13876 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13877 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13878 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13879 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13880 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13881 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13882 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13883 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13884 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13885 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13886 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13887 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13888 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13889 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13890 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13891 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13892 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13893 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent
, _p_wxDynamicSashUnifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent
, _p_wxDynamicSashSplitEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
13894 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13895 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13896 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13897 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13898 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13899 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13900 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13901 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13902 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13903 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13904 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13905 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13906 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {{&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13907 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13908 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13909 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13910 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13911 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13912 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13913 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13914 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13915 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13916 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13917 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13918 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13919 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13920 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13921 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13922 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13923 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13924 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13925 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13926 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13927 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13928 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13929 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13930 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13931 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13932 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13933 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13934 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13935 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13936 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13937 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl
, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeListCtrl
, _p_wxPyTreeListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEditableListBox
, _p_wxEditableListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxLEDNumberCtrl
, _p_wxLEDNumberCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticPicture
, _p_wxStaticPictureTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxThinSplitterWindow
, _p_wxThinSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDynamicSashWindow
, _p_wxDynamicSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow
, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
13938 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13939 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
13940 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
13941 static swig_cast_info _swigc__p_wxLEDNumberCtrl
[] = { {&_swigt__p_wxLEDNumberCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13942 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13943 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13944 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13945 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13946 static swig_cast_info _swigc__p_wxGenericDragImage
[] = {{&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
13947 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13948 static swig_cast_info _swigc__p_wxListItem
[] = {{&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
13949 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13950 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13951 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13952 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13953 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13954 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13955 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13956 static swig_cast_info _swigc__p_wxContextHelp
[] = {{&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
13957 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13958 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13959 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13960 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13961 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13962 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13963 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13964 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13965 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13966 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13967 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13968 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13969 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13970 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13971 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13972 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13973 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13974 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13975 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13976 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13977 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13978 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13979 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13980 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13981 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13982 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13983 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13984 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13985 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13986 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13987 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13988 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = {{&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
13989 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl
, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeListColumnInfo
, _p_wxTreeListColumnInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent
, _p_wxDynamicSashSplitEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEditableListBox
, _p_wxEditableListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeListCtrl
, _p_wxPyTreeListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent
, _p_wxDynamicSashUnifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticPicture
, _p_wxStaticPictureTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxThinSplitterWindow
, _p_wxThinSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDynamicSashWindow
, _p_wxDynamicSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow
, _p_wxPyTreeCompanionWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLEDNumberCtrl
, _p_wxLEDNumberCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
13990 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxEditableListBox
, _p_wxEditableListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
13991 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13992 static swig_cast_info _swigc__p_wxPyListCtrl
[] = { {&_swigt__p_wxPyListCtrl
, 0, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxPyListCtrl
, 0, 0},{0, 0, 0, 0}};
13993 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow
[] = { {&_swigt__p_wxPyTreeCompanionWindow
, 0, 0, 0},{0, 0, 0, 0}};
13994 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl
, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl
, 0, 0},{0, 0, 0, 0}};
13995 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
13996 static swig_cast_info _swigc__p_wxPyTreeListCtrl
[] = { {&_swigt__p_wxPyTreeListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13997 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl
[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13998 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
13999 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
14000 static swig_cast_info _swigc__p_wxSplitterScrolledWindow
[] = { {&_swigt__p_wxSplitterScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
14001 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow
, _p_wxThinSplitterWindowTo_p_wxSplitterWindow
, 0, 0},{0, 0, 0, 0}};
14002 static swig_cast_info _swigc__p_wxStaticPicture
[] = { {&_swigt__p_wxStaticPicture
, 0, 0, 0},{0, 0, 0, 0}};
14003 static swig_cast_info _swigc__p_wxThinSplitterWindow
[] = { {&_swigt__p_wxThinSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
14004 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
14005 static swig_cast_info _swigc__p_wxTreeListColumnInfo
[] = { {&_swigt__p_wxTreeListColumnInfo
, 0, 0, 0},{0, 0, 0, 0}};
14006 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
14007 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl
, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeListCtrl
, _p_wxPyTreeListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxEditableListBox
, _p_wxEditableListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxLEDNumberCtrl
, _p_wxLEDNumberCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticPicture
, _p_wxStaticPictureTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxThinSplitterWindow
, _p_wxThinSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDynamicSashWindow
, _p_wxDynamicSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow
, _p_wxPyTreeCompanionWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
14009 static swig_cast_info
*swig_cast_initial
[] = {
14012 _swigc__p_form_ops_t
,
14014 _swigc__p_unsigned_char
,
14015 _swigc__p_unsigned_int
,
14016 _swigc__p_unsigned_long
,
14017 _swigc__p_wxANIHandler
,
14018 _swigc__p_wxAcceleratorTable
,
14019 _swigc__p_wxActivateEvent
,
14020 _swigc__p_wxArrayString
,
14021 _swigc__p_wxBMPHandler
,
14022 _swigc__p_wxBitmap
,
14023 _swigc__p_wxBitmapButton
,
14024 _swigc__p_wxBookCtrlBase
,
14025 _swigc__p_wxBookCtrlBaseEvent
,
14026 _swigc__p_wxBoxSizer
,
14027 _swigc__p_wxButton
,
14028 _swigc__p_wxCURHandler
,
14029 _swigc__p_wxCalculateLayoutEvent
,
14030 _swigc__p_wxCheckBox
,
14031 _swigc__p_wxCheckListBox
,
14032 _swigc__p_wxChildFocusEvent
,
14033 _swigc__p_wxChoice
,
14034 _swigc__p_wxChoicebook
,
14035 _swigc__p_wxChoicebookEvent
,
14036 _swigc__p_wxClipboardTextEvent
,
14037 _swigc__p_wxCloseEvent
,
14038 _swigc__p_wxColour
,
14039 _swigc__p_wxColourData
,
14040 _swigc__p_wxColourDialog
,
14041 _swigc__p_wxColourPickerCtrl
,
14042 _swigc__p_wxColourPickerEvent
,
14043 _swigc__p_wxComboBox
,
14044 _swigc__p_wxCommandEvent
,
14045 _swigc__p_wxContextHelp
,
14046 _swigc__p_wxContextHelpButton
,
14047 _swigc__p_wxContextMenuEvent
,
14048 _swigc__p_wxControl
,
14049 _swigc__p_wxControlWithItems
,
14050 _swigc__p_wxDateEvent
,
14051 _swigc__p_wxDatePickerCtrl
,
14052 _swigc__p_wxDialog
,
14053 _swigc__p_wxDirDialog
,
14054 _swigc__p_wxDirFilterListCtrl
,
14055 _swigc__p_wxDirPickerCtrl
,
14056 _swigc__p_wxDisplayChangedEvent
,
14057 _swigc__p_wxDropFilesEvent
,
14058 _swigc__p_wxDuplexMode
,
14059 _swigc__p_wxDynamicSashSplitEvent
,
14060 _swigc__p_wxDynamicSashUnifyEvent
,
14061 _swigc__p_wxDynamicSashWindow
,
14062 _swigc__p_wxEditableListBox
,
14063 _swigc__p_wxEraseEvent
,
14065 _swigc__p_wxEvtHandler
,
14066 _swigc__p_wxFSFile
,
14067 _swigc__p_wxFileDialog
,
14068 _swigc__p_wxFileDirPickerEvent
,
14069 _swigc__p_wxFilePickerCtrl
,
14070 _swigc__p_wxFileSystem
,
14071 _swigc__p_wxFindDialogEvent
,
14072 _swigc__p_wxFindReplaceData
,
14073 _swigc__p_wxFindReplaceDialog
,
14074 _swigc__p_wxFlexGridSizer
,
14075 _swigc__p_wxFocusEvent
,
14077 _swigc__p_wxFontData
,
14078 _swigc__p_wxFontDialog
,
14079 _swigc__p_wxFontPickerCtrl
,
14080 _swigc__p_wxFontPickerEvent
,
14082 _swigc__p_wxGBSizerItem
,
14083 _swigc__p_wxGIFHandler
,
14085 _swigc__p_wxGenericDirCtrl
,
14086 _swigc__p_wxGenericDragImage
,
14087 _swigc__p_wxGridBagSizer
,
14088 _swigc__p_wxGridSizer
,
14089 _swigc__p_wxHelpEvent
,
14090 _swigc__p_wxHyperlinkCtrl
,
14091 _swigc__p_wxHyperlinkEvent
,
14092 _swigc__p_wxICOHandler
,
14094 _swigc__p_wxIconizeEvent
,
14095 _swigc__p_wxIdleEvent
,
14097 _swigc__p_wxImageHandler
,
14098 _swigc__p_wxImageList
,
14099 _swigc__p_wxIndividualLayoutConstraint
,
14100 _swigc__p_wxInitDialogEvent
,
14101 _swigc__p_wxJPEGHandler
,
14102 _swigc__p_wxKeyEvent
,
14103 _swigc__p_wxLEDNumberCtrl
,
14104 _swigc__p_wxLayoutAlgorithm
,
14105 _swigc__p_wxLayoutConstraints
,
14106 _swigc__p_wxListBox
,
14107 _swigc__p_wxListEvent
,
14108 _swigc__p_wxListItem
,
14109 _swigc__p_wxListView
,
14110 _swigc__p_wxListbook
,
14111 _swigc__p_wxListbookEvent
,
14112 _swigc__p_wxMDIChildFrame
,
14113 _swigc__p_wxMDIClientWindow
,
14114 _swigc__p_wxMDIParentFrame
,
14115 _swigc__p_wxMaximizeEvent
,
14117 _swigc__p_wxMenuBar
,
14118 _swigc__p_wxMenuEvent
,
14119 _swigc__p_wxMenuItem
,
14120 _swigc__p_wxMessageDialog
,
14121 _swigc__p_wxMiniFrame
,
14122 _swigc__p_wxMouseCaptureChangedEvent
,
14123 _swigc__p_wxMouseCaptureLostEvent
,
14124 _swigc__p_wxMouseEvent
,
14125 _swigc__p_wxMoveEvent
,
14126 _swigc__p_wxMultiChoiceDialog
,
14127 _swigc__p_wxNavigationKeyEvent
,
14128 _swigc__p_wxNcPaintEvent
,
14129 _swigc__p_wxNotebook
,
14130 _swigc__p_wxNotebookEvent
,
14131 _swigc__p_wxNotifyEvent
,
14132 _swigc__p_wxNumberEntryDialog
,
14133 _swigc__p_wxObject
,
14134 _swigc__p_wxPCXHandler
,
14135 _swigc__p_wxPNGHandler
,
14136 _swigc__p_wxPNMHandler
,
14137 _swigc__p_wxPageSetupDialog
,
14138 _swigc__p_wxPageSetupDialogData
,
14139 _swigc__p_wxPaintEvent
,
14140 _swigc__p_wxPaletteChangedEvent
,
14142 _swigc__p_wxPaperSize
,
14143 _swigc__p_wxPasswordEntryDialog
,
14144 _swigc__p_wxPickerBase
,
14145 _swigc__p_wxPopupWindow
,
14146 _swigc__p_wxPreviewCanvas
,
14147 _swigc__p_wxPreviewControlBar
,
14148 _swigc__p_wxPreviewFrame
,
14149 _swigc__p_wxPrintData
,
14150 _swigc__p_wxPrintDialog
,
14151 _swigc__p_wxPrintDialogData
,
14152 _swigc__p_wxPrintPreview
,
14153 _swigc__p_wxPrinter
,
14154 _swigc__p_wxProgressDialog
,
14156 _swigc__p_wxPyCommandEvent
,
14157 _swigc__p_wxPyControl
,
14158 _swigc__p_wxPyEvent
,
14159 _swigc__p_wxPyHtmlListBox
,
14160 _swigc__p_wxPyImageHandler
,
14161 _swigc__p_wxPyListCtrl
,
14162 _swigc__p_wxPyPanel
,
14163 _swigc__p_wxPyPopupTransientWindow
,
14164 _swigc__p_wxPyPreviewControlBar
,
14165 _swigc__p_wxPyPreviewFrame
,
14166 _swigc__p_wxPyPrintPreview
,
14167 _swigc__p_wxPyPrintout
,
14168 _swigc__p_wxPyScrolledWindow
,
14169 _swigc__p_wxPySizer
,
14170 _swigc__p_wxPyTaskBarIcon
,
14171 _swigc__p_wxPyTreeCompanionWindow
,
14172 _swigc__p_wxPyTreeCtrl
,
14173 _swigc__p_wxPyTreeItemData
,
14174 _swigc__p_wxPyTreeListCtrl
,
14175 _swigc__p_wxPyVListBox
,
14176 _swigc__p_wxPyVScrolledWindow
,
14177 _swigc__p_wxPyValidator
,
14178 _swigc__p_wxPyWindow
,
14179 _swigc__p_wxQueryLayoutInfoEvent
,
14180 _swigc__p_wxQueryNewPaletteEvent
,
14181 _swigc__p_wxRadioBox
,
14182 _swigc__p_wxRadioButton
,
14183 _swigc__p_wxRemotelyScrolledTreeCtrl
,
14184 _swigc__p_wxSashEvent
,
14185 _swigc__p_wxSashLayoutWindow
,
14186 _swigc__p_wxSashWindow
,
14187 _swigc__p_wxScrollBar
,
14188 _swigc__p_wxScrollEvent
,
14189 _swigc__p_wxScrollWinEvent
,
14190 _swigc__p_wxScrolledWindow
,
14191 _swigc__p_wxSetCursorEvent
,
14192 _swigc__p_wxShowEvent
,
14193 _swigc__p_wxSingleChoiceDialog
,
14194 _swigc__p_wxSizeEvent
,
14196 _swigc__p_wxSizerItem
,
14197 _swigc__p_wxSlider
,
14198 _swigc__p_wxSpinButton
,
14199 _swigc__p_wxSpinCtrl
,
14200 _swigc__p_wxSpinEvent
,
14201 _swigc__p_wxSplashScreen
,
14202 _swigc__p_wxSplashScreenWindow
,
14203 _swigc__p_wxSplitterEvent
,
14204 _swigc__p_wxSplitterScrolledWindow
,
14205 _swigc__p_wxSplitterWindow
,
14206 _swigc__p_wxStaticBitmap
,
14207 _swigc__p_wxStaticBox
,
14208 _swigc__p_wxStaticBoxSizer
,
14209 _swigc__p_wxStaticLine
,
14210 _swigc__p_wxStaticPicture
,
14211 _swigc__p_wxStaticText
,
14212 _swigc__p_wxStatusBar
,
14213 _swigc__p_wxStdDialogButtonSizer
,
14214 _swigc__p_wxSysColourChangedEvent
,
14215 _swigc__p_wxTIFFHandler
,
14216 _swigc__p_wxTaskBarIconEvent
,
14217 _swigc__p_wxTextCtrl
,
14218 _swigc__p_wxTextEntryDialog
,
14219 _swigc__p_wxTextUrlEvent
,
14220 _swigc__p_wxThinSplitterWindow
,
14221 _swigc__p_wxTipWindow
,
14222 _swigc__p_wxToggleButton
,
14223 _swigc__p_wxToolBar
,
14224 _swigc__p_wxToolBarBase
,
14225 _swigc__p_wxToolBarToolBase
,
14226 _swigc__p_wxToolbook
,
14227 _swigc__p_wxToolbookEvent
,
14228 _swigc__p_wxTopLevelWindow
,
14229 _swigc__p_wxTreeEvent
,
14230 _swigc__p_wxTreeItemId
,
14231 _swigc__p_wxTreeListColumnInfo
,
14232 _swigc__p_wxTreebook
,
14233 _swigc__p_wxTreebookEvent
,
14234 _swigc__p_wxUpdateUIEvent
,
14235 _swigc__p_wxValidator
,
14236 _swigc__p_wxWindow
,
14237 _swigc__p_wxWindowCreateEvent
,
14238 _swigc__p_wxWindowDestroyEvent
,
14239 _swigc__p_wxXPMHandler
,
14243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14245 static swig_const_info swig_const_table
[] = {
14246 {0, 0, 0, 0.0, 0, 0}};
14251 /* -----------------------------------------------------------------------------
14252 * Type initialization:
14253 * This problem is tough by the requirement that no dynamic
14254 * memory is used. Also, since swig_type_info structures store pointers to
14255 * swig_cast_info structures and swig_cast_info structures store pointers back
14256 * to swig_type_info structures, we need some lookup code at initialization.
14257 * The idea is that swig generates all the structures that are needed.
14258 * The runtime then collects these partially filled structures.
14259 * The SWIG_InitializeModule function takes these initial arrays out of
14260 * swig_module, and does all the lookup, filling in the swig_module.types
14261 * array with the correct data and linking the correct swig_cast_info
14262 * structures together.
14264 * The generated swig_type_info structures are assigned staticly to an initial
14265 * array. We just loop though that array, and handle each type individually.
14266 * First we lookup if this type has been already loaded, and if so, use the
14267 * loaded structure instead of the generated one. Then we have to fill in the
14268 * cast linked list. The cast data is initially stored in something like a
14269 * two-dimensional array. Each row corresponds to a type (there are the same
14270 * number of rows as there are in the swig_type_initial array). Each entry in
14271 * a column is one of the swig_cast_info structures for that type.
14272 * The cast_initial array is actually an array of arrays, because each row has
14273 * a variable number of columns. So to actually build the cast linked list,
14274 * we find the array of casts associated with the type, and loop through it
14275 * adding the casts to the list. The one last trick we need to do is making
14276 * sure the type pointer in the swig_cast_info struct is correct.
14278 * First off, we lookup the cast->type name to see if it is already loaded.
14279 * There are three cases to handle:
14280 * 1) If the cast->type has already been loaded AND the type we are adding
14281 * casting info to has not been loaded (it is in this module), THEN we
14282 * replace the cast->type pointer with the type pointer that has already
14284 * 2) If BOTH types (the one we are adding casting info to, and the
14285 * cast->type) are loaded, THEN the cast info has already been loaded by
14286 * the previous module so we just ignore it.
14287 * 3) Finally, if cast->type has not already been loaded, then we add that
14288 * swig_cast_info to the linked list (because the cast->type) pointer will
14290 * ----------------------------------------------------------------------------- */
14300 #define SWIGRUNTIME_DEBUG
14304 SWIG_InitializeModule(void *clientdata
) {
14306 swig_module_info
*module_head
;
14307 static int init_run
= 0;
14309 clientdata
= clientdata
;
14311 if (init_run
) return;
14314 /* Initialize the swig_module */
14315 swig_module
.type_initial
= swig_type_initial
;
14316 swig_module
.cast_initial
= swig_cast_initial
;
14318 /* Try and load any already created modules */
14319 module_head
= SWIG_GetModule(clientdata
);
14321 swig_module
.next
= module_head
->next
;
14322 module_head
->next
= &swig_module
;
14324 /* This is the first module loaded */
14325 swig_module
.next
= &swig_module
;
14326 SWIG_SetModule(clientdata
, &swig_module
);
14329 /* Now work on filling in swig_module.types */
14330 #ifdef SWIGRUNTIME_DEBUG
14331 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
14333 for (i
= 0; i
< swig_module
.size
; ++i
) {
14334 swig_type_info
*type
= 0;
14335 swig_type_info
*ret
;
14336 swig_cast_info
*cast
;
14338 #ifdef SWIGRUNTIME_DEBUG
14339 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
14342 /* if there is another module already loaded */
14343 if (swig_module
.next
!= &swig_module
) {
14344 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
14347 /* Overwrite clientdata field */
14348 #ifdef SWIGRUNTIME_DEBUG
14349 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
14351 if (swig_module
.type_initial
[i
]->clientdata
) {
14352 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
14353 #ifdef SWIGRUNTIME_DEBUG
14354 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
14358 type
= swig_module
.type_initial
[i
];
14361 /* Insert casting types */
14362 cast
= swig_module
.cast_initial
[i
];
14363 while (cast
->type
) {
14364 /* Don't need to add information already in the list */
14366 #ifdef SWIGRUNTIME_DEBUG
14367 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
14369 if (swig_module
.next
!= &swig_module
) {
14370 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
14371 #ifdef SWIGRUNTIME_DEBUG
14372 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
14376 if (type
== swig_module
.type_initial
[i
]) {
14377 #ifdef SWIGRUNTIME_DEBUG
14378 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
14383 /* Check for casting already in the list */
14384 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
14385 #ifdef SWIGRUNTIME_DEBUG
14386 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
14388 if (!ocast
) ret
= 0;
14393 #ifdef SWIGRUNTIME_DEBUG
14394 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
14397 type
->cast
->prev
= cast
;
14398 cast
->next
= type
->cast
;
14404 /* Set entry in modules->types array equal to the type */
14405 swig_module
.types
[i
] = type
;
14407 swig_module
.types
[i
] = 0;
14409 #ifdef SWIGRUNTIME_DEBUG
14410 printf("**** SWIG_InitializeModule: Cast List ******\n");
14411 for (i
= 0; i
< swig_module
.size
; ++i
) {
14413 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
14414 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
14415 while (cast
->type
) {
14416 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
14420 printf("---- Total casts: %d\n",j
);
14422 printf("**** SWIG_InitializeModule: Cast List ******\n");
14426 /* This function will propagate the clientdata field of type to
14427 * any new swig_type_info structures that have been added into the list
14428 * of equivalent types. It is like calling
14429 * SWIG_TypeClientData(type, clientdata) a second time.
14432 SWIG_PropagateClientData(void) {
14434 swig_cast_info
*equiv
;
14435 static int init_run
= 0;
14437 if (init_run
) return;
14440 for (i
= 0; i
< swig_module
.size
; i
++) {
14441 if (swig_module
.types
[i
]->clientdata
) {
14442 equiv
= swig_module
.types
[i
]->cast
;
14444 if (!equiv
->converter
) {
14445 if (equiv
->type
&& !equiv
->type
->clientdata
)
14446 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
14448 equiv
= equiv
->next
;
14468 /* Python-specific SWIG API */
14469 #define SWIG_newvarlink() SWIG_Python_newvarlink()
14470 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14471 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14473 /* -----------------------------------------------------------------------------
14474 * global variable support code.
14475 * ----------------------------------------------------------------------------- */
14477 typedef struct swig_globalvar
{
14478 char *name
; /* Name of global variable */
14479 PyObject
*(*get_attr
)(void); /* Return the current value */
14480 int (*set_attr
)(PyObject
*); /* Set the value */
14481 struct swig_globalvar
*next
;
14484 typedef struct swig_varlinkobject
{
14486 swig_globalvar
*vars
;
14487 } swig_varlinkobject
;
14489 SWIGINTERN PyObject
*
14490 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
14491 return PyString_FromString("<Swig global variables>");
14494 SWIGINTERN PyObject
*
14495 swig_varlink_str(swig_varlinkobject
*v
) {
14496 PyObject
*str
= PyString_FromString("(");
14497 swig_globalvar
*var
;
14498 for (var
= v
->vars
; var
; var
=var
->next
) {
14499 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
14500 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
14502 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
14507 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
14508 PyObject
*str
= swig_varlink_str(v
);
14509 fprintf(fp
,"Swig global variables ");
14510 fprintf(fp
,"%s\n", PyString_AsString(str
));
14516 swig_varlink_dealloc(swig_varlinkobject
*v
) {
14517 swig_globalvar
*var
= v
->vars
;
14519 swig_globalvar
*n
= var
->next
;
14526 SWIGINTERN PyObject
*
14527 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
14528 PyObject
*res
= NULL
;
14529 swig_globalvar
*var
= v
->vars
;
14531 if (strcmp(var
->name
,n
) == 0) {
14532 res
= (*var
->get_attr
)();
14537 if (res
== NULL
&& !PyErr_Occurred()) {
14538 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14544 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
14546 swig_globalvar
*var
= v
->vars
;
14548 if (strcmp(var
->name
,n
) == 0) {
14549 res
= (*var
->set_attr
)(p
);
14554 if (res
== 1 && !PyErr_Occurred()) {
14555 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
14560 SWIGINTERN PyTypeObject
*
14561 swig_varlink_type(void) {
14562 static char varlink__doc__
[] = "Swig var link object";
14563 static PyTypeObject varlink_type
;
14564 static int type_init
= 0;
14566 const PyTypeObject tmp
14568 PyObject_HEAD_INIT(NULL
)
14569 0, /* Number of items in variable part (ob_size) */
14570 (char *)"swigvarlink", /* Type name (tp_name) */
14571 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
14572 0, /* Itemsize (tp_itemsize) */
14573 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
14574 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
14575 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
14576 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
14577 0, /* tp_compare */
14578 (reprfunc
) swig_varlink_repr
, /* tp_repr */
14579 0, /* tp_as_number */
14580 0, /* tp_as_sequence */
14581 0, /* tp_as_mapping */
14584 (reprfunc
)swig_varlink_str
, /* tp_str */
14585 0, /* tp_getattro */
14586 0, /* tp_setattro */
14587 0, /* tp_as_buffer */
14589 varlink__doc__
, /* tp_doc */
14590 0, /* tp_traverse */
14592 0, /* tp_richcompare */
14593 0, /* tp_weaklistoffset */
14594 #if PY_VERSION_HEX >= 0x02020000
14595 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14597 #if PY_VERSION_HEX >= 0x02030000
14600 #ifdef COUNT_ALLOCS
14601 0,0,0,0 /* tp_alloc -> tp_next */
14604 varlink_type
= tmp
;
14605 varlink_type
.ob_type
= &PyType_Type
;
14608 return &varlink_type
;
14611 /* Create a variable linking object for use later */
14612 SWIGINTERN PyObject
*
14613 SWIG_Python_newvarlink(void) {
14614 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
14618 return ((PyObject
*) result
);
14622 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
14623 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
14624 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
14626 size_t size
= strlen(name
)+1;
14627 gv
->name
= (char *)malloc(size
);
14629 strncpy(gv
->name
,name
,size
);
14630 gv
->get_attr
= get_attr
;
14631 gv
->set_attr
= set_attr
;
14632 gv
->next
= v
->vars
;
14638 SWIGINTERN PyObject
*
14640 static PyObject
*_SWIG_globals
= 0;
14641 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
14642 return _SWIG_globals
;
14645 /* -----------------------------------------------------------------------------
14646 * constants/methods manipulation
14647 * ----------------------------------------------------------------------------- */
14649 /* Install Constants */
14651 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
14654 for (i
= 0; constants
[i
].type
; ++i
) {
14655 switch(constants
[i
].type
) {
14656 case SWIG_PY_POINTER
:
14657 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
14659 case SWIG_PY_BINARY
:
14660 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
14667 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
14673 /* -----------------------------------------------------------------------------*/
14674 /* Fix SwigMethods to carry the callback ptrs when needed */
14675 /* -----------------------------------------------------------------------------*/
14678 SWIG_Python_FixMethods(PyMethodDef
*methods
,
14679 swig_const_info
*const_table
,
14680 swig_type_info
**types
,
14681 swig_type_info
**types_initial
) {
14683 for (i
= 0; methods
[i
].ml_name
; ++i
) {
14684 const char *c
= methods
[i
].ml_doc
;
14685 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
14687 swig_const_info
*ci
= 0;
14688 const char *name
= c
+ 10;
14689 for (j
= 0; const_table
[j
].type
; ++j
) {
14690 if (strncmp(const_table
[j
].name
, name
,
14691 strlen(const_table
[j
].name
)) == 0) {
14692 ci
= &(const_table
[j
]);
14697 size_t shift
= (ci
->ptype
) - types
;
14698 swig_type_info
*ty
= types_initial
[shift
];
14699 size_t ldoc
= (c
- methods
[i
].ml_doc
);
14700 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
14701 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
14704 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
14706 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
14708 strncpy(buff
, "swig_ptr: ", 10);
14710 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
14711 methods
[i
].ml_doc
= ndoc
;
14723 /* -----------------------------------------------------------------------------*
14724 * Partial Init method
14725 * -----------------------------------------------------------------------------*/
14730 SWIGEXPORT
void SWIG_init(void) {
14733 /* Fix SwigMethods to carry the callback ptrs when needed */
14734 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
14736 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
14737 d
= PyModule_GetDict(m
);
14739 SWIG_InitializeModule(0);
14740 SWIG_InstallConstants(d
,swig_const_table
);
14743 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
14744 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get
, DynamicSashNameStr_set
);
14745 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get
, EditableListBoxNameStr_set
);
14746 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get
, StaticPictureNameStr_set
);
14747 SWIG_Python_SetConstant(d
, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS
)));
14748 SWIG_Python_SetConstant(d
, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER
)));
14749 PyDict_SetItemString(d
, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT
));
14750 PyDict_SetItemString(d
, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY
));
14751 SWIG_Python_SetConstant(d
, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW
)));
14752 SWIG_Python_SetConstant(d
, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT
)));
14753 SWIG_Python_SetConstant(d
, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE
)));
14754 SWIG_Python_SetConstant(d
, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT
)));
14755 SWIG_Python_SetConstant(d
, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT
)));
14756 SWIG_Python_SetConstant(d
, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER
)));
14757 SWIG_Python_SetConstant(d
, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK
)));
14758 SWIG_Python_SetConstant(d
, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED
)));
14759 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get
, TreeListCtrlNameStr_set
);
14760 SWIG_Python_SetConstant(d
, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH
)));
14761 SWIG_Python_SetConstant(d
, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE
)));
14762 SWIG_Python_SetConstant(d
, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED
)));
14763 SWIG_Python_SetConstant(d
, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE
)));
14764 SWIG_Python_SetConstant(d
, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL
)));
14765 SWIG_Python_SetConstant(d
, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT
)));
14766 SWIG_Python_SetConstant(d
, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL
)));
14767 SWIG_Python_SetConstant(d
, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE
)));
14768 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN
)));
14769 SWIG_Python_SetConstant(d
, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES
)));
14770 SWIG_Python_SetConstant(d
, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL
)));
14772 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14774 SWIG_Python_SetConstant(d
, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL
)));
14775 SWIG_Python_SetConstant(d
, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL
)));
14776 SWIG_Python_SetConstant(d
, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM
)));
14777 SWIG_Python_SetConstant(d
, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM
)));
14779 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");