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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_float swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2476 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2477 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2482 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2483 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2485 #define SWIGTYPE_p_wxChoice swig_types[23]
2486 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2487 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2488 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2489 #define SWIGTYPE_p_wxColour swig_types[27]
2490 #define SWIGTYPE_p_wxColourData swig_types[28]
2491 #define SWIGTYPE_p_wxColourDialog swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2500 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[38]
2501 #define SWIGTYPE_p_wxDialog swig_types[39]
2502 #define SWIGTYPE_p_wxDirDialog swig_types[40]
2503 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2507 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[47]
2510 #define SWIGTYPE_p_wxEditableListBox swig_types[48]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2512 #define SWIGTYPE_p_wxEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2514 #define SWIGTYPE_p_wxFSFile swig_types[52]
2515 #define SWIGTYPE_p_wxFileDialog swig_types[53]
2516 #define SWIGTYPE_p_wxFileSystem swig_types[54]
2517 #define SWIGTYPE_p_wxFindDialogEvent swig_types[55]
2518 #define SWIGTYPE_p_wxFindReplaceData swig_types[56]
2519 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[57]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2522 #define SWIGTYPE_p_wxFont swig_types[60]
2523 #define SWIGTYPE_p_wxFontData swig_types[61]
2524 #define SWIGTYPE_p_wxFontDialog swig_types[62]
2525 #define SWIGTYPE_p_wxFrame swig_types[63]
2526 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2527 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2528 #define SWIGTYPE_p_wxGauge swig_types[66]
2529 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2530 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2531 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2532 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2533 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2534 #define SWIGTYPE_p_wxICOHandler swig_types[72]
2535 #define SWIGTYPE_p_wxIcon swig_types[73]
2536 #define SWIGTYPE_p_wxIconizeEvent swig_types[74]
2537 #define SWIGTYPE_p_wxIdleEvent swig_types[75]
2538 #define SWIGTYPE_p_wxImage swig_types[76]
2539 #define SWIGTYPE_p_wxImageHandler swig_types[77]
2540 #define SWIGTYPE_p_wxImageList swig_types[78]
2541 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79]
2542 #define SWIGTYPE_p_wxInitDialogEvent swig_types[80]
2543 #define SWIGTYPE_p_wxJPEGHandler swig_types[81]
2544 #define SWIGTYPE_p_wxKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83]
2546 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListView swig_types[89]
2552 #define SWIGTYPE_p_wxListbook swig_types[90]
2553 #define SWIGTYPE_p_wxListbookEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMDIChildFrame swig_types[92]
2555 #define SWIGTYPE_p_wxMDIClientWindow swig_types[93]
2556 #define SWIGTYPE_p_wxMDIParentFrame swig_types[94]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2558 #define SWIGTYPE_p_wxMenu swig_types[96]
2559 #define SWIGTYPE_p_wxMenuBar swig_types[97]
2560 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMenuItem swig_types[99]
2562 #define SWIGTYPE_p_wxMessageDialog swig_types[100]
2563 #define SWIGTYPE_p_wxMiniFrame swig_types[101]
2564 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2567 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2570 #define SWIGTYPE_p_wxNotebook swig_types[108]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2573 #define SWIGTYPE_p_wxObject swig_types[111]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2577 #define SWIGTYPE_p_wxPageSetupDialog swig_types[115]
2578 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[116]
2579 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxPanel swig_types[119]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2583 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121]
2584 #define SWIGTYPE_p_wxPopupWindow swig_types[122]
2585 #define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
2586 #define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
2587 #define SWIGTYPE_p_wxPreviewFrame swig_types[125]
2588 #define SWIGTYPE_p_wxPrintData swig_types[126]
2589 #define SWIGTYPE_p_wxPrintDialog swig_types[127]
2590 #define SWIGTYPE_p_wxPrintDialogData swig_types[128]
2591 #define SWIGTYPE_p_wxPrintPreview swig_types[129]
2592 #define SWIGTYPE_p_wxPrinter swig_types[130]
2593 #define SWIGTYPE_p_wxProgressDialog swig_types[131]
2594 #define SWIGTYPE_p_wxPyApp swig_types[132]
2595 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2596 #define SWIGTYPE_p_wxPyControl swig_types[134]
2597 #define SWIGTYPE_p_wxPyEvent swig_types[135]
2598 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[136]
2599 #define SWIGTYPE_p_wxPyImageHandler swig_types[137]
2600 #define SWIGTYPE_p_wxPyListCtrl swig_types[138]
2601 #define SWIGTYPE_p_wxPyPanel swig_types[139]
2602 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140]
2603 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141]
2604 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[142]
2605 #define SWIGTYPE_p_wxPyPrintPreview swig_types[143]
2606 #define SWIGTYPE_p_wxPyPrintout swig_types[144]
2607 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[145]
2608 #define SWIGTYPE_p_wxPySizer swig_types[146]
2609 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148]
2611 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[149]
2612 #define SWIGTYPE_p_wxPyTreeItemData swig_types[150]
2613 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxPyVListBox swig_types[152]
2615 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153]
2616 #define SWIGTYPE_p_wxPyValidator swig_types[154]
2617 #define SWIGTYPE_p_wxPyWindow swig_types[155]
2618 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156]
2619 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157]
2620 #define SWIGTYPE_p_wxRadioBox swig_types[158]
2621 #define SWIGTYPE_p_wxRadioButton swig_types[159]
2622 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160]
2623 #define SWIGTYPE_p_wxSashEvent swig_types[161]
2624 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
2625 #define SWIGTYPE_p_wxSashWindow swig_types[163]
2626 #define SWIGTYPE_p_wxScrollBar swig_types[164]
2627 #define SWIGTYPE_p_wxScrollEvent swig_types[165]
2628 #define SWIGTYPE_p_wxScrollWinEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrolledWindow swig_types[167]
2630 #define SWIGTYPE_p_wxSetCursorEvent swig_types[168]
2631 #define SWIGTYPE_p_wxShowEvent swig_types[169]
2632 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170]
2633 #define SWIGTYPE_p_wxSizeEvent swig_types[171]
2634 #define SWIGTYPE_p_wxSizer swig_types[172]
2635 #define SWIGTYPE_p_wxSizerItem swig_types[173]
2636 #define SWIGTYPE_p_wxSlider swig_types[174]
2637 #define SWIGTYPE_p_wxSpinButton swig_types[175]
2638 #define SWIGTYPE_p_wxSpinCtrl swig_types[176]
2639 #define SWIGTYPE_p_wxSpinEvent swig_types[177]
2640 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
2641 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
2642 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
2643 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181]
2644 #define SWIGTYPE_p_wxSplitterWindow swig_types[182]
2645 #define SWIGTYPE_p_wxStaticBitmap swig_types[183]
2646 #define SWIGTYPE_p_wxStaticBox swig_types[184]
2647 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[185]
2648 #define SWIGTYPE_p_wxStaticLine swig_types[186]
2649 #define SWIGTYPE_p_wxStaticPicture swig_types[187]
2650 #define SWIGTYPE_p_wxStaticText swig_types[188]
2651 #define SWIGTYPE_p_wxStatusBar swig_types[189]
2652 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190]
2653 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191]
2654 #define SWIGTYPE_p_wxTIFFHandler swig_types[192]
2655 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193]
2656 #define SWIGTYPE_p_wxTextCtrl swig_types[194]
2657 #define SWIGTYPE_p_wxTextEntryDialog swig_types[195]
2658 #define SWIGTYPE_p_wxTextUrlEvent swig_types[196]
2659 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[197]
2660 #define SWIGTYPE_p_wxTipWindow swig_types[198]
2661 #define SWIGTYPE_p_wxToggleButton swig_types[199]
2662 #define SWIGTYPE_p_wxToolBar swig_types[200]
2663 #define SWIGTYPE_p_wxToolBarBase swig_types[201]
2664 #define SWIGTYPE_p_wxToolBarToolBase swig_types[202]
2665 #define SWIGTYPE_p_wxToolbook swig_types[203]
2666 #define SWIGTYPE_p_wxToolbookEvent swig_types[204]
2667 #define SWIGTYPE_p_wxTopLevelWindow swig_types[205]
2668 #define SWIGTYPE_p_wxTreeEvent swig_types[206]
2669 #define SWIGTYPE_p_wxTreeItemId swig_types[207]
2670 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[208]
2671 #define SWIGTYPE_p_wxTreebook swig_types[209]
2672 #define SWIGTYPE_p_wxTreebookEvent swig_types[210]
2673 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[211]
2674 #define SWIGTYPE_p_wxValidator swig_types[212]
2675 #define SWIGTYPE_p_wxWindow swig_types[213]
2676 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[214]
2677 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[215]
2678 #define SWIGTYPE_p_wxXPMHandler swig_types[216]
2679 static swig_type_info
*swig_types
[218];
2680 static swig_module_info swig_module
= {swig_types
, 217, 0, 0, 0, 0};
2681 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2682 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2684 /* -------- TYPES TABLE (END) -------- */
2686 #if (PY_VERSION_HEX <= 0x02000000)
2687 # if !defined(SWIG_PYTHON_CLASSIC)
2688 # error "This python version requires to use swig with the '-classic' option"
2691 #if (PY_VERSION_HEX <= 0x02020000)
2692 # error "This python version requires to use swig with the '-nomodern' option"
2694 #if (PY_VERSION_HEX <= 0x02020000)
2695 # error "This python version requires to use swig with the '-nomodernargs' option"
2698 # error "This python version requires to use swig with the '-nofastunpack' option"
2701 /*-----------------------------------------------
2702 @(target):= _gizmos.so
2703 ------------------------------------------------*/
2704 #define SWIG_init init_gizmos
2706 #define SWIG_name "_gizmos"
2708 #define SWIGVERSION 0x010329
2711 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2712 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2715 #include <stdexcept>
2719 class PyObject_ptr
{
2724 PyObject_ptr() :_obj(0)
2728 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2733 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2735 if (initial_ref
) Py_XINCREF(_obj
);
2738 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2740 Py_XINCREF(item
._obj
);
2751 operator PyObject
*() const
2756 PyObject
*operator->() const
2765 struct PyObject_var
: PyObject_ptr
{
2766 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2768 PyObject_var
& operator = (PyObject
* obj
)
2778 #include "wx/wxPython/wxPython.h"
2779 #include "wx/wxPython/pyclasses.h"
2781 #include <wx/gizmos/dynamicsash.h>
2782 #include <wx/gizmos/editlbox.h>
2783 #include <wx/gizmos/splittree.h>
2784 #include <wx/gizmos/ledctrl.h>
2785 #include <wx/gizmos/statpict.h>
2787 #include <wx/listctrl.h>
2788 #include <wx/treectrl.h>
2789 #include <wx/imaglist.h>
2791 #include "wx/treelistctrl.h"
2792 #include "wx/wxPython/pytree.h"
2795 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2796 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
2797 static const wxString
wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2798 static const wxString
wxPyStaticPictureNameStr(wxStaticPictureNameStr
);
2799 static const wxString
wxPyEmptyString(wxEmptyString
);
2801 #define SWIG_From_long PyInt_FromLong
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_int (int value
)
2807 return SWIG_From_long (value
);
2813 # define LLONG_MIN LONG_LONG_MIN
2816 # define LLONG_MAX LONG_LONG_MAX
2819 # define ULLONG_MAX ULONG_LONG_MAX
2824 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2826 if (PyNumber_Check(obj
)) {
2827 if (val
) *val
= PyInt_AsLong(obj
);
2830 return SWIG_TypeError
;
2835 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2838 int res
= SWIG_AsVal_long (obj
, &v
);
2839 if (SWIG_IsOK(res
)) {
2840 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2841 return SWIG_OverflowError
;
2843 if (val
) *val
= static_cast< int >(v
);
2849 SWIGINTERN PyObject
*wxEditableListBox_GetStrings(wxEditableListBox
*self
){
2850 wxArrayString strings
;
2851 self
->GetStrings(strings
);
2852 return wxArrayString2PyList_helper(strings
);
2855 typedef wxTreeCtrl wxPyTreeCtrl
;
2858 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
2861 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
2862 const wxPoint
& pos
= wxDefaultPosition
,
2863 const wxSize
& size
= wxDefaultSize
,
2865 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
2868 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2871 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
2872 PyObject
* dcobj
= wxPyMake_wxObject(&dc
,false);
2873 PyObject
* idobj
= wxPyConstructObject((void*)&id
, wxT("wxTreeItemId"), false);
2874 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), false);
2875 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
2880 wxPyEndBlockThreads(blocked
);
2882 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
2890 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2892 if (obj
== Py_True
) {
2893 if (val
) *val
= true;
2895 } else if (obj
== Py_False
) {
2896 if (val
) *val
= false;
2900 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2901 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2908 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2911 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2912 return SWIG_TypeError
;
2915 *val
= (unsigned long)v
;
2920 SWIGINTERNINLINE
int
2921 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2924 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2925 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_long (unsigned long value
)
2933 return (value
> LONG_MAX
) ?
2934 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2938 SWIGINTERNINLINE PyObject
*
2939 SWIG_From_size_t (size_t value
)
2941 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2944 // C++ version of Python aware control
2945 class wxPyTreeListCtrl
: public wxTreeListCtrl
{
2946 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl
);
2948 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2949 wxPyTreeListCtrl(wxWindow
*parent
, wxWindowID id
,
2953 const wxValidator
&validator
,
2954 const wxString
& name
) :
2955 wxTreeListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2957 int OnCompareItems(const wxTreeItemId
& item1
,
2958 const wxTreeItemId
& item2
) {
2961 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2962 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
2963 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), 0);
2964 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), 0);
2965 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
2969 wxPyEndBlockThreads(blocked
);
2971 rval
= wxTreeListCtrl::OnCompareItems(item1
, item2
);
2977 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl
, wxTreeListCtrl
)
2981 SWIGINTERNINLINE PyObject
*
2982 SWIG_From_unsigned_SS_int (unsigned int value
)
2984 return SWIG_From_unsigned_SS_long (value
);
2989 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2992 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2993 if (SWIG_IsOK(res
)) {
2994 if ((v
> UINT_MAX
)) {
2995 return SWIG_OverflowError
;
2997 if (val
) *val
= static_cast< unsigned int >(v
);
3003 SWIGINTERN wxString
wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1){
3004 if (column
< 0) column
= self
->GetMainColumn();
3005 return self
->GetItemText(item
, column
);
3007 SWIGINTERN
int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
3008 if (column
< 0) column
= self
->GetMainColumn();
3009 return self
->GetItemImage(item
, column
, which
);
3011 SWIGINTERN
void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxString
const &text
,int column
=-1){
3012 if (column
< 0) column
= self
->GetMainColumn();
3013 self
->SetItemText(item
, column
, text
);
3015 SWIGINTERN
void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,int image
,int column
=-1,wxTreeItemIcon which
=wxTreeItemIcon_Normal
){
3016 if (column
< 0) column
= self
->GetMainColumn();
3017 self
->SetItemImage(item
, column
, image
, which
);
3019 SWIGINTERN wxPyTreeItemData
*wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3020 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3022 data
= new wxPyTreeItemData();
3023 data
->SetId(item
); // set the id
3024 self
->SetItemData(item
, data
);
3028 SWIGINTERN
void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3029 data
->SetId(item
); // set the id
3030 self
->SetItemData(item
, data
);
3032 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3033 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3035 data
= new wxPyTreeItemData();
3036 data
->SetId(item
); // set the id
3037 self
->SetItemData(item
, data
);
3039 return data
->GetData();
3041 SWIGINTERN
void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3042 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3044 data
= new wxPyTreeItemData(obj
);
3045 data
->SetId(item
); // set the id
3046 self
->SetItemData(item
, data
);
3050 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl
*self
){
3051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3052 PyObject
* rval
= PyList_New(0);
3053 wxArrayTreeItemIds array
;
3055 num
= self
->GetSelections(array
);
3056 for (x
=0; x
< num
; x
++) {
3057 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3058 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3059 PyList_Append(rval
, item
);
3062 wxPyEndBlockThreads(blocked
);
3065 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
){
3067 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3068 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3069 PyObject
* tup
= PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3071 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3072 wxPyEndBlockThreads(blocked
);
3075 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3076 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 PyObject
* tup
= PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3080 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3081 wxPyEndBlockThreads(blocked
);
3084 SWIGINTERN PyObject
*wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3086 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 wxRect
* r
= new wxRect(rect
);
3089 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), 1);
3090 wxPyEndBlockThreads(blocked
);
3102 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3104 if (PyNumber_Check(obj
)) {
3105 if (val
) *val
= PyFloat_AsDouble(obj
);
3108 return SWIG_TypeError
;
3113 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3116 int res
= SWIG_AsVal_double (obj
, &v
);
3117 if (SWIG_IsOK(res
)) {
3118 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3119 return SWIG_OverflowError
;
3121 if (val
) *val
= static_cast< float >(v
);
3128 #define SWIG_From_double PyFloat_FromDouble
3131 SWIGINTERNINLINE PyObject
*
3132 SWIG_From_float (float value
)
3134 return SWIG_From_double (value
);
3140 SWIGINTERN
int DynamicSashNameStr_set(PyObject
*) {
3141 SWIG_Error(SWIG_AttributeError
,"Variable DynamicSashNameStr is read-only.");
3146 SWIGINTERN PyObject
*DynamicSashNameStr_get(void) {
3147 PyObject
*pyobj
= 0;
3151 pyobj
= PyUnicode_FromWideChar((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
3153 pyobj
= PyString_FromStringAndSize((&wxPyDynamicSashNameStr
)->c_str(), (&wxPyDynamicSashNameStr
)->Len());
3160 SWIGINTERN
int EditableListBoxNameStr_set(PyObject
*) {
3161 SWIG_Error(SWIG_AttributeError
,"Variable EditableListBoxNameStr is read-only.");
3166 SWIGINTERN PyObject
*EditableListBoxNameStr_get(void) {
3167 PyObject
*pyobj
= 0;
3171 pyobj
= PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
3173 pyobj
= PyString_FromStringAndSize((&wxPyEditableListBoxNameStr
)->c_str(), (&wxPyEditableListBoxNameStr
)->Len());
3180 SWIGINTERN
int TreeListCtrlNameStr_set(PyObject
*) {
3181 SWIG_Error(SWIG_AttributeError
,"Variable TreeListCtrlNameStr is read-only.");
3186 SWIGINTERN PyObject
*TreeListCtrlNameStr_get(void) {
3187 PyObject
*pyobj
= 0;
3191 pyobj
= PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
3193 pyobj
= PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr
)->c_str(), (&wxPyTreeListCtrlNameStr
)->Len());
3200 SWIGINTERN
int StaticPictureNameStr_set(PyObject
*) {
3201 SWIG_Error(SWIG_AttributeError
,"Variable StaticPictureNameStr is read-only.");
3206 SWIGINTERN PyObject
*StaticPictureNameStr_get(void) {
3207 PyObject
*pyobj
= 0;
3211 pyobj
= PyUnicode_FromWideChar((&wxPyStaticPictureNameStr
)->c_str(), (&wxPyStaticPictureNameStr
)->Len());
3213 pyobj
= PyString_FromStringAndSize((&wxPyStaticPictureNameStr
)->c_str(), (&wxPyStaticPictureNameStr
)->Len());
3220 SWIGINTERN PyObject
*_wrap_new_DynamicSashSplitEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
= 0;
3222 wxObject
*arg1
= (wxObject
*) 0 ;
3223 wxDynamicSashSplitEvent
*result
= 0 ;
3226 PyObject
* obj0
= 0 ;
3227 char * kwnames
[] = {
3228 (char *) "target", NULL
3231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashSplitEvent",kwnames
,&obj0
)) SWIG_fail
;
3232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
3233 if (!SWIG_IsOK(res1
)) {
3234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3236 arg1
= reinterpret_cast< wxObject
* >(argp1
);
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (wxDynamicSashSplitEvent
*)new wxDynamicSashSplitEvent(arg1
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashSplitEvent
, SWIG_POINTER_NEW
| 0 );
3250 SWIGINTERN PyObject
*DynamicSashSplitEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3253 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent
, SWIG_NewClientData(obj
));
3254 return SWIG_Py_Void();
3257 SWIGINTERN PyObject
*DynamicSashSplitEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3258 return SWIG_Python_InitShadowInstance(args
);
3261 SWIGINTERN PyObject
*_wrap_new_DynamicSashUnifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
= 0;
3263 wxObject
*arg1
= (wxObject
*) 0 ;
3264 wxDynamicSashUnifyEvent
*result
= 0 ;
3267 PyObject
* obj0
= 0 ;
3268 char * kwnames
[] = {
3269 (char *) "target", NULL
3272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DynamicSashUnifyEvent",kwnames
,&obj0
)) SWIG_fail
;
3273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
3274 if (!SWIG_IsOK(res1
)) {
3275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3277 arg1
= reinterpret_cast< wxObject
* >(argp1
);
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= (wxDynamicSashUnifyEvent
*)new wxDynamicSashUnifyEvent(arg1
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashUnifyEvent
, SWIG_POINTER_NEW
| 0 );
3291 SWIGINTERN PyObject
*DynamicSashUnifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3294 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent
, SWIG_NewClientData(obj
));
3295 return SWIG_Py_Void();
3298 SWIGINTERN PyObject
*DynamicSashUnifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3299 return SWIG_Python_InitShadowInstance(args
);
3302 SWIGINTERN PyObject
*_wrap_new_DynamicSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
= 0;
3304 wxWindow
*arg1
= (wxWindow
*) 0 ;
3305 int arg2
= (int) -1 ;
3306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3310 long arg5
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
3311 wxString
const &arg6_defvalue
= wxPyDynamicSashNameStr
;
3312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3313 wxDynamicSashWindow
*result
= 0 ;
3322 bool temp6
= false ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3325 PyObject
* obj2
= 0 ;
3326 PyObject
* obj3
= 0 ;
3327 PyObject
* obj4
= 0 ;
3328 PyObject
* obj5
= 0 ;
3329 char * kwnames
[] = {
3330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3335 if (!SWIG_IsOK(res1
)) {
3336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3341 if (!SWIG_IsOK(ecode2
)) {
3342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3344 arg2
= static_cast< int >(val2
);
3349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3359 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3360 if (!SWIG_IsOK(ecode5
)) {
3361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3363 arg5
= static_cast< long >(val5
);
3367 arg6
= wxString_in_helper(obj5
);
3368 if (arg6
== NULL
) SWIG_fail
;
3373 if (!wxPyCheckForApp()) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_NEW
| 0 );
3394 SWIGINTERN PyObject
*_wrap_new_PreDynamicSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3395 PyObject
*resultobj
= 0;
3396 wxDynamicSashWindow
*result
= 0 ;
3398 if (!SWIG_Python_UnpackTuple(args
,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail
;
3400 if (!wxPyCheckForApp()) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (wxDynamicSashWindow
*)new wxDynamicSashWindow();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDynamicSashWindow
, SWIG_POINTER_OWN
| 0 );
3413 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
= 0;
3415 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3416 wxWindow
*arg2
= (wxWindow
*) 0 ;
3417 int arg3
= (int) -1 ;
3418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3422 long arg6
= (long) wxCLIP_CHILDREN
|wxDS_MANAGE_SCROLLBARS
|wxDS_DRAG_CORNER
;
3423 wxString
const &arg7_defvalue
= wxPyDynamicSashNameStr
;
3424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3436 bool temp7
= false ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3439 PyObject
* obj2
= 0 ;
3440 PyObject
* obj3
= 0 ;
3441 PyObject
* obj4
= 0 ;
3442 PyObject
* obj5
= 0 ;
3443 PyObject
* obj6
= 0 ;
3444 char * kwnames
[] = {
3445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3450 if (!SWIG_IsOK(res1
)) {
3451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3453 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3455 if (!SWIG_IsOK(res2
)) {
3456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3458 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3461 if (!SWIG_IsOK(ecode3
)) {
3462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3464 arg3
= static_cast< int >(val3
);
3469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3479 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3480 if (!SWIG_IsOK(ecode6
)) {
3481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3483 arg6
= static_cast< long >(val6
);
3487 arg7
= wxString_in_helper(obj6
);
3488 if (arg7
== NULL
) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3515 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_GetHScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
= 0;
3517 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3518 wxWindow
*arg2
= (wxWindow
*) 0 ;
3519 wxScrollBar
*result
= 0 ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 char * kwnames
[] = {
3527 (char *) "self",(char *) "child", NULL
3530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3532 if (!SWIG_IsOK(res1
)) {
3533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3535 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3537 if (!SWIG_IsOK(res2
)) {
3538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetHScrollBar((wxWindow
const *)arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, 0 | 0 );
3554 SWIGINTERN PyObject
*_wrap_DynamicSashWindow_GetVScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
= 0;
3556 wxDynamicSashWindow
*arg1
= (wxDynamicSashWindow
*) 0 ;
3557 wxWindow
*arg2
= (wxWindow
*) 0 ;
3558 wxScrollBar
*result
= 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 char * kwnames
[] = {
3566 (char *) "self",(char *) "child", NULL
3569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDynamicSashWindow
, 0 | 0 );
3571 if (!SWIG_IsOK(res1
)) {
3572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3574 arg1
= reinterpret_cast< wxDynamicSashWindow
* >(argp1
);
3575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3576 if (!SWIG_IsOK(res2
)) {
3577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (wxScrollBar
*)((wxDynamicSashWindow
const *)arg1
)->GetVScrollBar((wxWindow
const *)arg2
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, 0 | 0 );
3593 SWIGINTERN PyObject
*DynamicSashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3596 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow
, SWIG_NewClientData(obj
));
3597 return SWIG_Py_Void();
3600 SWIGINTERN PyObject
*DynamicSashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3601 return SWIG_Python_InitShadowInstance(args
);
3604 SWIGINTERN PyObject
*_wrap_new_EditableListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
= 0;
3606 wxWindow
*arg1
= (wxWindow
*) 0 ;
3607 int arg2
= (int) -1 ;
3608 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3609 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3614 long arg6
= (long) wxEL_ALLOW_NEW
|wxEL_ALLOW_EDIT
|wxEL_ALLOW_DELETE
;
3615 wxString
const &arg7_defvalue
= wxPyEditableListBoxNameStr
;
3616 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3617 wxEditableListBox
*result
= 0 ;
3622 bool temp3
= false ;
3627 bool temp7
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 char * kwnames
[] = {
3636 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_EditableListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3647 if (!SWIG_IsOK(ecode2
)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3650 arg2
= static_cast< int >(val2
);
3654 arg3
= wxString_in_helper(obj2
);
3655 if (arg3
== NULL
) SWIG_fail
;
3662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3673 if (!SWIG_IsOK(ecode6
)) {
3674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3676 arg6
= static_cast< long >(val6
);
3680 arg7
= wxString_in_helper(obj6
);
3681 if (arg7
== NULL
) SWIG_fail
;
3686 if (!wxPyCheckForApp()) SWIG_fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= (wxEditableListBox
*)new wxEditableListBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEditableListBox
, SWIG_POINTER_NEW
| 0 );
3715 SWIGINTERN PyObject
*_wrap_EditableListBox_SetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
= 0;
3717 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3718 wxArrayString
*arg2
= 0 ;
3721 bool temp2
= false ;
3722 PyObject
* obj0
= 0 ;
3723 PyObject
* obj1
= 0 ;
3724 char * kwnames
[] = {
3725 (char *) "self",(char *) "strings", NULL
3728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EditableListBox_SetStrings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3730 if (!SWIG_IsOK(res1
)) {
3731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3733 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3735 if (! PySequence_Check(obj1
)) {
3736 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3739 arg2
= new wxArrayString
;
3741 int i
, len
=PySequence_Length(obj1
);
3742 for (i
=0; i
<len
; i
++) {
3743 PyObject
* item
= PySequence_GetItem(obj1
, i
);
3744 wxString
* s
= wxString_in_helper(item
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 (arg1
)->SetStrings((wxArrayString
const &)*arg2
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_Py_Void();
3759 if (temp2
) delete arg2
;
3764 if (temp2
) delete arg2
;
3770 SWIGINTERN PyObject
*_wrap_EditableListBox_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3771 PyObject
*resultobj
= 0;
3772 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3773 PyObject
*result
= 0 ;
3776 PyObject
*swig_obj
[1] ;
3778 if (!args
) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3784 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (PyObject
*)wxEditableListBox_GetStrings(arg1
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3798 SWIGINTERN PyObject
*_wrap_EditableListBox_GetListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3799 PyObject
*resultobj
= 0;
3800 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3801 wxPyListCtrl
*result
= 0 ;
3804 PyObject
*swig_obj
[1] ;
3806 if (!args
) SWIG_fail
;
3808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3809 if (!SWIG_IsOK(res1
)) {
3810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3812 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (wxPyListCtrl
*)(arg1
)->GetListCtrl();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
3826 SWIGINTERN PyObject
*_wrap_EditableListBox_GetDelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3827 PyObject
*resultobj
= 0;
3828 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3829 wxBitmapButton
*result
= 0 ;
3832 PyObject
*swig_obj
[1] ;
3834 if (!args
) SWIG_fail
;
3836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3837 if (!SWIG_IsOK(res1
)) {
3838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3840 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxBitmapButton
*)(arg1
)->GetDelButton();
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= wxPyMake_wxObject(result
, 0);
3856 SWIGINTERN PyObject
*_wrap_EditableListBox_GetNewButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3857 PyObject
*resultobj
= 0;
3858 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3859 wxBitmapButton
*result
= 0 ;
3862 PyObject
*swig_obj
[1] ;
3864 if (!args
) SWIG_fail
;
3866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3867 if (!SWIG_IsOK(res1
)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3870 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxBitmapButton
*)(arg1
)->GetNewButton();
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= wxPyMake_wxObject(result
, 0);
3886 SWIGINTERN PyObject
*_wrap_EditableListBox_GetUpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3887 PyObject
*resultobj
= 0;
3888 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3889 wxBitmapButton
*result
= 0 ;
3892 PyObject
*swig_obj
[1] ;
3894 if (!args
) SWIG_fail
;
3896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3897 if (!SWIG_IsOK(res1
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3900 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxBitmapButton
*)(arg1
)->GetUpButton();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= wxPyMake_wxObject(result
, 0);
3916 SWIGINTERN PyObject
*_wrap_EditableListBox_GetDownButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3919 wxBitmapButton
*result
= 0 ;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3930 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (wxBitmapButton
*)(arg1
)->GetDownButton();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= wxPyMake_wxObject(result
, 0);
3946 SWIGINTERN PyObject
*_wrap_EditableListBox_GetEditButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 PyObject
*resultobj
= 0;
3948 wxEditableListBox
*arg1
= (wxEditableListBox
*) 0 ;
3949 wxBitmapButton
*result
= 0 ;
3952 PyObject
*swig_obj
[1] ;
3954 if (!args
) SWIG_fail
;
3956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEditableListBox
, 0 | 0 );
3957 if (!SWIG_IsOK(res1
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3960 arg1
= reinterpret_cast< wxEditableListBox
* >(argp1
);
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (wxBitmapButton
*)(arg1
)->GetEditButton();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= wxPyMake_wxObject(result
, 0);
3976 SWIGINTERN PyObject
*EditableListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3979 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox
, SWIG_NewClientData(obj
));
3980 return SWIG_Py_Void();
3983 SWIGINTERN PyObject
*EditableListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3984 return SWIG_Python_InitShadowInstance(args
);
3987 SWIGINTERN PyObject
*_wrap_new_RemotelyScrolledTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
= 0;
3989 wxWindow
*arg1
= (wxWindow
*) 0 ;
3991 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3992 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3993 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3994 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3995 long arg5
= (long) wxTR_HAS_BUTTONS
;
3996 wxRemotelyScrolledTreeCtrl
*result
= 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4007 PyObject
* obj2
= 0 ;
4008 PyObject
* obj3
= 0 ;
4009 PyObject
* obj4
= 0 ;
4010 char * kwnames
[] = {
4011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4021 if (!SWIG_IsOK(ecode2
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4024 arg2
= static_cast< int >(val2
);
4028 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4034 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4038 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4039 if (!SWIG_IsOK(ecode5
)) {
4040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4042 arg5
= static_cast< long >(val5
);
4045 if (!wxPyCheckForApp()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 result
= (wxRemotelyScrolledTreeCtrl
*)new wxRemotelyScrolledTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_POINTER_NEW
| 0 );
4058 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 PyObject
*resultobj
= 0;
4060 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4063 PyObject
*swig_obj
[1] ;
4065 if (!args
) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4071 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 (arg1
)->HideVScrollbar();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_Py_Void();
4085 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4086 PyObject
*resultobj
= 0;
4087 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4090 PyObject
*swig_obj
[1] ;
4092 if (!args
) SWIG_fail
;
4094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4095 if (!SWIG_IsOK(res1
)) {
4096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4098 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 (arg1
)->AdjustRemoteScrollbars();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= SWIG_Py_Void();
4112 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4113 PyObject
*resultobj
= 0;
4114 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4115 wxScrolledWindow
*result
= 0 ;
4118 PyObject
*swig_obj
[1] ;
4120 if (!args
) SWIG_fail
;
4122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4123 if (!SWIG_IsOK(res1
)) {
4124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4126 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxScrolledWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetScrolledWindow();
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= wxPyMake_wxObject(result
, 0);
4142 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
= 0;
4144 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 PyObject
* obj2
= 0 ;
4156 char * kwnames
[] = {
4157 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4162 if (!SWIG_IsOK(res1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4165 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4167 if (!SWIG_IsOK(ecode2
)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4170 arg2
= static_cast< int >(val2
);
4171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4172 if (!SWIG_IsOK(ecode3
)) {
4173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4175 arg3
= static_cast< int >(val3
);
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->ScrollToLine(arg2
,arg3
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_Py_Void();
4189 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4192 wxWindow
*arg2
= (wxWindow
*) 0 ;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4199 char * kwnames
[] = {
4200 (char *) "self",(char *) "companion", NULL
4203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames
,&obj0
,&obj1
)) 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_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4208 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4210 if (!SWIG_IsOK(res2
)) {
4211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 (arg1
)->SetCompanionWindow(arg2
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_Py_Void();
4227 SWIGINTERN PyObject
*_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4228 PyObject
*resultobj
= 0;
4229 wxRemotelyScrolledTreeCtrl
*arg1
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4230 wxWindow
*result
= 0 ;
4233 PyObject
*swig_obj
[1] ;
4235 if (!args
) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4241 arg1
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp1
);
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (wxWindow
*)((wxRemotelyScrolledTreeCtrl
const *)arg1
)->GetCompanionWindow();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= wxPyMake_wxObject(result
, 0);
4257 SWIGINTERN PyObject
*RemotelyScrolledTreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4260 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, SWIG_NewClientData(obj
));
4261 return SWIG_Py_Void();
4264 SWIGINTERN PyObject
*RemotelyScrolledTreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4265 return SWIG_Python_InitShadowInstance(args
);
4268 SWIGINTERN PyObject
*_wrap_new_TreeCompanionWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
= 0;
4270 wxWindow
*arg1
= (wxWindow
*) 0 ;
4271 int arg2
= (int) -1 ;
4272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4276 long arg5
= (long) 0 ;
4277 wxPyTreeCompanionWindow
*result
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 PyObject
* obj2
= 0 ;
4289 PyObject
* obj3
= 0 ;
4290 PyObject
* obj4
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4303 if (!SWIG_IsOK(ecode2
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4306 arg2
= static_cast< int >(val2
);
4311 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4317 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4321 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4322 if (!SWIG_IsOK(ecode5
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4325 arg5
= static_cast< long >(val5
);
4328 if (!wxPyCheckForApp()) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (wxPyTreeCompanionWindow
*)new wxPyTreeCompanionWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_POINTER_NEW
| 0 );
4341 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4344 PyObject
*arg2
= (PyObject
*) 0 ;
4345 PyObject
*arg3
= (PyObject
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4350 PyObject
* obj2
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "self",(char *) "_class", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4360 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_Py_Void();
4376 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4377 PyObject
*resultobj
= 0;
4378 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4379 wxRemotelyScrolledTreeCtrl
*result
= 0 ;
4382 PyObject
*swig_obj
[1] ;
4384 if (!args
) SWIG_fail
;
4386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4387 if (!SWIG_IsOK(res1
)) {
4388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4390 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (wxRemotelyScrolledTreeCtrl
*)((wxPyTreeCompanionWindow
const *)arg1
)->GetTreeCtrl();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4404 SWIGINTERN PyObject
*_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= 0;
4406 wxPyTreeCompanionWindow
*arg1
= (wxPyTreeCompanionWindow
*) 0 ;
4407 wxRemotelyScrolledTreeCtrl
*arg2
= (wxRemotelyScrolledTreeCtrl
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 char * kwnames
[] = {
4415 (char *) "self",(char *) "treeCtrl", NULL
4418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCompanionWindow
, 0 | 0 );
4420 if (!SWIG_IsOK(res1
)) {
4421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4423 arg1
= reinterpret_cast< wxPyTreeCompanionWindow
* >(argp1
);
4424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl
, 0 | 0 );
4425 if (!SWIG_IsOK(res2
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4428 arg2
= reinterpret_cast< wxRemotelyScrolledTreeCtrl
* >(argp2
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetTreeCtrl(arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_Py_Void();
4442 SWIGINTERN PyObject
*TreeCompanionWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow
, SWIG_NewClientData(obj
));
4446 return SWIG_Py_Void();
4449 SWIGINTERN PyObject
*TreeCompanionWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4450 return SWIG_Python_InitShadowInstance(args
);
4453 SWIGINTERN PyObject
*_wrap_new_ThinSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
= 0;
4455 wxWindow
*arg1
= (wxWindow
*) 0 ;
4456 int arg2
= (int) -1 ;
4457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4461 long arg5
= (long) wxSP_3D
|wxCLIP_CHILDREN
;
4462 wxThinSplitterWindow
*result
= 0 ;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4473 PyObject
* obj2
= 0 ;
4474 PyObject
* obj3
= 0 ;
4475 PyObject
* obj4
= 0 ;
4476 char * kwnames
[] = {
4477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4482 if (!SWIG_IsOK(res1
)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4488 if (!SWIG_IsOK(ecode2
)) {
4489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4491 arg2
= static_cast< int >(val2
);
4496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4506 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4507 if (!SWIG_IsOK(ecode5
)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4510 arg5
= static_cast< long >(val5
);
4513 if (!wxPyCheckForApp()) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (wxThinSplitterWindow
*)new wxThinSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxThinSplitterWindow
, SWIG_POINTER_NEW
| 0 );
4526 SWIGINTERN PyObject
*ThinSplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4529 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow
, SWIG_NewClientData(obj
));
4530 return SWIG_Py_Void();
4533 SWIGINTERN PyObject
*ThinSplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 return SWIG_Python_InitShadowInstance(args
);
4537 SWIGINTERN PyObject
*_wrap_new_SplitterScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= 0;
4539 wxWindow
*arg1
= (wxWindow
*) 0 ;
4540 int arg2
= (int) -1 ;
4541 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4542 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4543 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4544 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4545 long arg5
= (long) 0 ;
4546 wxSplitterScrolledWindow
*result
= 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4557 PyObject
* obj2
= 0 ;
4558 PyObject
* obj3
= 0 ;
4559 PyObject
* obj4
= 0 ;
4560 char * kwnames
[] = {
4561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4572 if (!SWIG_IsOK(ecode2
)) {
4573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4575 arg2
= static_cast< int >(val2
);
4580 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4586 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4590 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4591 if (!SWIG_IsOK(ecode5
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4594 arg5
= static_cast< long >(val5
);
4597 if (!wxPyCheckForApp()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxSplitterScrolledWindow
*)new wxSplitterScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4610 SWIGINTERN PyObject
*SplitterScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow
, SWIG_NewClientData(obj
));
4614 return SWIG_Py_Void();
4617 SWIGINTERN PyObject
*SplitterScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 return SWIG_Python_InitShadowInstance(args
);
4621 SWIGINTERN PyObject
*_wrap_new_LEDNumberCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
= 0;
4623 wxWindow
*arg1
= (wxWindow
*) 0 ;
4624 int arg2
= (int) -1 ;
4625 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4626 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4627 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4628 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4629 long arg5
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
4630 wxLEDNumberCtrl
*result
= 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4642 PyObject
* obj3
= 0 ;
4643 PyObject
* obj4
= 0 ;
4644 char * kwnames
[] = {
4645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4650 if (!SWIG_IsOK(res1
)) {
4651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4656 if (!SWIG_IsOK(ecode2
)) {
4657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4659 arg2
= static_cast< int >(val2
);
4664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4670 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4674 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4675 if (!SWIG_IsOK(ecode5
)) {
4676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4678 arg5
= static_cast< long >(val5
);
4681 if (!wxPyCheckForApp()) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_NEW
| 0 );
4694 SWIGINTERN PyObject
*_wrap_new_PreLEDNumberCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4695 PyObject
*resultobj
= 0;
4696 wxLEDNumberCtrl
*result
= 0 ;
4698 if (!SWIG_Python_UnpackTuple(args
,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail
;
4700 if (!wxPyCheckForApp()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (wxLEDNumberCtrl
*)new wxLEDNumberCtrl();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_POINTER_OWN
| 0 );
4713 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
= 0;
4715 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4716 wxWindow
*arg2
= (wxWindow
*) 0 ;
4717 int arg3
= (int) -1 ;
4718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4722 long arg6
= (long) wxLED_ALIGN_LEFT
|wxLED_DRAW_FADED
;
4734 PyObject
* obj0
= 0 ;
4735 PyObject
* obj1
= 0 ;
4736 PyObject
* obj2
= 0 ;
4737 PyObject
* obj3
= 0 ;
4738 PyObject
* obj4
= 0 ;
4739 PyObject
* obj5
= 0 ;
4740 char * kwnames
[] = {
4741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4749 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4751 if (!SWIG_IsOK(res2
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4757 if (!SWIG_IsOK(ecode3
)) {
4758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4760 arg3
= static_cast< int >(val3
);
4765 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4771 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4775 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4776 if (!SWIG_IsOK(ecode6
)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4779 arg6
= static_cast< long >(val6
);
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4796 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4799 wxLEDValueAlign result
;
4802 PyObject
*swig_obj
[1] ;
4804 if (!args
) SWIG_fail
;
4806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4807 if (!SWIG_IsOK(res1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4810 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (wxLEDValueAlign
)((wxLEDNumberCtrl
const *)arg1
)->GetAlignment();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_From_int(static_cast< int >(result
));
4824 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetDrawFaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4825 PyObject
*resultobj
= 0;
4826 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4830 PyObject
*swig_obj
[1] ;
4832 if (!args
) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4838 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (bool)((wxLEDNumberCtrl
const *)arg1
)->GetDrawFaded();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4856 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4857 wxString
*result
= 0 ;
4860 PyObject
*swig_obj
[1] ;
4862 if (!args
) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4868 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 wxString
const &_result_ref
= ((wxLEDNumberCtrl
const *)arg1
)->GetValue();
4873 result
= (wxString
*) &_result_ref
;
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4891 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
= 0;
4893 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4894 wxLEDValueAlign arg2
;
4895 bool arg3
= (bool) true ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4904 PyObject
* obj2
= 0 ;
4905 char * kwnames
[] = {
4906 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4911 if (!SWIG_IsOK(res1
)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4914 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4916 if (!SWIG_IsOK(ecode2
)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4919 arg2
= static_cast< wxLEDValueAlign
>(val2
);
4921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4922 if (!SWIG_IsOK(ecode3
)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4925 arg3
= static_cast< bool >(val3
);
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 (arg1
)->SetAlignment(arg2
,arg3
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_Py_Void();
4940 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetDrawFaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
= 0;
4942 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4944 bool arg3
= (bool) true ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4953 PyObject
* obj2
= 0 ;
4954 char * kwnames
[] = {
4955 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
4960 if (!SWIG_IsOK(res1
)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4963 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
4964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4965 if (!SWIG_IsOK(ecode2
)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4968 arg2
= static_cast< bool >(val2
);
4970 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4971 if (!SWIG_IsOK(ecode3
)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4974 arg3
= static_cast< bool >(val3
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 (arg1
)->SetDrawFaded(arg2
,arg3
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_Py_Void();
4989 SWIGINTERN PyObject
*_wrap_LEDNumberCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
= 0;
4991 wxLEDNumberCtrl
*arg1
= (wxLEDNumberCtrl
*) 0 ;
4992 wxString
*arg2
= 0 ;
4993 bool arg3
= (bool) true ;
4996 bool temp2
= false ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5001 PyObject
* obj2
= 0 ;
5002 char * kwnames
[] = {
5003 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLEDNumberCtrl
, 0 | 0 );
5008 if (!SWIG_IsOK(res1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5011 arg1
= reinterpret_cast< wxLEDNumberCtrl
* >(argp1
);
5013 arg2
= wxString_in_helper(obj1
);
5014 if (arg2
== NULL
) SWIG_fail
;
5018 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
5019 if (!SWIG_IsOK(ecode3
)) {
5020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5022 arg3
= static_cast< bool >(val3
);
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 (arg1
)->SetValue((wxString
const &)*arg2
,arg3
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_Py_Void();
5045 SWIGINTERN PyObject
*LEDNumberCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5048 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl
, SWIG_NewClientData(obj
));
5049 return SWIG_Py_Void();
5052 SWIGINTERN PyObject
*LEDNumberCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 return SWIG_Python_InitShadowInstance(args
);
5056 SWIGINTERN PyObject
*_wrap_new_TreeListColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5059 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5060 int arg2
= (int) -1 ;
5061 size_t arg3
= (size_t) 100 ;
5062 bool arg4
= (bool) true ;
5063 wxTreeListColumnAlign arg5
= (wxTreeListColumnAlign
) wxTL_ALIGN_LEFT
;
5064 wxTreeListColumnInfo
*result
= 0 ;
5065 bool temp1
= false ;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5079 char * kwnames
[] = {
5080 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5086 arg1
= wxString_in_helper(obj0
);
5087 if (arg1
== NULL
) SWIG_fail
;
5092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5093 if (!SWIG_IsOK(ecode2
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5096 arg2
= static_cast< int >(val2
);
5099 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
5100 if (!SWIG_IsOK(ecode3
)) {
5101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5103 arg3
= static_cast< size_t >(val3
);
5106 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
5107 if (!SWIG_IsOK(ecode4
)) {
5108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5110 arg4
= static_cast< bool >(val4
);
5113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
5114 if (!SWIG_IsOK(ecode5
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5117 arg5
= static_cast< wxTreeListColumnAlign
>(val5
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (wxTreeListColumnInfo
*)new wxTreeListColumnInfo((wxString
const &)*arg1
,arg2
,arg3
,arg4
,arg5
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_POINTER_NEW
| 0 );
5140 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5141 PyObject
*resultobj
= 0;
5142 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5146 PyObject
*swig_obj
[1] ;
5148 if (!args
) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5154 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (bool)((wxTreeListColumnInfo
const *)arg1
)->GetShown();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5170 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5171 PyObject
*resultobj
= 0;
5172 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5173 wxTreeListColumnAlign result
;
5176 PyObject
*swig_obj
[1] ;
5178 if (!args
) SWIG_fail
;
5180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5181 if (!SWIG_IsOK(res1
)) {
5182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5184 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (wxTreeListColumnAlign
)((wxTreeListColumnInfo
const *)arg1
)->GetAlignment();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_From_int(static_cast< int >(result
));
5198 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5199 PyObject
*resultobj
= 0;
5200 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5204 PyObject
*swig_obj
[1] ;
5206 if (!args
) SWIG_fail
;
5208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5209 if (!SWIG_IsOK(res1
)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5212 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= ((wxTreeListColumnInfo
const *)arg1
)->GetText();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5232 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5233 PyObject
*resultobj
= 0;
5234 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5238 PyObject
*swig_obj
[1] ;
5240 if (!args
) SWIG_fail
;
5242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5243 if (!SWIG_IsOK(res1
)) {
5244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5246 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetImage();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_From_int(static_cast< int >(result
));
5260 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetSelectedImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5261 PyObject
*resultobj
= 0;
5262 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5266 PyObject
*swig_obj
[1] ;
5268 if (!args
) SWIG_fail
;
5270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5271 if (!SWIG_IsOK(res1
)) {
5272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5274 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (int)((wxTreeListColumnInfo
const *)arg1
)->GetSelectedImage();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= SWIG_From_int(static_cast< int >(result
));
5288 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5289 PyObject
*resultobj
= 0;
5290 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5294 PyObject
*swig_obj
[1] ;
5296 if (!args
) SWIG_fail
;
5298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5299 if (!SWIG_IsOK(res1
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5302 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 result
= (size_t)((wxTreeListColumnInfo
const *)arg1
)->GetWidth();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
5316 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
= 0;
5318 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5326 char * kwnames
[] = {
5327 (char *) "self",(char *) "shown", NULL
5330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5332 if (!SWIG_IsOK(res1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5335 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5337 if (!SWIG_IsOK(ecode2
)) {
5338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5340 arg2
= static_cast< bool >(val2
);
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->SetShown(arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_Py_Void();
5354 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
= 0;
5356 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5357 wxTreeListColumnAlign arg2
;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 char * kwnames
[] = {
5365 (char *) "self",(char *) "alignment", NULL
5368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5373 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5375 if (!SWIG_IsOK(ecode2
)) {
5376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5378 arg2
= static_cast< wxTreeListColumnAlign
>(val2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetAlignment(arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_Py_Void();
5392 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= 0;
5394 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5395 wxString
*arg2
= 0 ;
5398 bool temp2
= false ;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5401 char * kwnames
[] = {
5402 (char *) "self",(char *) "text", NULL
5405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5410 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5412 arg2
= wxString_in_helper(obj1
);
5413 if (arg2
== NULL
) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->SetText((wxString
const &)*arg2
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= SWIG_Py_Void();
5437 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
= 0;
5439 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5447 char * kwnames
[] = {
5448 (char *) "self",(char *) "image", NULL
5451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5453 if (!SWIG_IsOK(res1
)) {
5454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5456 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5458 if (!SWIG_IsOK(ecode2
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5461 arg2
= static_cast< int >(val2
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->SetImage(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_Py_Void();
5475 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetSelectedImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
= 0;
5477 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 char * kwnames
[] = {
5486 (char *) "self",(char *) "image", NULL
5489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5494 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5496 if (!SWIG_IsOK(ecode2
)) {
5497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5499 arg2
= static_cast< int >(val2
);
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetSelectedImage(arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5513 SWIGINTERN PyObject
*_wrap_TreeListColumnInfo_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
= 0;
5515 wxTreeListColumnInfo
*arg1
= (wxTreeListColumnInfo
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 char * kwnames
[] = {
5524 (char *) "self",(char *) "with", NULL
5527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
5529 if (!SWIG_IsOK(res1
)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5532 arg1
= reinterpret_cast< wxTreeListColumnInfo
* >(argp1
);
5533 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5537 arg2
= static_cast< size_t >(val2
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->SetWidth(arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_Py_Void();
5551 SWIGINTERN PyObject
*TreeListColumnInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5554 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo
, SWIG_NewClientData(obj
));
5555 return SWIG_Py_Void();
5558 SWIGINTERN PyObject
*TreeListColumnInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 return SWIG_Python_InitShadowInstance(args
);
5562 SWIGINTERN PyObject
*_wrap_new_TreeListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxWindow
*arg1
= (wxWindow
*) 0 ;
5565 int arg2
= (int) -1 ;
5566 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5567 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5568 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5569 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5570 long arg5
= (long) wxTR_DEFAULT_STYLE
;
5571 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
5572 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
5573 wxString
const &arg7_defvalue
= wxPyTreeListCtrlNameStr
;
5574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5575 wxPyTreeListCtrl
*result
= 0 ;
5586 bool temp7
= false ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 PyObject
* obj2
= 0 ;
5590 PyObject
* obj3
= 0 ;
5591 PyObject
* obj4
= 0 ;
5592 PyObject
* obj5
= 0 ;
5593 PyObject
* obj6
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5603 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5606 if (!SWIG_IsOK(ecode2
)) {
5607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5609 arg2
= static_cast< int >(val2
);
5614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5620 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5624 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
5625 if (!SWIG_IsOK(ecode5
)) {
5626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5628 arg5
= static_cast< long >(val5
);
5631 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
5632 if (!SWIG_IsOK(res6
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5638 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
5642 arg7
= wxString_in_helper(obj6
);
5643 if (arg7
== NULL
) SWIG_fail
;
5648 if (!wxPyCheckForApp()) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_NEW
| 0 );
5669 SWIGINTERN PyObject
*_wrap_new_PreTreeListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 PyObject
*resultobj
= 0;
5671 wxPyTreeListCtrl
*result
= 0 ;
5673 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeListCtrl",0,0,0)) SWIG_fail
;
5675 if (!wxPyCheckForApp()) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (wxPyTreeListCtrl
*)new wxPyTreeListCtrl();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_POINTER_OWN
| 0 );
5688 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5691 wxWindow
*arg2
= (wxWindow
*) 0 ;
5692 int arg3
= (int) -1 ;
5693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5697 long arg6
= (long) wxTR_DEFAULT_STYLE
;
5698 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5699 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5700 wxString
const &arg8_defvalue
= wxPyTreeListCtrlNameStr
;
5701 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5715 bool temp8
= false ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5718 PyObject
* obj2
= 0 ;
5719 PyObject
* obj3
= 0 ;
5720 PyObject
* obj4
= 0 ;
5721 PyObject
* obj5
= 0 ;
5722 PyObject
* obj6
= 0 ;
5723 PyObject
* obj7
= 0 ;
5724 char * kwnames
[] = {
5725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5730 if (!SWIG_IsOK(res1
)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5733 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5735 if (!SWIG_IsOK(res2
)) {
5736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5741 if (!SWIG_IsOK(ecode3
)) {
5742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5744 arg3
= static_cast< int >(val3
);
5749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5759 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5760 if (!SWIG_IsOK(ecode6
)) {
5761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5763 arg6
= static_cast< long >(val6
);
5766 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5767 if (!SWIG_IsOK(res7
)) {
5768 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5773 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5777 arg8
= wxString_in_helper(obj7
);
5778 if (arg8
== NULL
) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TreeListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5808 PyObject
*arg2
= (PyObject
*) 0 ;
5809 PyObject
*arg3
= (PyObject
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 PyObject
* obj2
= 0 ;
5815 char * kwnames
[] = {
5816 (char *) "self",(char *) "self",(char *) "_class", NULL
5819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5824 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_Py_Void();
5840 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5841 PyObject
*resultobj
= 0;
5842 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5846 PyObject
*swig_obj
[1] ;
5848 if (!args
) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5854 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetCount();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
5868 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5869 PyObject
*resultobj
= 0;
5870 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5871 unsigned int result
;
5874 PyObject
*swig_obj
[1] ;
5876 if (!args
) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5882 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetIndent();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
5896 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
= 0;
5898 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5906 char * kwnames
[] = {
5907 (char *) "self",(char *) "indent", NULL
5910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5915 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5916 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
5917 if (!SWIG_IsOK(ecode2
)) {
5918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5920 arg2
= static_cast< unsigned int >(val2
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 (arg1
)->SetIndent(arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5935 PyObject
*resultobj
= 0;
5936 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5937 unsigned int result
;
5940 PyObject
*swig_obj
[1] ;
5942 if (!args
) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5948 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (unsigned int)((wxPyTreeListCtrl
const *)arg1
)->GetLineSpacing();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
5962 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetLineSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
= 0;
5964 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 char * kwnames
[] = {
5973 (char *) "self",(char *) "spacing", NULL
5976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5981 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
5982 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
5983 if (!SWIG_IsOK(ecode2
)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
5986 arg2
= static_cast< unsigned int >(val2
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 (arg1
)->SetLineSpacing(arg2
);
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= SWIG_Py_Void();
6000 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6001 PyObject
*resultobj
= 0;
6002 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6003 wxImageList
*result
= 0 ;
6006 PyObject
*swig_obj
[1] ;
6008 if (!args
) SWIG_fail
;
6010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6011 if (!SWIG_IsOK(res1
)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6014 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetImageList();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6030 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6031 PyObject
*resultobj
= 0;
6032 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6033 wxImageList
*result
= 0 ;
6036 PyObject
*swig_obj
[1] ;
6038 if (!args
) SWIG_fail
;
6040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6041 if (!SWIG_IsOK(res1
)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6044 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetStateImageList();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6060 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6061 PyObject
*resultobj
= 0;
6062 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6063 wxImageList
*result
= 0 ;
6066 PyObject
*swig_obj
[1] ;
6068 if (!args
) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6074 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 result
= (wxImageList
*)((wxPyTreeListCtrl
const *)arg1
)->GetButtonsImageList();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6090 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
= 0;
6092 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6093 wxImageList
*arg2
= (wxImageList
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "self",(char *) "imageList", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6106 if (!SWIG_IsOK(res1
)) {
6107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6109 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6111 if (!SWIG_IsOK(res2
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6114 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 (arg1
)->SetImageList(arg2
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_Py_Void();
6128 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6131 wxImageList
*arg2
= (wxImageList
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6138 char * kwnames
[] = {
6139 (char *) "self",(char *) "imageList", NULL
6142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6144 if (!SWIG_IsOK(res1
)) {
6145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6147 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6149 if (!SWIG_IsOK(res2
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6152 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 (arg1
)->SetStateImageList(arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_Py_Void();
6166 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
= 0;
6168 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6169 wxImageList
*arg2
= (wxImageList
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6176 char * kwnames
[] = {
6177 (char *) "self",(char *) "imageList", NULL
6180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6182 if (!SWIG_IsOK(res1
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6185 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
6187 if (!SWIG_IsOK(res2
)) {
6188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6190 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->SetButtonsImageList(arg2
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_Py_Void();
6204 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
= 0;
6206 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6207 wxImageList
*arg2
= (wxImageList
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "self",(char *) "imageList", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6222 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6223 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6224 if (!SWIG_IsOK(res2
)) {
6225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 (arg1
)->AssignImageList(arg2
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_Py_Void();
6240 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6243 wxImageList
*arg2
= (wxImageList
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 char * kwnames
[] = {
6250 (char *) "self",(char *) "imageList", NULL
6253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6258 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6259 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6260 if (!SWIG_IsOK(res2
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 (arg1
)->AssignStateImageList(arg2
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_Py_Void();
6276 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AssignButtonsImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
= 0;
6278 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6279 wxImageList
*arg2
= (wxImageList
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6285 char * kwnames
[] = {
6286 (char *) "self",(char *) "imageList", NULL
6289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6291 if (!SWIG_IsOK(res1
)) {
6292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6294 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6295 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
6296 if (!SWIG_IsOK(res2
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 (arg1
)->AssignButtonsImageList(arg2
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_Py_Void();
6312 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= 0;
6314 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6315 wxString
*arg2
= 0 ;
6318 bool temp2
= false ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "text", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AddColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6330 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6332 arg2
= wxString_in_helper(obj1
);
6333 if (arg2
== NULL
) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 (arg1
)->AddColumn((wxString
const &)*arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_Py_Void();
6357 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
= 0;
6359 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6360 wxTreeListColumnInfo
*arg2
= 0 ;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 char * kwnames
[] = {
6368 (char *) "self",(char *) "col", NULL
6371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6373 if (!SWIG_IsOK(res1
)) {
6374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6376 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6378 if (!SWIG_IsOK(res2
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6384 arg2
= reinterpret_cast< wxTreeListColumnInfo
* >(argp2
);
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 (arg1
)->AddColumn((wxTreeListColumnInfo
const &)*arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_Py_Void();
6398 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
= 0;
6400 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6402 wxString
*arg3
= 0 ;
6407 bool temp3
= false ;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6410 PyObject
* obj2
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "before",(char *) "text", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6420 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6421 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6422 if (!SWIG_IsOK(ecode2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6425 arg2
= static_cast< size_t >(val2
);
6427 arg3
= wxString_in_helper(obj2
);
6428 if (arg3
== NULL
) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 (arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_Py_Void();
6452 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertColumnInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= 0;
6454 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6456 wxTreeListColumnInfo
*arg3
= 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 char * kwnames
[] = {
6467 (char *) "self",(char *) "before",(char *) "col", NULL
6470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6472 if (!SWIG_IsOK(res1
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6475 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6476 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6477 if (!SWIG_IsOK(ecode2
)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6480 arg2
= static_cast< size_t >(val2
);
6481 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6482 if (!SWIG_IsOK(res3
)) {
6483 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6488 arg3
= reinterpret_cast< wxTreeListColumnInfo
* >(argp3
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 (arg1
)->InsertColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_Py_Void();
6502 SWIGINTERN PyObject
*_wrap_TreeListCtrl_RemoveColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
= 0;
6504 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6512 char * kwnames
[] = {
6513 (char *) "self",(char *) "column", NULL
6516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6521 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6522 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6523 if (!SWIG_IsOK(ecode2
)) {
6524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6526 arg2
= static_cast< size_t >(val2
);
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 (arg1
)->RemoveColumn(arg2
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6554 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetColumnCount();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
6568 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
= 0;
6570 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 PyObject
* obj2
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "column",(char *) "width", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6591 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6592 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6593 if (!SWIG_IsOK(ecode2
)) {
6594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6596 arg2
= static_cast< size_t >(val2
);
6597 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
6598 if (!SWIG_IsOK(ecode3
)) {
6599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6601 arg3
= static_cast< size_t >(val3
);
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->SetColumnWidth(arg2
,arg3
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 resultobj
= SWIG_Py_Void();
6615 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
= 0;
6617 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 char * kwnames
[] = {
6627 (char *) "self",(char *) "column", NULL
6630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6635 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6636 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6637 if (!SWIG_IsOK(ecode2
)) {
6638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6640 arg2
= static_cast< size_t >(val2
);
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= SWIG_From_int(static_cast< int >(result
));
6654 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetMainColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
= 0;
6656 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6664 char * kwnames
[] = {
6665 (char *) "self",(char *) "column", NULL
6668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6670 if (!SWIG_IsOK(res1
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6673 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6674 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6675 if (!SWIG_IsOK(ecode2
)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6678 arg2
= static_cast< size_t >(val2
);
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 (arg1
)->SetMainColumn(arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_Py_Void();
6692 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetMainColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6693 PyObject
*resultobj
= 0;
6694 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6698 PyObject
*swig_obj
[1] ;
6700 if (!args
) SWIG_fail
;
6702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6703 if (!SWIG_IsOK(res1
)) {
6704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6706 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (size_t)((wxPyTreeListCtrl
const *)arg1
)->GetMainColumn();
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
6720 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
= 0;
6722 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6724 wxString
*arg3
= 0 ;
6729 bool temp3
= false ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 char * kwnames
[] = {
6734 (char *) "self",(char *) "column",(char *) "text", NULL
6737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6739 if (!SWIG_IsOK(res1
)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6742 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6743 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6744 if (!SWIG_IsOK(ecode2
)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6747 arg2
= static_cast< size_t >(val2
);
6749 arg3
= wxString_in_helper(obj2
);
6750 if (arg3
== NULL
) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 (arg1
)->SetColumnText(arg2
,(wxString
const &)*arg3
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_Py_Void();
6774 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
= 0;
6776 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "self",(char *) "column", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6794 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6795 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6796 if (!SWIG_IsOK(ecode2
)) {
6797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6799 arg2
= static_cast< size_t >(val2
);
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetColumnText(arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6819 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= 0;
6821 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6823 wxTreeListColumnInfo
*arg3
= 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "column",(char *) "info", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6842 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6843 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6844 if (!SWIG_IsOK(ecode2
)) {
6845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6847 arg2
= static_cast< size_t >(val2
);
6848 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0);
6849 if (!SWIG_IsOK(res3
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6855 arg3
= reinterpret_cast< wxTreeListColumnInfo
* >(argp3
);
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 (arg1
)->SetColumn(arg2
,(wxTreeListColumnInfo
const &)*arg3
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_Py_Void();
6869 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= 0;
6871 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6873 wxTreeListColumnInfo
*result
= 0 ;
6878 PyObject
* obj0
= 0 ;
6879 PyObject
* obj1
= 0 ;
6880 char * kwnames
[] = {
6881 (char *) "self",(char *) "column", NULL
6884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6886 if (!SWIG_IsOK(res1
)) {
6887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6889 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6890 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6891 if (!SWIG_IsOK(ecode2
)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6894 arg2
= static_cast< size_t >(val2
);
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 wxTreeListColumnInfo
&_result_ref
= (arg1
)->GetColumn(arg2
);
6899 result
= (wxTreeListColumnInfo
*) &_result_ref
;
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeListColumnInfo
, 0 | 0 );
6911 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
= 0;
6913 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6915 wxTreeListColumnAlign arg3
;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6925 char * kwnames
[] = {
6926 (char *) "self",(char *) "column",(char *) "align", NULL
6929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6934 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6935 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6936 if (!SWIG_IsOK(ecode2
)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6939 arg2
= static_cast< size_t >(val2
);
6940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6941 if (!SWIG_IsOK(ecode3
)) {
6942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6944 arg3
= static_cast< wxTreeListColumnAlign
>(val3
);
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 (arg1
)->SetColumnAlignment(arg2
,arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_Py_Void();
6958 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
= 0;
6960 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
6962 wxTreeListColumnAlign result
;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 char * kwnames
[] = {
6970 (char *) "self",(char *) "column", NULL
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6978 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
6979 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
6980 if (!SWIG_IsOK(ecode2
)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6983 arg2
= static_cast< size_t >(val2
);
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (wxTreeListColumnAlign
)((wxPyTreeListCtrl
const *)arg1
)->GetColumnAlignment(arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_From_int(static_cast< int >(result
));
6997 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= 0;
6999 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 PyObject
* obj2
= 0 ;
7011 char * kwnames
[] = {
7012 (char *) "self",(char *) "column",(char *) "image", NULL
7015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7020 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7021 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7022 if (!SWIG_IsOK(ecode2
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7025 arg2
= static_cast< size_t >(val2
);
7026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7027 if (!SWIG_IsOK(ecode3
)) {
7028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7030 arg3
= static_cast< int >(val3
);
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 (arg1
)->SetColumnImage(arg2
,arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_Py_Void();
7044 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= 0;
7046 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "column", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7064 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7065 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7066 if (!SWIG_IsOK(ecode2
)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7069 arg2
= static_cast< size_t >(val2
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxPyTreeListCtrl
const *)arg1
)->GetColumnImage(arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ShowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 PyObject
* obj2
= 0 ;
7097 char * kwnames
[] = {
7098 (char *) "self",(char *) "column",(char *) "shown", NULL
7101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7103 if (!SWIG_IsOK(res1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7106 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7107 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7108 if (!SWIG_IsOK(ecode2
)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7111 arg2
= static_cast< size_t >(val2
);
7112 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7113 if (!SWIG_IsOK(ecode3
)) {
7114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7116 arg3
= static_cast< bool >(val3
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 (arg1
)->ShowColumn(arg2
,arg3
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_Py_Void();
7130 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsColumnShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 char * kwnames
[] = {
7142 (char *) "self",(char *) "column", NULL
7145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7150 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
7152 if (!SWIG_IsOK(ecode2
)) {
7153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7155 arg2
= static_cast< size_t >(val2
);
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsColumnShown(arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7171 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
= 0;
7173 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7174 wxTreeItemId
*arg2
= 0 ;
7175 int arg3
= (int) -1 ;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 PyObject
* obj2
= 0 ;
7186 char * kwnames
[] = {
7187 (char *) "self",(char *) "item",(char *) "column", NULL
7190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7195 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7197 if (!SWIG_IsOK(res2
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7206 if (!SWIG_IsOK(ecode3
)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7209 arg3
= static_cast< int >(val3
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= wxPyTreeListCtrl_GetItemText(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7230 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7233 wxTreeItemId
*arg2
= 0 ;
7234 int arg3
= (int) -1 ;
7235 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7247 PyObject
* obj2
= 0 ;
7248 PyObject
* obj3
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7258 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7260 if (!SWIG_IsOK(res2
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7266 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7269 if (!SWIG_IsOK(ecode3
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7272 arg3
= static_cast< int >(val3
);
7275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7276 if (!SWIG_IsOK(ecode4
)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7279 arg4
= static_cast< wxTreeItemIcon
>(val4
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (int)wxPyTreeListCtrl_GetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,arg4
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_From_int(static_cast< int >(result
));
7294 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
= 0;
7296 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7297 wxTreeItemId
*arg2
= 0 ;
7298 wxString
*arg3
= 0 ;
7299 int arg4
= (int) -1 ;
7304 bool temp3
= false ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7310 PyObject
* obj3
= 0 ;
7311 char * kwnames
[] = {
7312 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7317 if (!SWIG_IsOK(res1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7320 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7322 if (!SWIG_IsOK(res2
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7328 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7330 arg3
= wxString_in_helper(obj2
);
7331 if (arg3
== NULL
) SWIG_fail
;
7335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7336 if (!SWIG_IsOK(ecode4
)) {
7337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7339 arg4
= static_cast< int >(val4
);
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 wxPyTreeListCtrl_SetItemText(arg1
,(wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_Py_Void();
7362 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
= 0;
7364 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7365 wxTreeItemId
*arg2
= 0 ;
7367 int arg4
= (int) -1 ;
7368 wxTreeItemIcon arg5
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 PyObject
* obj2
= 0 ;
7382 PyObject
* obj3
= 0 ;
7383 PyObject
* obj4
= 0 ;
7384 char * kwnames
[] = {
7385 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7393 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7395 if (!SWIG_IsOK(res2
)) {
7396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7403 if (!SWIG_IsOK(ecode3
)) {
7404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7406 arg3
= static_cast< int >(val3
);
7408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7409 if (!SWIG_IsOK(ecode4
)) {
7410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7412 arg4
= static_cast< int >(val4
);
7415 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7416 if (!SWIG_IsOK(ecode5
)) {
7417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7419 arg5
= static_cast< wxTreeItemIcon
>(val5
);
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 wxPyTreeListCtrl_SetItemImage(arg1
,(wxTreeItemId
const &)*arg2
,arg3
,arg4
,arg5
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_Py_Void();
7434 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
= 0;
7436 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7437 wxTreeItemId
*arg2
= 0 ;
7438 wxPyTreeItemData
*result
= 0 ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7445 char * kwnames
[] = {
7446 (char *) "self",(char *) "item", NULL
7449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7454 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7456 if (!SWIG_IsOK(res2
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 result
= (wxPyTreeItemData
*)wxPyTreeListCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
7476 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
= 0;
7478 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7479 wxTreeItemId
*arg2
= 0 ;
7480 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 PyObject
* obj2
= 0 ;
7490 char * kwnames
[] = {
7491 (char *) "self",(char *) "item",(char *) "data", NULL
7494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7496 if (!SWIG_IsOK(res1
)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7499 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7501 if (!SWIG_IsOK(res2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7508 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
7509 if (!SWIG_IsOK(res3
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7512 arg3
= reinterpret_cast< wxPyTreeItemData
* >(argp3
);
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 wxPyTreeListCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= SWIG_Py_Void();
7526 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
= 0;
7528 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7529 wxTreeItemId
*arg2
= 0 ;
7530 PyObject
*result
= 0 ;
7535 PyObject
* obj0
= 0 ;
7536 PyObject
* obj1
= 0 ;
7537 char * kwnames
[] = {
7538 (char *) "self",(char *) "item", NULL
7541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7543 if (!SWIG_IsOK(res1
)) {
7544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7546 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7548 if (!SWIG_IsOK(res2
)) {
7549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7554 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (PyObject
*)wxPyTreeListCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7568 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7570 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7571 wxTreeItemId
*arg2
= 0 ;
7572 PyObject
*arg3
= (PyObject
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 PyObject
* obj2
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "item",(char *) "obj", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7589 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7591 if (!SWIG_IsOK(res2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7597 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxPyTreeListCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_Py_Void();
7612 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
= 0;
7614 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7615 wxTreeItemId
*arg2
= 0 ;
7616 bool arg3
= (bool) true ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 PyObject
* obj2
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "item",(char *) "has", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7635 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7637 if (!SWIG_IsOK(res2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7643 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7646 if (!SWIG_IsOK(ecode3
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7649 arg3
= static_cast< bool >(val3
);
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_Py_Void();
7664 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
= 0;
7666 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7667 wxTreeItemId
*arg2
= 0 ;
7668 bool arg3
= (bool) true ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 PyObject
* obj2
= 0 ;
7678 char * kwnames
[] = {
7679 (char *) "self",(char *) "item",(char *) "bold", NULL
7682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7687 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7689 if (!SWIG_IsOK(res2
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7695 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7697 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7698 if (!SWIG_IsOK(ecode3
)) {
7699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7701 arg3
= static_cast< bool >(val3
);
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_Py_Void();
7716 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
= 0;
7718 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7719 wxTreeItemId
*arg2
= 0 ;
7720 wxColour
*arg3
= 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 PyObject
* obj2
= 0 ;
7729 char * kwnames
[] = {
7730 (char *) "self",(char *) "item",(char *) "colour", NULL
7733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7735 if (!SWIG_IsOK(res1
)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7738 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7740 if (!SWIG_IsOK(res2
)) {
7741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7746 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7749 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_Py_Void();
7764 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7767 wxTreeItemId
*arg2
= 0 ;
7768 wxColour
*arg3
= 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 char * kwnames
[] = {
7778 (char *) "self",(char *) "item",(char *) "colour", NULL
7781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7786 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7788 if (!SWIG_IsOK(res2
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7794 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_Py_Void();
7812 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
= 0;
7814 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7815 wxTreeItemId
*arg2
= 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "self",(char *) "item",(char *) "font", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7835 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7837 if (!SWIG_IsOK(res2
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7843 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7844 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
7845 if (!SWIG_IsOK(res3
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7851 arg3
= reinterpret_cast< wxFont
* >(argp3
);
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_Py_Void();
7865 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= 0;
7867 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7868 wxTreeItemId
*arg2
= 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "item", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7885 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7887 if (!SWIG_IsOK(res2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7893 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->GetItemBold((wxTreeItemId
const &)*arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7909 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
= 0;
7911 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7912 wxTreeItemId
*arg2
= 0 ;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 char * kwnames
[] = {
7921 (char *) "self",(char *) "item", NULL
7924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7926 if (!SWIG_IsOK(res1
)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7929 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7931 if (!SWIG_IsOK(res2
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
7951 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7954 wxTreeItemId
*arg2
= 0 ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7962 char * kwnames
[] = {
7963 (char *) "self",(char *) "item", NULL
7966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
7968 if (!SWIG_IsOK(res1
)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7971 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
7972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
7973 if (!SWIG_IsOK(res2
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
7993 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
7996 wxTreeItemId
*arg2
= 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 char * kwnames
[] = {
8005 (char *) "self",(char *) "item", NULL
8008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8013 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8015 if (!SWIG_IsOK(res2
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
8035 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= 0;
8037 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8038 wxTreeItemId
*arg2
= 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "self",(char *) "item", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8052 if (!SWIG_IsOK(res1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8055 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8057 if (!SWIG_IsOK(res2
)) {
8058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8079 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
= 0;
8081 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8082 wxTreeItemId
*arg2
= 0 ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 char * kwnames
[] = {
8091 (char *) "self",(char *) "item", NULL
8094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8096 if (!SWIG_IsOK(res1
)) {
8097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8099 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8101 if (!SWIG_IsOK(res2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8107 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8123 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
= 0;
8125 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8126 wxTreeItemId
*arg2
= 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 char * kwnames
[] = {
8135 (char *) "self",(char *) "item", NULL
8138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8140 if (!SWIG_IsOK(res1
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8143 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8145 if (!SWIG_IsOK(res2
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8151 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8167 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
= 0;
8169 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8170 wxTreeItemId
*arg2
= 0 ;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8178 char * kwnames
[] = {
8179 (char *) "self",(char *) "item", NULL
8182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8184 if (!SWIG_IsOK(res1
)) {
8185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8187 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8189 if (!SWIG_IsOK(res2
)) {
8190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8195 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8211 SWIGINTERN PyObject
*_wrap_TreeListCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
= 0;
8213 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8214 wxTreeItemId
*arg2
= 0 ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 char * kwnames
[] = {
8223 (char *) "self",(char *) "item", NULL
8226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8231 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8233 if (!SWIG_IsOK(res2
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8239 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)((wxPyTreeListCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8255 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8258 wxTreeItemId
*arg2
= 0 ;
8259 bool arg3
= (bool) true ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8269 PyObject
* obj2
= 0 ;
8270 char * kwnames
[] = {
8271 (char *) "self",(char *) "item",(char *) "recursively", NULL
8274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8279 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8281 if (!SWIG_IsOK(res2
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8289 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
8290 if (!SWIG_IsOK(ecode3
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8293 arg3
= static_cast< bool >(val3
);
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
8308 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8309 PyObject
*resultobj
= 0;
8310 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8311 wxTreeItemId result
;
8314 PyObject
*swig_obj
[1] ;
8316 if (!args
) SWIG_fail
;
8318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8319 if (!SWIG_IsOK(res1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8322 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetRootItem();
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8336 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8337 PyObject
*resultobj
= 0;
8338 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8339 wxTreeItemId result
;
8342 PyObject
*swig_obj
[1] ;
8344 if (!args
) SWIG_fail
;
8346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8347 if (!SWIG_IsOK(res1
)) {
8348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8350 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetSelection();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8365 PyObject
*resultobj
= 0;
8366 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8367 PyObject
*result
= 0 ;
8370 PyObject
*swig_obj
[1] ;
8372 if (!args
) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8378 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (PyObject
*)wxPyTreeListCtrl_GetSelections(arg1
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8392 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
= 0;
8394 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8395 wxTreeItemId
*arg2
= 0 ;
8396 wxTreeItemId result
;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 char * kwnames
[] = {
8404 (char *) "self",(char *) "item", NULL
8407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8412 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8414 if (!SWIG_IsOK(res2
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8434 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
= 0;
8436 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8437 wxTreeItemId
*arg2
= 0 ;
8438 PyObject
*result
= 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8445 char * kwnames
[] = {
8446 (char *) "self",(char *) "item", NULL
8449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8451 if (!SWIG_IsOK(res1
)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8454 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8456 if (!SWIG_IsOK(res2
)) {
8457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8462 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (PyObject
*)wxPyTreeListCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8476 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
= 0;
8478 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8479 wxTreeItemId
*arg2
= 0 ;
8480 void *arg3
= (void *) 0 ;
8481 PyObject
*result
= 0 ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8490 char * kwnames
[] = {
8491 (char *) "self",(char *) "item",(char *) "cookie", NULL
8494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8496 if (!SWIG_IsOK(res1
)) {
8497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8499 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8501 if (!SWIG_IsOK(res2
)) {
8502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8507 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8508 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
8509 if (!SWIG_IsOK(res3
)) {
8510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (PyObject
*)wxPyTreeListCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8525 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= 0;
8527 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8528 wxTreeItemId
*arg2
= 0 ;
8529 wxTreeItemId result
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 char * kwnames
[] = {
8537 (char *) "self",(char *) "item", NULL
8540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8545 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8547 if (!SWIG_IsOK(res2
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8553 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8567 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
= 0;
8569 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8570 wxTreeItemId
*arg2
= 0 ;
8571 wxTreeItemId result
;
8576 PyObject
* obj0
= 0 ;
8577 PyObject
* obj1
= 0 ;
8578 char * kwnames
[] = {
8579 (char *) "self",(char *) "item", NULL
8582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8584 if (!SWIG_IsOK(res1
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8587 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8589 if (!SWIG_IsOK(res2
)) {
8590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8595 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8609 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
= 0;
8611 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8612 wxTreeItemId
*arg2
= 0 ;
8613 wxTreeItemId result
;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 char * kwnames
[] = {
8621 (char *) "self",(char *) "item", NULL
8624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8629 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8631 if (!SWIG_IsOK(res2
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8637 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8651 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8652 PyObject
*resultobj
= 0;
8653 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8654 wxTreeItemId result
;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8665 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetFirstVisibleItem();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8679 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
= 0;
8681 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8682 wxTreeItemId
*arg2
= 0 ;
8683 wxTreeItemId result
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "item", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8699 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8701 if (!SWIG_IsOK(res2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8707 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8721 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
= 0;
8723 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8724 wxTreeItemId
*arg2
= 0 ;
8725 wxTreeItemId result
;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "self",(char *) "item", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8738 if (!SWIG_IsOK(res1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8741 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8743 if (!SWIG_IsOK(res2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8749 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8763 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8765 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8766 wxTreeItemId
*arg2
= 0 ;
8767 wxTreeItemId result
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8774 char * kwnames
[] = {
8775 (char *) "self",(char *) "item", NULL
8778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_GetNext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8780 if (!SWIG_IsOK(res1
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8783 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8785 if (!SWIG_IsOK(res2
)) {
8786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8791 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= ((wxPyTreeListCtrl
const *)arg1
)->GetNext((wxTreeItemId
const &)*arg2
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8805 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
= 0;
8807 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8808 wxString
*arg2
= 0 ;
8809 int arg3
= (int) -1 ;
8810 int arg4
= (int) -1 ;
8811 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
8812 wxTreeItemId result
;
8815 bool temp2
= false ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8826 PyObject
* obj4
= 0 ;
8827 char * kwnames
[] = {
8828 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8836 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8838 arg2
= wxString_in_helper(obj1
);
8839 if (arg2
== NULL
) SWIG_fail
;
8843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8844 if (!SWIG_IsOK(ecode3
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8847 arg3
= static_cast< int >(val3
);
8850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8851 if (!SWIG_IsOK(ecode4
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8854 arg4
= static_cast< int >(val4
);
8857 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
8858 if (!SWIG_IsOK(res5
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8861 arg5
= reinterpret_cast< wxPyTreeItemData
* >(argp5
);
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8884 SWIGINTERN PyObject
*_wrap_TreeListCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8887 wxTreeItemId
*arg2
= 0 ;
8888 wxString
*arg3
= 0 ;
8889 int arg4
= (int) -1 ;
8890 int arg5
= (int) -1 ;
8891 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
8892 wxTreeItemId result
;
8897 bool temp3
= false ;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 PyObject
* obj2
= 0 ;
8907 PyObject
* obj3
= 0 ;
8908 PyObject
* obj4
= 0 ;
8909 PyObject
* obj5
= 0 ;
8910 char * kwnames
[] = {
8911 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
8916 if (!SWIG_IsOK(res1
)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8919 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
8920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
8921 if (!SWIG_IsOK(res2
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8927 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
8929 arg3
= wxString_in_helper(obj2
);
8930 if (arg3
== NULL
) SWIG_fail
;
8934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8935 if (!SWIG_IsOK(ecode4
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8938 arg4
= static_cast< int >(val4
);
8941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8942 if (!SWIG_IsOK(ecode5
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8945 arg5
= static_cast< int >(val5
);
8948 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
8949 if (!SWIG_IsOK(res6
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8952 arg6
= reinterpret_cast< wxPyTreeItemData
* >(argp6
);
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
8975 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
= 0;
8977 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
8978 wxTreeItemId
*arg2
= 0 ;
8979 wxTreeItemId
*arg3
= 0 ;
8980 wxString
*arg4
= 0 ;
8981 int arg5
= (int) -1 ;
8982 int arg6
= (int) -1 ;
8983 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
8984 wxTreeItemId result
;
8991 bool temp4
= false ;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9000 PyObject
* obj2
= 0 ;
9001 PyObject
* obj3
= 0 ;
9002 PyObject
* obj4
= 0 ;
9003 PyObject
* obj5
= 0 ;
9004 PyObject
* obj6
= 0 ;
9005 char * kwnames
[] = {
9006 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9014 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9016 if (!SWIG_IsOK(res2
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9022 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9023 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9024 if (!SWIG_IsOK(res3
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9030 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
9032 arg4
= wxString_in_helper(obj3
);
9033 if (arg4
== NULL
) SWIG_fail
;
9037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9038 if (!SWIG_IsOK(ecode5
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9041 arg5
= static_cast< int >(val5
);
9044 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9045 if (!SWIG_IsOK(ecode6
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9048 arg6
= static_cast< int >(val6
);
9051 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
9052 if (!SWIG_IsOK(res7
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9055 arg7
= reinterpret_cast< wxPyTreeItemData
* >(argp7
);
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
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 );
9078 SWIGINTERN PyObject
*_wrap_TreeListCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
= 0;
9080 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9081 wxTreeItemId
*arg2
= 0 ;
9083 wxString
*arg4
= 0 ;
9084 int arg5
= (int) -1 ;
9085 int arg6
= (int) -1 ;
9086 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
9087 wxTreeItemId result
;
9094 bool temp4
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 PyObject
* obj4
= 0 ;
9106 PyObject
* obj5
= 0 ;
9107 PyObject
* obj6
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9117 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9119 if (!SWIG_IsOK(res2
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9125 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9126 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
9127 if (!SWIG_IsOK(ecode3
)) {
9128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9130 arg3
= static_cast< size_t >(val3
);
9132 arg4
= wxString_in_helper(obj3
);
9133 if (arg4
== NULL
) SWIG_fail
;
9137 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9138 if (!SWIG_IsOK(ecode5
)) {
9139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9141 arg5
= static_cast< int >(val5
);
9144 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
9145 if (!SWIG_IsOK(ecode6
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9148 arg6
= static_cast< int >(val6
);
9151 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
9152 if (!SWIG_IsOK(res7
)) {
9153 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9155 arg7
= reinterpret_cast< wxPyTreeItemData
* >(argp7
);
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9178 SWIGINTERN PyObject
*_wrap_TreeListCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
= 0;
9180 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9181 wxTreeItemId
*arg2
= 0 ;
9182 wxString
*arg3
= 0 ;
9183 int arg4
= (int) -1 ;
9184 int arg5
= (int) -1 ;
9185 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
9186 wxTreeItemId result
;
9191 bool temp3
= false ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 PyObject
* obj2
= 0 ;
9201 PyObject
* obj3
= 0 ;
9202 PyObject
* obj4
= 0 ;
9203 PyObject
* obj5
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9213 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9215 if (!SWIG_IsOK(res2
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9221 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9223 arg3
= wxString_in_helper(obj2
);
9224 if (arg3
== NULL
) SWIG_fail
;
9228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9229 if (!SWIG_IsOK(ecode4
)) {
9230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9232 arg4
= static_cast< int >(val4
);
9235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9236 if (!SWIG_IsOK(ecode5
)) {
9237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9239 arg5
= static_cast< int >(val5
);
9242 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
9243 if (!SWIG_IsOK(res6
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9246 arg6
= reinterpret_cast< wxPyTreeItemData
* >(argp6
);
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9269 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
= 0;
9271 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9272 wxTreeItemId
*arg2
= 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "item", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9288 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9290 if (!SWIG_IsOK(res2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_Py_Void();
9310 SWIGINTERN PyObject
*_wrap_TreeListCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
= 0;
9312 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9313 wxTreeItemId
*arg2
= 0 ;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "self",(char *) "item", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9329 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9331 if (!SWIG_IsOK(res2
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9337 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_Py_Void();
9351 SWIGINTERN PyObject
*_wrap_TreeListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9352 PyObject
*resultobj
= 0;
9353 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9356 PyObject
*swig_obj
[1] ;
9358 if (!args
) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9364 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->DeleteAllItems();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_Py_Void();
9378 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
= 0;
9380 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9381 wxTreeItemId
*arg2
= 0 ;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9388 char * kwnames
[] = {
9389 (char *) "self",(char *) "item", NULL
9392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9397 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9399 if (!SWIG_IsOK(res2
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9405 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_Py_Void();
9419 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9422 wxTreeItemId
*arg2
= 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "item", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ExpandAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9438 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9440 if (!SWIG_IsOK(res2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9446 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->ExpandAll((wxTreeItemId
const &)*arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= 0;
9462 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9463 wxTreeItemId
*arg2
= 0 ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 char * kwnames
[] = {
9471 (char *) "self",(char *) "item", NULL
9474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9479 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9481 if (!SWIG_IsOK(res2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9487 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_Py_Void();
9501 SWIGINTERN PyObject
*_wrap_TreeListCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= 0;
9503 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9504 wxTreeItemId
*arg2
= 0 ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "item", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9520 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9522 if (!SWIG_IsOK(res2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9528 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_Py_Void();
9542 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
= 0;
9544 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9545 wxTreeItemId
*arg2
= 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "item", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9561 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9569 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_Py_Void();
9583 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9588 PyObject
*swig_obj
[1] ;
9590 if (!args
) SWIG_fail
;
9592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9593 if (!SWIG_IsOK(res1
)) {
9594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9596 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_Py_Void();
9610 SWIGINTERN PyObject
*_wrap_TreeListCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9611 PyObject
*resultobj
= 0;
9612 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9615 PyObject
*swig_obj
[1] ;
9617 if (!args
) SWIG_fail
;
9619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9620 if (!SWIG_IsOK(res1
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9623 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 (arg1
)->UnselectAll();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_Py_Void();
9637 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= 0;
9639 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9640 wxTreeItemId
*arg2
= 0 ;
9641 bool arg3
= (bool) true ;
9642 bool arg4
= (bool) false ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9653 PyObject
* obj2
= 0 ;
9654 PyObject
* obj3
= 0 ;
9655 char * kwnames
[] = {
9656 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9661 if (!SWIG_IsOK(res1
)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9664 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9666 if (!SWIG_IsOK(res2
)) {
9667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9674 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9675 if (!SWIG_IsOK(ecode3
)) {
9676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9678 arg3
= static_cast< bool >(val3
);
9681 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
9682 if (!SWIG_IsOK(ecode4
)) {
9683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9685 arg4
= static_cast< bool >(val4
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9703 bool arg2
= (bool) false ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "extended_select", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TreeListCtrl_SelectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9719 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9722 if (!SWIG_IsOK(ecode2
)) {
9723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9725 arg2
= static_cast< bool >(val2
);
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SelectAll(arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9740 SWIGINTERN PyObject
*_wrap_TreeListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9742 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9743 wxTreeItemId
*arg2
= 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 char * kwnames
[] = {
9751 (char *) "self",(char *) "item", NULL
9754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9759 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9761 if (!SWIG_IsOK(res2
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9767 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_Py_Void();
9781 SWIGINTERN PyObject
*_wrap_TreeListCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9784 wxTreeItemId
*arg2
= 0 ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 char * kwnames
[] = {
9792 (char *) "self",(char *) "item", NULL
9795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9797 if (!SWIG_IsOK(res1
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9800 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9802 if (!SWIG_IsOK(res2
)) {
9803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9808 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_Py_Void();
9822 SWIGINTERN PyObject
*_wrap_TreeListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
= 0;
9824 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9828 wxTreeItemId result
;
9833 int res3
= SWIG_TMPOBJ
;
9835 int res4
= SWIG_TMPOBJ
;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 char * kwnames
[] = {
9839 (char *) "self",(char *) "point", NULL
9844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9846 if (!SWIG_IsOK(res1
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9849 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,*arg4
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
9861 if (SWIG_IsTmpObj(res3
)) {
9862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
9864 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
9865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
9867 if (SWIG_IsTmpObj(res4
)) {
9868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
9870 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
9871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
9879 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
= 0;
9881 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9882 wxTreeItemId
*arg2
= 0 ;
9883 bool arg3
= (bool) false ;
9884 PyObject
*result
= 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9903 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9905 if (!SWIG_IsOK(res2
)) {
9906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9911 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9913 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9914 if (!SWIG_IsOK(ecode3
)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9917 arg3
= static_cast< bool >(val3
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (PyObject
*)wxPyTreeListCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9932 SWIGINTERN PyObject
*_wrap_TreeListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9935 wxTreeItemId
*arg2
= 0 ;
9940 PyObject
* obj0
= 0 ;
9941 PyObject
* obj1
= 0 ;
9942 char * kwnames
[] = {
9943 (char *) "self",(char *) "item", NULL
9946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9948 if (!SWIG_IsOK(res1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9951 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9953 if (!SWIG_IsOK(res2
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9959 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_Py_Void();
9973 SWIGINTERN PyObject
*_wrap_TreeListCtrl_Edit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
= 0;
9975 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
9976 wxTreeItemId
*arg2
= 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9983 char * kwnames
[] = {
9984 (char *) "self",(char *) "item", NULL
9987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_Edit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9992 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
9993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
9994 if (!SWIG_IsOK(res2
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10000 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 (arg1
)->Edit((wxTreeItemId
const &)*arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_Py_Void();
10014 SWIGINTERN PyObject
*_wrap_TreeListCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
= 0;
10016 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10017 wxTreeItemId
*arg2
= 0 ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char * kwnames
[] = {
10025 (char *) "self",(char *) "item", NULL
10028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeListCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10033 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10035 if (!SWIG_IsOK(res2
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10041 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_Py_Void();
10055 SWIGINTERN PyObject
*_wrap_TreeListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
= 0;
10057 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10058 wxTreeItemId
*arg2
= 0 ;
10059 wxString
*arg3
= 0 ;
10060 int arg4
= (int) 0 ;
10061 wxTreeItemId result
;
10066 bool temp3
= false ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 PyObject
* obj2
= 0 ;
10072 PyObject
* obj3
= 0 ;
10073 char * kwnames
[] = {
10074 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10079 if (!SWIG_IsOK(res1
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10082 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
10084 if (!SWIG_IsOK(res2
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10090 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
10092 arg3
= wxString_in_helper(obj2
);
10093 if (arg3
== NULL
) SWIG_fail
;
10097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10098 if (!SWIG_IsOK(ecode4
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10101 arg4
= static_cast< int >(val4
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (arg1
)->FindItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
10124 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetHeaderWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10125 PyObject
*resultobj
= 0;
10126 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10127 wxWindow
*result
= 0 ;
10130 PyObject
*swig_obj
[1] ;
10132 if (!args
) SWIG_fail
;
10133 swig_obj
[0] = args
;
10134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10135 if (!SWIG_IsOK(res1
)) {
10136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10138 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetHeaderWindow();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= wxPyMake_wxObject(result
, 0);
10154 SWIGINTERN PyObject
*_wrap_TreeListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxPyTreeListCtrl
*arg1
= (wxPyTreeListCtrl
*) 0 ;
10157 wxScrolledWindow
*result
= 0 ;
10160 PyObject
*swig_obj
[1] ;
10162 if (!args
) SWIG_fail
;
10163 swig_obj
[0] = args
;
10164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeListCtrl
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10168 arg1
= reinterpret_cast< wxPyTreeListCtrl
* >(argp1
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxScrolledWindow
*)((wxPyTreeListCtrl
const *)arg1
)->GetMainWindow();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= wxPyMake_wxObject(result
, 0);
10184 SWIGINTERN PyObject
*TreeListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl
, SWIG_NewClientData(obj
));
10188 return SWIG_Py_Void();
10191 SWIGINTERN PyObject
*TreeListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10192 return SWIG_Python_InitShadowInstance(args
);
10195 SWIGINTERN PyObject
*_wrap_new_StaticPicture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
= 0;
10197 wxWindow
*arg1
= (wxWindow
*) 0 ;
10198 int arg2
= (int) -1 ;
10199 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
10200 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
10201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10205 long arg6
= (long) 0 ;
10206 wxString
const &arg7_defvalue
= wxPyStaticPictureNameStr
;
10207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10208 wxStaticPicture
*result
= 0 ;
10219 bool temp7
= false ;
10220 PyObject
* obj0
= 0 ;
10221 PyObject
* obj1
= 0 ;
10222 PyObject
* obj2
= 0 ;
10223 PyObject
* obj3
= 0 ;
10224 PyObject
* obj4
= 0 ;
10225 PyObject
* obj5
= 0 ;
10226 PyObject
* obj6
= 0 ;
10227 char * kwnames
[] = {
10228 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticPicture",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10233 if (!SWIG_IsOK(res1
)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10239 if (!SWIG_IsOK(ecode2
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10242 arg2
= static_cast< int >(val2
);
10245 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10246 if (!SWIG_IsOK(res3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10252 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
10257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10267 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10268 if (!SWIG_IsOK(ecode6
)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10271 arg6
= static_cast< long >(val6
);
10275 arg7
= wxString_in_helper(obj6
);
10276 if (arg7
== NULL
) SWIG_fail
;
10281 if (!wxPyCheckForApp()) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxStaticPicture
*)new wxStaticPicture(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticPicture
, SWIG_POINTER_NEW
| 0 );
10302 SWIGINTERN PyObject
*_wrap_new_PreStaticPicture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxStaticPicture
*result
= 0 ;
10306 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticPicture",0,0,0)) SWIG_fail
;
10308 if (!wxPyCheckForApp()) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (wxStaticPicture
*)new wxStaticPicture();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticPicture
, SWIG_POINTER_OWN
| 0 );
10321 SWIGINTERN PyObject
*_wrap_StaticPicture_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
= 0;
10323 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10324 wxWindow
*arg2
= (wxWindow
*) 0 ;
10325 int arg3
= (int) -1 ;
10326 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
10327 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
10328 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10329 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10330 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10331 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10332 long arg7
= (long) 0 ;
10333 wxString
const &arg8_defvalue
= wxPyStaticPictureNameStr
;
10334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10348 bool temp8
= false ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 PyObject
* obj3
= 0 ;
10353 PyObject
* obj4
= 0 ;
10354 PyObject
* obj5
= 0 ;
10355 PyObject
* obj6
= 0 ;
10356 PyObject
* obj7
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10366 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10368 if (!SWIG_IsOK(res2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10381 if (!SWIG_IsOK(res4
)) {
10382 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10387 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
10392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10402 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10403 if (!SWIG_IsOK(ecode7
)) {
10404 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10406 arg7
= static_cast< long >(val7
);
10410 arg8
= wxString_in_helper(obj7
);
10411 if (arg8
== NULL
) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10438 SWIGINTERN PyObject
*_wrap_StaticPicture_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
= 0;
10440 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10441 wxBitmap
*arg2
= 0 ;
10446 PyObject
* obj0
= 0 ;
10447 PyObject
* obj1
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "self",(char *) "bmp", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10457 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10459 if (!SWIG_IsOK(res2
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10465 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_Py_Void();
10479 SWIGINTERN PyObject
*_wrap_StaticPicture_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10480 PyObject
*resultobj
= 0;
10481 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10485 PyObject
*swig_obj
[1] ;
10487 if (!args
) SWIG_fail
;
10488 swig_obj
[0] = args
;
10489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10490 if (!SWIG_IsOK(res1
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10493 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= ((wxStaticPicture
const *)arg1
)->GetBitmap();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
10507 SWIGINTERN PyObject
*_wrap_StaticPicture_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "self",(char *) "icon", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10523 if (!SWIG_IsOK(res1
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10526 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10528 if (!SWIG_IsOK(res2
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10534 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_Py_Void();
10548 SWIGINTERN PyObject
*_wrap_StaticPicture_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10554 PyObject
*swig_obj
[1] ;
10556 if (!args
) SWIG_fail
;
10557 swig_obj
[0] = args
;
10558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10562 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= ((wxStaticPicture
const *)arg1
)->GetIcon();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10576 SWIGINTERN PyObject
*_wrap_StaticPicture_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10578 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "self",(char *) "align", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10592 if (!SWIG_IsOK(res1
)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10595 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10597 if (!SWIG_IsOK(ecode2
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10600 arg2
= static_cast< int >(val2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->SetAlignment(arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_Py_Void();
10614 SWIGINTERN PyObject
*_wrap_StaticPicture_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 PyObject
*resultobj
= 0;
10616 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10620 PyObject
*swig_obj
[1] ;
10622 if (!args
) SWIG_fail
;
10623 swig_obj
[0] = args
;
10624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10625 if (!SWIG_IsOK(res1
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10628 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (int)((wxStaticPicture
const *)arg1
)->GetAlignment();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_From_int(static_cast< int >(result
));
10642 SWIGINTERN PyObject
*_wrap_StaticPicture_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char * kwnames
[] = {
10653 (char *) "self",(char *) "scale", NULL
10656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticPicture_SetScale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10661 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10663 if (!SWIG_IsOK(ecode2
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10666 arg2
= static_cast< int >(val2
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->SetScale(arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_Py_Void();
10680 SWIGINTERN PyObject
*_wrap_StaticPicture_GetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10686 PyObject
*swig_obj
[1] ;
10688 if (!args
) SWIG_fail
;
10689 swig_obj
[0] = args
;
10690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10694 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (int)((wxStaticPicture
const *)arg1
)->GetScale();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_From_int(static_cast< int >(result
));
10708 SWIGINTERN PyObject
*_wrap_StaticPicture_SetCustomScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 char * kwnames
[] = {
10723 (char *) "self",(char *) "sx",(char *) "sy", NULL
10726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StaticPicture_SetCustomScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10731 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10732 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
10733 if (!SWIG_IsOK(ecode2
)) {
10734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10736 arg2
= static_cast< float >(val2
);
10737 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
10738 if (!SWIG_IsOK(ecode3
)) {
10739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10741 arg3
= static_cast< float >(val3
);
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->SetCustomScale(arg2
,arg3
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= SWIG_Py_Void();
10755 SWIGINTERN PyObject
*_wrap_StaticPicture_GetCustomScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 PyObject
*resultobj
= 0;
10757 wxStaticPicture
*arg1
= (wxStaticPicture
*) 0 ;
10758 float *arg2
= (float *) 0 ;
10759 float *arg3
= (float *) 0 ;
10763 int res2
= SWIG_TMPOBJ
;
10765 int res3
= SWIG_TMPOBJ
;
10766 PyObject
*swig_obj
[1] ;
10770 if (!args
) SWIG_fail
;
10771 swig_obj
[0] = args
;
10772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticPicture
, 0 | 0 );
10773 if (!SWIG_IsOK(res1
)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10776 arg1
= reinterpret_cast< wxStaticPicture
* >(argp1
);
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 ((wxStaticPicture
const *)arg1
)->GetCustomScale(arg2
,arg3
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_Py_Void();
10784 if (SWIG_IsTmpObj(res2
)) {
10785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_float((*arg2
)));
10787 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
10788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_float
, new_flags
));
10790 if (SWIG_IsTmpObj(res3
)) {
10791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_float((*arg3
)));
10793 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
10794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_float
, new_flags
));
10802 SWIGINTERN PyObject
*StaticPicture_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10805 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture
, SWIG_NewClientData(obj
));
10806 return SWIG_Py_Void();
10809 SWIGINTERN PyObject
*StaticPicture_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10810 return SWIG_Python_InitShadowInstance(args
);
10813 static PyMethodDef SwigMethods
[] = {
10814 { (char *)"new_DynamicSashSplitEvent", (PyCFunction
) _wrap_new_DynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10815 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister
, METH_VARARGS
, NULL
},
10816 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit
, METH_VARARGS
, NULL
},
10817 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction
) _wrap_new_DynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10818 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister
, METH_VARARGS
, NULL
},
10819 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit
, METH_VARARGS
, NULL
},
10820 { (char *)"new_DynamicSashWindow", (PyCFunction
) _wrap_new_DynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10821 { (char *)"new_PreDynamicSashWindow", (PyCFunction
)_wrap_new_PreDynamicSashWindow
, METH_NOARGS
, NULL
},
10822 { (char *)"DynamicSashWindow_Create", (PyCFunction
) _wrap_DynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10823 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10824 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_DynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10825 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister
, METH_VARARGS
, NULL
},
10826 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit
, METH_VARARGS
, NULL
},
10827 { (char *)"new_EditableListBox", (PyCFunction
) _wrap_new_EditableListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10828 { (char *)"EditableListBox_SetStrings", (PyCFunction
) _wrap_EditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10829 { (char *)"EditableListBox_GetStrings", (PyCFunction
)_wrap_EditableListBox_GetStrings
, METH_O
, NULL
},
10830 { (char *)"EditableListBox_GetListCtrl", (PyCFunction
)_wrap_EditableListBox_GetListCtrl
, METH_O
, NULL
},
10831 { (char *)"EditableListBox_GetDelButton", (PyCFunction
)_wrap_EditableListBox_GetDelButton
, METH_O
, NULL
},
10832 { (char *)"EditableListBox_GetNewButton", (PyCFunction
)_wrap_EditableListBox_GetNewButton
, METH_O
, NULL
},
10833 { (char *)"EditableListBox_GetUpButton", (PyCFunction
)_wrap_EditableListBox_GetUpButton
, METH_O
, NULL
},
10834 { (char *)"EditableListBox_GetDownButton", (PyCFunction
)_wrap_EditableListBox_GetDownButton
, METH_O
, NULL
},
10835 { (char *)"EditableListBox_GetEditButton", (PyCFunction
)_wrap_EditableListBox_GetEditButton
, METH_O
, NULL
},
10836 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister
, METH_VARARGS
, NULL
},
10837 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit
, METH_VARARGS
, NULL
},
10838 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_RemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10839 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar
, METH_O
, NULL
},
10840 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_O
, NULL
},
10841 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_O
, NULL
},
10842 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10843 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10844 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_O
, NULL
},
10845 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister
, METH_VARARGS
, NULL
},
10846 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit
, METH_VARARGS
, NULL
},
10847 { (char *)"new_TreeCompanionWindow", (PyCFunction
) _wrap_new_TreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10848 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_TreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10849 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction
)_wrap_TreeCompanionWindow_GetTreeCtrl
, METH_O
, NULL
},
10850 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_TreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10851 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister
, METH_VARARGS
, NULL
},
10852 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit
, METH_VARARGS
, NULL
},
10853 { (char *)"new_ThinSplitterWindow", (PyCFunction
) _wrap_new_ThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10854 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister
, METH_VARARGS
, NULL
},
10855 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit
, METH_VARARGS
, NULL
},
10856 { (char *)"new_SplitterScrolledWindow", (PyCFunction
) _wrap_new_SplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10857 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
10858 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
10859 { (char *)"new_LEDNumberCtrl", (PyCFunction
) _wrap_new_LEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10860 { (char *)"new_PreLEDNumberCtrl", (PyCFunction
)_wrap_new_PreLEDNumberCtrl
, METH_NOARGS
, NULL
},
10861 { (char *)"LEDNumberCtrl_Create", (PyCFunction
) _wrap_LEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10862 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction
)_wrap_LEDNumberCtrl_GetAlignment
, METH_O
, NULL
},
10863 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction
)_wrap_LEDNumberCtrl_GetDrawFaded
, METH_O
, NULL
},
10864 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction
)_wrap_LEDNumberCtrl_GetValue
, METH_O
, NULL
},
10865 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_LEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10866 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_LEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10867 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction
) _wrap_LEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10868 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister
, METH_VARARGS
, NULL
},
10869 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit
, METH_VARARGS
, NULL
},
10870 { (char *)"new_TreeListColumnInfo", (PyCFunction
) _wrap_new_TreeListColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10871 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction
)_wrap_TreeListColumnInfo_GetShown
, METH_O
, NULL
},
10872 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction
)_wrap_TreeListColumnInfo_GetAlignment
, METH_O
, NULL
},
10873 { (char *)"TreeListColumnInfo_GetText", (PyCFunction
)_wrap_TreeListColumnInfo_GetText
, METH_O
, NULL
},
10874 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction
)_wrap_TreeListColumnInfo_GetImage
, METH_O
, NULL
},
10875 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction
)_wrap_TreeListColumnInfo_GetSelectedImage
, METH_O
, NULL
},
10876 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction
)_wrap_TreeListColumnInfo_GetWidth
, METH_O
, NULL
},
10877 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction
) _wrap_TreeListColumnInfo_SetShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10878 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction
) _wrap_TreeListColumnInfo_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10879 { (char *)"TreeListColumnInfo_SetText", (PyCFunction
) _wrap_TreeListColumnInfo_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10880 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10881 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction
) _wrap_TreeListColumnInfo_SetSelectedImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10882 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction
) _wrap_TreeListColumnInfo_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10883 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister
, METH_VARARGS
, NULL
},
10884 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit
, METH_VARARGS
, NULL
},
10885 { (char *)"new_TreeListCtrl", (PyCFunction
) _wrap_new_TreeListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10886 { (char *)"new_PreTreeListCtrl", (PyCFunction
)_wrap_new_PreTreeListCtrl
, METH_NOARGS
, NULL
},
10887 { (char *)"TreeListCtrl_Create", (PyCFunction
) _wrap_TreeListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10888 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10889 { (char *)"TreeListCtrl_GetCount", (PyCFunction
)_wrap_TreeListCtrl_GetCount
, METH_O
, NULL
},
10890 { (char *)"TreeListCtrl_GetIndent", (PyCFunction
)_wrap_TreeListCtrl_GetIndent
, METH_O
, NULL
},
10891 { (char *)"TreeListCtrl_SetIndent", (PyCFunction
) _wrap_TreeListCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10892 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction
)_wrap_TreeListCtrl_GetLineSpacing
, METH_O
, NULL
},
10893 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction
) _wrap_TreeListCtrl_SetLineSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10894 { (char *)"TreeListCtrl_GetImageList", (PyCFunction
)_wrap_TreeListCtrl_GetImageList
, METH_O
, NULL
},
10895 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeListCtrl_GetStateImageList
, METH_O
, NULL
},
10896 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction
)_wrap_TreeListCtrl_GetButtonsImageList
, METH_O
, NULL
},
10897 { (char *)"TreeListCtrl_SetImageList", (PyCFunction
) _wrap_TreeListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10898 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeListCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10899 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_SetButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10900 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10901 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10902 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction
) _wrap_TreeListCtrl_AssignButtonsImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10903 { (char *)"TreeListCtrl_AddColumn", (PyCFunction
) _wrap_TreeListCtrl_AddColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10904 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_AddColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10905 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction
) _wrap_TreeListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10906 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_TreeListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10907 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction
) _wrap_TreeListCtrl_RemoveColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10908 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction
)_wrap_TreeListCtrl_GetColumnCount
, METH_O
, NULL
},
10909 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10910 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction
) _wrap_TreeListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10911 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction
) _wrap_TreeListCtrl_SetMainColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10912 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction
)_wrap_TreeListCtrl_GetMainColumn
, METH_O
, NULL
},
10913 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction
) _wrap_TreeListCtrl_SetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10914 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction
) _wrap_TreeListCtrl_GetColumnText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10915 { (char *)"TreeListCtrl_SetColumn", (PyCFunction
) _wrap_TreeListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10916 { (char *)"TreeListCtrl_GetColumn", (PyCFunction
) _wrap_TreeListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10917 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_SetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10918 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction
) _wrap_TreeListCtrl_GetColumnAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10919 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10920 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction
) _wrap_TreeListCtrl_GetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10921 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction
) _wrap_TreeListCtrl_ShowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10922 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction
) _wrap_TreeListCtrl_IsColumnShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10923 { (char *)"TreeListCtrl_GetItemText", (PyCFunction
) _wrap_TreeListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10924 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction
) _wrap_TreeListCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10925 { (char *)"TreeListCtrl_SetItemText", (PyCFunction
) _wrap_TreeListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10926 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction
) _wrap_TreeListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10927 { (char *)"TreeListCtrl_GetItemData", (PyCFunction
) _wrap_TreeListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10928 { (char *)"TreeListCtrl_SetItemData", (PyCFunction
) _wrap_TreeListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10929 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10930 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeListCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10931 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeListCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10932 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction
) _wrap_TreeListCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10933 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10934 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10935 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction
) _wrap_TreeListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10936 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction
) _wrap_TreeListCtrl_GetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10937 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10938 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10939 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction
) _wrap_TreeListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10940 { (char *)"TreeListCtrl_IsVisible", (PyCFunction
) _wrap_TreeListCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10941 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeListCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10942 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction
) _wrap_TreeListCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10943 { (char *)"TreeListCtrl_IsSelected", (PyCFunction
) _wrap_TreeListCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10944 { (char *)"TreeListCtrl_IsBold", (PyCFunction
) _wrap_TreeListCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10945 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeListCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10946 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction
)_wrap_TreeListCtrl_GetRootItem
, METH_O
, NULL
},
10947 { (char *)"TreeListCtrl_GetSelection", (PyCFunction
)_wrap_TreeListCtrl_GetSelection
, METH_O
, NULL
},
10948 { (char *)"TreeListCtrl_GetSelections", (PyCFunction
)_wrap_TreeListCtrl_GetSelections
, METH_O
, NULL
},
10949 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction
) _wrap_TreeListCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10950 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeListCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10951 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction
) _wrap_TreeListCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10952 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction
) _wrap_TreeListCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10953 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeListCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10954 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeListCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10955 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeListCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
10956 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeListCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10957 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeListCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10958 { (char *)"TreeListCtrl_GetNext", (PyCFunction
) _wrap_TreeListCtrl_GetNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10959 { (char *)"TreeListCtrl_AddRoot", (PyCFunction
) _wrap_TreeListCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10960 { (char *)"TreeListCtrl_PrependItem", (PyCFunction
) _wrap_TreeListCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10961 { (char *)"TreeListCtrl_InsertItem", (PyCFunction
) _wrap_TreeListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10962 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeListCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10963 { (char *)"TreeListCtrl_AppendItem", (PyCFunction
) _wrap_TreeListCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10964 { (char *)"TreeListCtrl_Delete", (PyCFunction
) _wrap_TreeListCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10965 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeListCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10966 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeListCtrl_DeleteAllItems
, METH_O
, NULL
},
10967 { (char *)"TreeListCtrl_Expand", (PyCFunction
) _wrap_TreeListCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10968 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction
) _wrap_TreeListCtrl_ExpandAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10969 { (char *)"TreeListCtrl_Collapse", (PyCFunction
) _wrap_TreeListCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10970 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeListCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10971 { (char *)"TreeListCtrl_Toggle", (PyCFunction
) _wrap_TreeListCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10972 { (char *)"TreeListCtrl_Unselect", (PyCFunction
)_wrap_TreeListCtrl_Unselect
, METH_O
, NULL
},
10973 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction
)_wrap_TreeListCtrl_UnselectAll
, METH_O
, NULL
},
10974 { (char *)"TreeListCtrl_SelectItem", (PyCFunction
) _wrap_TreeListCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10975 { (char *)"TreeListCtrl_SelectAll", (PyCFunction
) _wrap_TreeListCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10976 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10977 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction
) _wrap_TreeListCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10978 { (char *)"TreeListCtrl_HitTest", (PyCFunction
) _wrap_TreeListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10979 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeListCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10980 { (char *)"TreeListCtrl_EditLabel", (PyCFunction
) _wrap_TreeListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10981 { (char *)"TreeListCtrl_Edit", (PyCFunction
) _wrap_TreeListCtrl_Edit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10982 { (char *)"TreeListCtrl_SortChildren", (PyCFunction
) _wrap_TreeListCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10983 { (char *)"TreeListCtrl_FindItem", (PyCFunction
) _wrap_TreeListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10984 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction
)_wrap_TreeListCtrl_GetHeaderWindow
, METH_O
, NULL
},
10985 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction
)_wrap_TreeListCtrl_GetMainWindow
, METH_O
, NULL
},
10986 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister
, METH_VARARGS
, NULL
},
10987 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit
, METH_VARARGS
, NULL
},
10988 { (char *)"new_StaticPicture", (PyCFunction
) _wrap_new_StaticPicture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10989 { (char *)"new_PreStaticPicture", (PyCFunction
)_wrap_new_PreStaticPicture
, METH_NOARGS
, NULL
},
10990 { (char *)"StaticPicture_Create", (PyCFunction
) _wrap_StaticPicture_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10991 { (char *)"StaticPicture_SetBitmap", (PyCFunction
) _wrap_StaticPicture_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10992 { (char *)"StaticPicture_GetBitmap", (PyCFunction
)_wrap_StaticPicture_GetBitmap
, METH_O
, NULL
},
10993 { (char *)"StaticPicture_SetIcon", (PyCFunction
) _wrap_StaticPicture_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10994 { (char *)"StaticPicture_GetIcon", (PyCFunction
)_wrap_StaticPicture_GetIcon
, METH_O
, NULL
},
10995 { (char *)"StaticPicture_SetAlignment", (PyCFunction
) _wrap_StaticPicture_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10996 { (char *)"StaticPicture_GetAlignment", (PyCFunction
)_wrap_StaticPicture_GetAlignment
, METH_O
, NULL
},
10997 { (char *)"StaticPicture_SetScale", (PyCFunction
) _wrap_StaticPicture_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
10998 { (char *)"StaticPicture_GetScale", (PyCFunction
)_wrap_StaticPicture_GetScale
, METH_O
, NULL
},
10999 { (char *)"StaticPicture_SetCustomScale", (PyCFunction
) _wrap_StaticPicture_SetCustomScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
11000 { (char *)"StaticPicture_GetCustomScale", (PyCFunction
)_wrap_StaticPicture_GetCustomScale
, METH_O
, NULL
},
11001 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister
, METH_VARARGS
, NULL
},
11002 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit
, METH_VARARGS
, NULL
},
11003 { NULL
, NULL
, 0, NULL
}
11007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11009 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
11010 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
11012 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
11013 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
11015 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
11016 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11018 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
11019 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11021 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x
) {
11022 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11024 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
11025 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11027 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
11028 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11030 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
11031 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
11033 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x
) {
11034 return (void *)((wxPanel
*) ((wxEditableListBox
*) x
));
11036 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
11037 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11039 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
11040 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
11042 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
11043 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11045 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
11046 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
11048 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
11049 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11051 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
11052 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11054 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
11055 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
11057 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
11058 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
11060 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x
) {
11061 return (void *)((wxWindow
*) (wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
11063 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
11064 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
11066 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
11067 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
11069 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
11070 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
11072 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
11073 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
11075 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x
) {
11076 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeListCtrl
*) x
));
11078 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
11079 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11081 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
11082 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
11084 static void *_p_wxControlTo_p_wxWindow(void *x
) {
11085 return (void *)((wxWindow
*) ((wxControl
*) x
));
11087 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
11088 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
11090 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
11091 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
11093 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
11094 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
11096 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
11097 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
11099 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
11100 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
11102 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
11103 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
11105 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
11106 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
11108 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
11109 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
11111 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
11112 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
11114 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
11115 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
11117 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
11118 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11120 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
11121 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
11123 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
11124 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
11126 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
11127 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11129 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
11130 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
11132 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
11133 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
11135 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
11136 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
11138 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
11139 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
11141 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
11142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
11144 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
11145 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
11147 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
11148 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
11150 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
11151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
11153 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
11154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
11156 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
11157 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
11159 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
11160 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
11162 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
11163 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
11165 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
11166 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
11168 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
11169 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
11171 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
11172 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
11174 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
11175 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11177 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
11178 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11180 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x
) {
11181 return (void *)((wxWindow
*) (wxPanel
*) ((wxEditableListBox
*) x
));
11183 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x
) {
11184 return (void *)((wxWindow
*) (wxControl
*) ((wxLEDNumberCtrl
*) x
));
11186 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
11187 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
11189 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
11190 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
11192 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
11193 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
11195 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
11196 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
11198 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
11199 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
11201 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
11202 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
11204 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
11205 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
11207 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
11208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11210 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
11211 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
11213 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
11214 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
11216 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
11217 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
11219 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
11220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
11222 static void *_p_wxStaticPictureTo_p_wxWindow(void *x
) {
11223 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticPicture
*) x
));
11225 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
11226 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11228 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
11229 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
11231 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
11232 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
11234 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
11235 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
11237 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
11238 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
11240 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
11241 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
11243 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
11244 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
11246 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
11247 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
11249 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
11250 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
11252 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
11253 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
11255 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
11256 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
11258 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
11259 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
11261 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
11262 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
11264 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x
) {
11265 return (void *)((wxWindow
*) ((wxDynamicSashWindow
*) x
));
11267 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x
) {
11268 return (void *)((wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
11270 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x
) {
11271 return (void *)((wxWindow
*) (wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
11273 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x
) {
11274 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11276 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
11277 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
11279 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
11280 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11282 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
11283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11285 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
11286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11288 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
11289 return (void *)((wxWindow
*) ((wxPanel
*) x
));
11291 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
11292 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
11294 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
11295 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11297 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
11298 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
11300 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
11301 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
11303 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
11304 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
11306 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
11307 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
11309 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x
) {
11310 return (void *)((wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
11312 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11313 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
11315 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x
) {
11316 return (void *)((wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
11318 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
11319 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11321 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
11322 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
11324 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
11325 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
11327 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
11328 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
11330 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
11331 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
11333 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x
) {
11334 return (void *)((wxControl
*) ((wxLEDNumberCtrl
*) x
));
11336 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
11337 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
11339 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
11340 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
11342 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
11343 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
11345 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
11346 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
11348 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
11349 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
11351 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
11352 return (void *)((wxControl
*) ((wxPyControl
*) x
));
11354 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x
) {
11355 return (void *)((wxControl
*) ((wxPyTreeListCtrl
*) x
));
11357 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
11358 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
11360 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
11361 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
11363 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
11364 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
11366 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
11367 return (void *)((wxControl
*) ((wxGauge
*) x
));
11369 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
11370 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
11372 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
11373 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
11375 static void *_p_wxListbookTo_p_wxControl(void *x
) {
11376 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
11378 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
11379 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
11381 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x
) {
11382 return (void *)((wxControl
*) (wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
11384 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
11385 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
11387 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
11388 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
11390 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
11391 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
11393 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
11394 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
11396 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
11397 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
11399 static void *_p_wxListViewTo_p_wxControl(void *x
) {
11400 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
11402 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
11403 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
11405 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
11406 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
11408 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
11409 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
11411 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
11412 return (void *)((wxControl
*) ((wxStaticText
*) x
));
11414 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
11415 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
11417 static void *_p_wxSliderTo_p_wxControl(void *x
) {
11418 return (void *)((wxControl
*) ((wxSlider
*) x
));
11420 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
11421 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
11423 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
11424 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
11426 static void *_p_wxButtonTo_p_wxControl(void *x
) {
11427 return (void *)((wxControl
*) ((wxButton
*) x
));
11429 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
11430 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
11432 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
11433 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
11435 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
11436 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
11438 static void *_p_wxStaticPictureTo_p_wxControl(void *x
) {
11439 return (void *)((wxControl
*) ((wxStaticPicture
*) x
));
11441 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
11442 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
11444 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
11445 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
11447 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
11448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
11450 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
11451 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
11453 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
11454 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
11456 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
11457 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
11459 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
11460 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
11462 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
11463 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
11465 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
11466 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
11468 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
11469 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
11471 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
11472 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11474 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
11475 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
11477 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
11478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
11480 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
11481 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11483 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
11484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
11486 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
11487 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
11489 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
11490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11492 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
11493 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11495 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
11496 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
11498 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x
) {
11499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
11501 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x
) {
11502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
11504 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
11505 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
11507 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
11508 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
11510 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
11511 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
11513 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
11514 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
11516 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
11517 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
11519 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
11520 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
11522 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
11523 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
11525 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
11526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11528 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
11529 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11531 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
11532 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
11534 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
11535 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
11537 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
11538 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
11540 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
11541 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
11543 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
11544 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
11546 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
11547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
11549 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
11550 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
11552 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
11553 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
11555 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
11556 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11558 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
11559 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
11561 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
11562 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
11564 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
11565 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
11567 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
11568 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
11570 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
11571 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
11573 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
11574 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
11576 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
11577 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
11579 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
11580 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
11582 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
11583 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11585 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
11586 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
11588 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
11589 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
11591 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
11592 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
11594 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
11595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11597 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
11598 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11600 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
11601 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
11603 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
11604 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
11606 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
11607 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
11609 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
11610 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
11612 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
11613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
11615 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
11616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
11618 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
11619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
11621 static void *_p_wxEventTo_p_wxObject(void *x
) {
11622 return (void *)((wxObject
*) ((wxEvent
*) x
));
11624 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
11625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
11627 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
11628 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
11630 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
11631 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
11633 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
11634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
11636 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
11637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
11639 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
11640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
11642 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
11643 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
11645 static void *_p_wxImageTo_p_wxObject(void *x
) {
11646 return (void *)((wxObject
*) ((wxImage
*) x
));
11648 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
11649 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
11651 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
11652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
11654 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
11655 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
11657 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
11658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
11660 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
11661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
11663 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
11664 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
11666 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
11667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
11669 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
11670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
11672 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
11673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
11675 static void *_p_wxListItemTo_p_wxObject(void *x
) {
11676 return (void *)((wxObject
*) ((wxListItem
*) x
));
11678 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
11679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
11681 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
11682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
11684 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
11685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
11687 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x
) {
11688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
11690 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
11691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
11693 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
11694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
11696 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
11697 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
11699 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
11700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
11702 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
11703 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
11705 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
11706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
11708 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
11709 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
11711 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
11712 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
11714 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
11715 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
11717 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
11718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
11720 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
11721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
11723 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
11724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
11726 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
11727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
11729 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
11730 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
11732 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
11733 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
11735 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
11736 return (void *)((wxObject
*) ((wxPrinter
*) x
));
11738 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
11739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
11741 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
11742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
11744 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
11745 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
11747 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
11748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
11750 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
11751 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
11753 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x
) {
11754 return (void *)((wxObject
*) ((wxTreeListColumnInfo
*) x
));
11756 static void *_p_wxControlTo_p_wxObject(void *x
) {
11757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
11759 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
11760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
11762 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
11763 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
11765 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
11766 return (void *)((wxObject
*) ((wxColourData
*) x
));
11768 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
11769 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
11771 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
11772 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
11774 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
11775 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
11777 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
11778 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
11780 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
11781 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
11783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
11784 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
11786 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
11787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
11789 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
11790 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
11792 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
11793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
11795 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
11796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
11798 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
11799 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
11801 static void *_p_wxListEventTo_p_wxObject(void *x
) {
11802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
11804 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x
) {
11805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
11807 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
11808 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
11810 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
11811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
11813 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
11814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
11816 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
11817 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
11819 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
11820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
11822 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
11823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
11825 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
11826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
11828 static void *_p_wxButtonTo_p_wxObject(void *x
) {
11829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
11831 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
11832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
11834 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
11835 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
11837 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
11838 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
11840 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
11841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
11843 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
11844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
11846 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
11847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
11849 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
11850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
11852 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
11853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
11855 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
11856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
11858 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
11859 return (void *)((wxObject
*) ((wxPrintData
*) x
));
11861 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
11862 return (void *)((wxObject
*) ((wxFontData
*) x
));
11864 static void *_p_wxEditableListBoxTo_p_wxObject(void *x
) {
11865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
11867 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
11868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
11870 static void *_p_wxListbookTo_p_wxObject(void *x
) {
11871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
11873 static void *_p_wxFrameTo_p_wxObject(void *x
) {
11874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
11876 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
11877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
11879 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
11880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
11882 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
11883 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
11885 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
11886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
11888 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
11889 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
11891 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
11892 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
11894 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
11895 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
11897 static void *_p_wxListViewTo_p_wxObject(void *x
) {
11898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
11900 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
11901 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
11903 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
11904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
11906 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
11907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
11909 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x
) {
11910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
11912 static void *_p_wxSizerTo_p_wxObject(void *x
) {
11913 return (void *)((wxObject
*) ((wxSizer
*) x
));
11915 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
11916 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
11918 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
11919 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
11921 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
11922 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
11924 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
11925 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
11927 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
11928 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
11930 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
11931 return (void *)((wxObject
*) ((wxFSFile
*) x
));
11933 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
11934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
11936 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
11937 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
11939 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
11940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
11942 static void *_p_wxMenuTo_p_wxObject(void *x
) {
11943 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
11945 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
11946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
11948 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
11949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
11951 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
11952 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
11954 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
11955 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
11957 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
11958 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
11960 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
11961 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
11963 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
11964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
11966 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
11967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
11969 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
11970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
11972 static void *_p_wxDialogTo_p_wxObject(void *x
) {
11973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
11975 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
11976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
11978 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
11979 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
11981 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
11982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
11984 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x
) {
11985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
11987 static void *_p_wxStaticPictureTo_p_wxObject(void *x
) {
11988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticPicture
*) x
));
11990 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
11991 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
11993 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
11994 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
11996 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
11997 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
11999 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12000 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12002 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
12003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
12005 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12008 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12009 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12011 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12012 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12014 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12015 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12017 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12018 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12020 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12021 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12023 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12026 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12029 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12032 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12033 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12035 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
12036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12038 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
12039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
12041 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
12042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12044 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
12045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12047 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
12048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12050 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
12051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
12053 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
12054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12056 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
12057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
12059 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
12060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
12062 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
12063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
12065 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
12066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
12068 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
12069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12071 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12072 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12074 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x
) {
12075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxDynamicSashWindow
*) x
));
12077 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x
) {
12078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
12080 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x
) {
12081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
12083 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x
) {
12084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
12086 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
12087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
12089 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
12090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
12092 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
12093 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
12095 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
12096 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
12098 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
12099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
12101 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
12102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
12104 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
12105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12107 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
12108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12110 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
12111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12113 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
12114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12116 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
12117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12119 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
12120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12122 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
12123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12125 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
12126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12128 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
12129 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
12131 static void *_p_wxSliderTo_p_wxObject(void *x
) {
12132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
12134 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
12135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
12137 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
12138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
12140 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12141 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12143 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12144 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12146 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12147 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12149 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12150 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12152 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
12153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
12155 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
12156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
12158 static void *_p_wxPanelTo_p_wxObject(void *x
) {
12159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
12161 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
12162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
12164 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
12165 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
12167 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12168 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12170 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12171 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12173 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12176 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x
) {
12177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
12179 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12180 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12182 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12185 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
12186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
12188 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
12189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
12191 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
12192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
12194 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12197 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12198 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12200 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12201 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12203 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
12204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12206 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12209 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
12210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
12212 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
12213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
12215 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
12216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
12218 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
12219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
12221 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
12222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
12224 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x
) {
12225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
12227 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
12228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
12230 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
12231 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
12233 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
12234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
12236 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
12237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
12239 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
12240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
12242 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x
) {
12243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeListCtrl
*) x
));
12245 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
12246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
12248 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
12249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
12251 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
12252 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
12254 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
12255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
12257 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
12258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
12260 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
12261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
12263 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
12264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
12266 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
12267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
12269 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
12270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
12272 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
12273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
12275 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
12276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
12278 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
12279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
12281 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
12282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
12284 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
12285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
12287 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
12288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
12290 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
12291 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
12293 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
12294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
12296 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
12297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
12299 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
12300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
12302 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
12303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
12305 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
12306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
12308 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
12309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
12311 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
12312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
12314 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
12315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
12317 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
12318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
12320 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
12321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
12323 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
12324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
12326 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
12327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
12329 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
12330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
12332 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
12333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
12335 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
12336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
12338 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
12339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
12341 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
12342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
12344 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
12345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
12347 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x
) {
12348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxEditableListBox
*) x
));
12350 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x
) {
12351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxLEDNumberCtrl
*) x
));
12353 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
12354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
12356 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
12357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
12359 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
12360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
12362 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
12363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
12365 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
12366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
12368 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
12369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
12371 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
12372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
12374 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
12375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
12377 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
12378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
12380 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
12381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
12383 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
12384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
12386 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
12387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
12389 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x
) {
12390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticPicture
*) x
));
12392 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
12393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
12395 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
12396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
12398 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
12399 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
12401 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
12402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
12404 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
12405 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
12407 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
12408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
12410 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
12411 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
12413 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
12414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
12416 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
12417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
12419 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
12420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
12422 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
12423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
12425 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
12426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
12428 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
12429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
12431 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
12432 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
12434 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
12435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
12437 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x
) {
12438 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxDynamicSashWindow
*) x
));
12440 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x
) {
12441 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyTreeCompanionWindow
*) x
));
12443 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x
) {
12444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSplitterWindow
*) ((wxThinSplitterWindow
*) x
));
12446 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x
) {
12447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxSplitterScrolledWindow
*) x
));
12449 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
12450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
12452 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
12453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
12455 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
12456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
12458 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
12459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
12461 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
12462 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
12464 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
12465 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
12467 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
12468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
12470 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
12473 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
12474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
12476 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
12477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
12479 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
12480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12482 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
12483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
12485 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
12486 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
12488 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
12489 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
12491 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x
) {
12492 return (void *)((wxPyTreeCtrl
*) ((wxRemotelyScrolledTreeCtrl
*) x
));
12494 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
12495 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
12497 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
12498 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12500 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
12501 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
12503 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
12504 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
12506 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
12507 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
12509 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
12510 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12512 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
12513 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12515 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12516 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12518 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
12519 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
12521 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
12522 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
12524 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
12525 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
12527 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
12528 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
12530 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
12531 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
12533 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
12534 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
12536 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
12537 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12539 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
12540 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
12542 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x
) {
12543 return (void *)((wxCommandEvent
*) ((wxDynamicSashSplitEvent
*) x
));
12545 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
12546 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
12548 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
12549 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
12551 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
12552 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
12554 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
12555 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
12557 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
12558 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12560 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x
) {
12561 return (void *)((wxCommandEvent
*) ((wxDynamicSashUnifyEvent
*) x
));
12563 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
12564 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
12566 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
12567 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12569 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
12570 static swig_type_info _swigt__p_float
= {"_p_float", "float *", 0, 0, (void*)0, 0};
12571 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};
12572 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
12573 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12574 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12575 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12576 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12577 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12578 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12579 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12580 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12581 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12582 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12583 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12584 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12585 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12586 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12587 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12588 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12589 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12590 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12591 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12592 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12593 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12594 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12595 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", 0, 0, 0, 0, 0};
12596 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12597 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12598 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12599 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12600 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12601 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12602 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12603 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12604 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12605 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", 0, 0, 0, 0, 0};
12606 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12607 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12608 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", 0, 0, 0, 0, 0};
12609 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", 0, 0, 0, 0, 0};
12610 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12611 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12612 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", 0, 0, 0, 0, 0};
12613 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12614 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12615 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", 0, 0, 0, 0, 0};
12616 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12617 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12618 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", 0, 0, 0, 0, 0};
12619 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12620 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12621 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", 0, 0, 0, 0, 0};
12622 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", 0, 0, 0, 0, 0};
12623 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12624 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", 0, 0, 0, 0, 0};
12625 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", 0, 0, 0, 0, 0};
12626 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12627 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12628 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", 0, 0, 0, 0, 0};
12629 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12630 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", 0, 0, 0, 0, 0};
12631 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", 0, 0, 0, 0, 0};
12632 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12633 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", 0, 0, 0, 0, 0};
12634 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12635 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12636 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12637 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12638 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12639 static swig_type_info _swigt__p_wxDynamicSashSplitEvent
= {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12640 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent
= {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12641 static swig_type_info _swigt__p_wxDynamicSashWindow
= {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12642 static swig_type_info _swigt__p_wxEditableListBox
= {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12643 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12644 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12645 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12646 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12647 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12648 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12649 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12650 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12651 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12652 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12653 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12654 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12655 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12656 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12657 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12658 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12659 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12660 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12661 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12662 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12663 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12664 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12665 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12666 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12667 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12668 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12669 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12670 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12671 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12672 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12674 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
12678 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12679 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12682 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12683 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12691 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12692 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12693 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12694 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", 0, 0, 0, 0, 0};
12695 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12696 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12697 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12702 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12717 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12718 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12719 static swig_type_info _swigt__p_wxLEDNumberCtrl
= {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12720 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12721 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12769 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12770 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12771 static swig_type_info _swigt__p_wxPyTreeCompanionWindow
= {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12772 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12773 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12774 static swig_type_info _swigt__p_wxPyTreeListCtrl
= {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12775 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl
= {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12776 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12777 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12778 static swig_type_info _swigt__p_wxSplitterScrolledWindow
= {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12779 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12780 static swig_type_info _swigt__p_wxStaticPicture
= {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12781 static swig_type_info _swigt__p_wxThinSplitterWindow
= {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12782 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12783 static swig_type_info _swigt__p_wxTreeListColumnInfo
= {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12784 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12785 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12787 static swig_type_info
*swig_type_initial
[] = {
12790 &_swigt__p_form_ops_t
,
12792 &_swigt__p_unsigned_char
,
12793 &_swigt__p_unsigned_int
,
12794 &_swigt__p_unsigned_long
,
12795 &_swigt__p_wxANIHandler
,
12796 &_swigt__p_wxAcceleratorTable
,
12797 &_swigt__p_wxActivateEvent
,
12798 &_swigt__p_wxArrayString
,
12799 &_swigt__p_wxBMPHandler
,
12800 &_swigt__p_wxBitmap
,
12801 &_swigt__p_wxBitmapButton
,
12802 &_swigt__p_wxBookCtrlBase
,
12803 &_swigt__p_wxBookCtrlBaseEvent
,
12804 &_swigt__p_wxBoxSizer
,
12805 &_swigt__p_wxButton
,
12806 &_swigt__p_wxCURHandler
,
12807 &_swigt__p_wxCalculateLayoutEvent
,
12808 &_swigt__p_wxCheckBox
,
12809 &_swigt__p_wxCheckListBox
,
12810 &_swigt__p_wxChildFocusEvent
,
12811 &_swigt__p_wxChoice
,
12812 &_swigt__p_wxChoicebook
,
12813 &_swigt__p_wxChoicebookEvent
,
12814 &_swigt__p_wxCloseEvent
,
12815 &_swigt__p_wxColour
,
12816 &_swigt__p_wxColourData
,
12817 &_swigt__p_wxColourDialog
,
12818 &_swigt__p_wxComboBox
,
12819 &_swigt__p_wxCommandEvent
,
12820 &_swigt__p_wxContextHelp
,
12821 &_swigt__p_wxContextHelpButton
,
12822 &_swigt__p_wxContextMenuEvent
,
12823 &_swigt__p_wxControl
,
12824 &_swigt__p_wxControlWithItems
,
12825 &_swigt__p_wxDateEvent
,
12826 &_swigt__p_wxDatePickerCtrl
,
12827 &_swigt__p_wxDialog
,
12828 &_swigt__p_wxDirDialog
,
12829 &_swigt__p_wxDirFilterListCtrl
,
12830 &_swigt__p_wxDisplayChangedEvent
,
12831 &_swigt__p_wxDropFilesEvent
,
12832 &_swigt__p_wxDuplexMode
,
12833 &_swigt__p_wxDynamicSashSplitEvent
,
12834 &_swigt__p_wxDynamicSashUnifyEvent
,
12835 &_swigt__p_wxDynamicSashWindow
,
12836 &_swigt__p_wxEditableListBox
,
12837 &_swigt__p_wxEraseEvent
,
12838 &_swigt__p_wxEvent
,
12839 &_swigt__p_wxEvtHandler
,
12840 &_swigt__p_wxFSFile
,
12841 &_swigt__p_wxFileDialog
,
12842 &_swigt__p_wxFileSystem
,
12843 &_swigt__p_wxFindDialogEvent
,
12844 &_swigt__p_wxFindReplaceData
,
12845 &_swigt__p_wxFindReplaceDialog
,
12846 &_swigt__p_wxFlexGridSizer
,
12847 &_swigt__p_wxFocusEvent
,
12849 &_swigt__p_wxFontData
,
12850 &_swigt__p_wxFontDialog
,
12851 &_swigt__p_wxFrame
,
12852 &_swigt__p_wxGBSizerItem
,
12853 &_swigt__p_wxGIFHandler
,
12854 &_swigt__p_wxGauge
,
12855 &_swigt__p_wxGenericDirCtrl
,
12856 &_swigt__p_wxGenericDragImage
,
12857 &_swigt__p_wxGridBagSizer
,
12858 &_swigt__p_wxGridSizer
,
12859 &_swigt__p_wxHelpEvent
,
12860 &_swigt__p_wxICOHandler
,
12862 &_swigt__p_wxIconizeEvent
,
12863 &_swigt__p_wxIdleEvent
,
12864 &_swigt__p_wxImage
,
12865 &_swigt__p_wxImageHandler
,
12866 &_swigt__p_wxImageList
,
12867 &_swigt__p_wxIndividualLayoutConstraint
,
12868 &_swigt__p_wxInitDialogEvent
,
12869 &_swigt__p_wxJPEGHandler
,
12870 &_swigt__p_wxKeyEvent
,
12871 &_swigt__p_wxLEDNumberCtrl
,
12872 &_swigt__p_wxLayoutAlgorithm
,
12873 &_swigt__p_wxLayoutConstraints
,
12874 &_swigt__p_wxListBox
,
12875 &_swigt__p_wxListEvent
,
12876 &_swigt__p_wxListItem
,
12877 &_swigt__p_wxListView
,
12878 &_swigt__p_wxListbook
,
12879 &_swigt__p_wxListbookEvent
,
12880 &_swigt__p_wxMDIChildFrame
,
12881 &_swigt__p_wxMDIClientWindow
,
12882 &_swigt__p_wxMDIParentFrame
,
12883 &_swigt__p_wxMaximizeEvent
,
12885 &_swigt__p_wxMenuBar
,
12886 &_swigt__p_wxMenuEvent
,
12887 &_swigt__p_wxMenuItem
,
12888 &_swigt__p_wxMessageDialog
,
12889 &_swigt__p_wxMiniFrame
,
12890 &_swigt__p_wxMouseCaptureChangedEvent
,
12891 &_swigt__p_wxMouseEvent
,
12892 &_swigt__p_wxMoveEvent
,
12893 &_swigt__p_wxMultiChoiceDialog
,
12894 &_swigt__p_wxNavigationKeyEvent
,
12895 &_swigt__p_wxNcPaintEvent
,
12896 &_swigt__p_wxNotebook
,
12897 &_swigt__p_wxNotebookEvent
,
12898 &_swigt__p_wxNotifyEvent
,
12899 &_swigt__p_wxObject
,
12900 &_swigt__p_wxPCXHandler
,
12901 &_swigt__p_wxPNGHandler
,
12902 &_swigt__p_wxPNMHandler
,
12903 &_swigt__p_wxPageSetupDialog
,
12904 &_swigt__p_wxPageSetupDialogData
,
12905 &_swigt__p_wxPaintEvent
,
12906 &_swigt__p_wxPaletteChangedEvent
,
12907 &_swigt__p_wxPanel
,
12908 &_swigt__p_wxPaperSize
,
12909 &_swigt__p_wxPasswordEntryDialog
,
12910 &_swigt__p_wxPopupWindow
,
12911 &_swigt__p_wxPreviewCanvas
,
12912 &_swigt__p_wxPreviewControlBar
,
12913 &_swigt__p_wxPreviewFrame
,
12914 &_swigt__p_wxPrintData
,
12915 &_swigt__p_wxPrintDialog
,
12916 &_swigt__p_wxPrintDialogData
,
12917 &_swigt__p_wxPrintPreview
,
12918 &_swigt__p_wxPrinter
,
12919 &_swigt__p_wxProgressDialog
,
12920 &_swigt__p_wxPyApp
,
12921 &_swigt__p_wxPyCommandEvent
,
12922 &_swigt__p_wxPyControl
,
12923 &_swigt__p_wxPyEvent
,
12924 &_swigt__p_wxPyHtmlListBox
,
12925 &_swigt__p_wxPyImageHandler
,
12926 &_swigt__p_wxPyListCtrl
,
12927 &_swigt__p_wxPyPanel
,
12928 &_swigt__p_wxPyPopupTransientWindow
,
12929 &_swigt__p_wxPyPreviewControlBar
,
12930 &_swigt__p_wxPyPreviewFrame
,
12931 &_swigt__p_wxPyPrintPreview
,
12932 &_swigt__p_wxPyPrintout
,
12933 &_swigt__p_wxPyScrolledWindow
,
12934 &_swigt__p_wxPySizer
,
12935 &_swigt__p_wxPyTaskBarIcon
,
12936 &_swigt__p_wxPyTreeCompanionWindow
,
12937 &_swigt__p_wxPyTreeCtrl
,
12938 &_swigt__p_wxPyTreeItemData
,
12939 &_swigt__p_wxPyTreeListCtrl
,
12940 &_swigt__p_wxPyVListBox
,
12941 &_swigt__p_wxPyVScrolledWindow
,
12942 &_swigt__p_wxPyValidator
,
12943 &_swigt__p_wxPyWindow
,
12944 &_swigt__p_wxQueryLayoutInfoEvent
,
12945 &_swigt__p_wxQueryNewPaletteEvent
,
12946 &_swigt__p_wxRadioBox
,
12947 &_swigt__p_wxRadioButton
,
12948 &_swigt__p_wxRemotelyScrolledTreeCtrl
,
12949 &_swigt__p_wxSashEvent
,
12950 &_swigt__p_wxSashLayoutWindow
,
12951 &_swigt__p_wxSashWindow
,
12952 &_swigt__p_wxScrollBar
,
12953 &_swigt__p_wxScrollEvent
,
12954 &_swigt__p_wxScrollWinEvent
,
12955 &_swigt__p_wxScrolledWindow
,
12956 &_swigt__p_wxSetCursorEvent
,
12957 &_swigt__p_wxShowEvent
,
12958 &_swigt__p_wxSingleChoiceDialog
,
12959 &_swigt__p_wxSizeEvent
,
12960 &_swigt__p_wxSizer
,
12961 &_swigt__p_wxSizerItem
,
12962 &_swigt__p_wxSlider
,
12963 &_swigt__p_wxSpinButton
,
12964 &_swigt__p_wxSpinCtrl
,
12965 &_swigt__p_wxSpinEvent
,
12966 &_swigt__p_wxSplashScreen
,
12967 &_swigt__p_wxSplashScreenWindow
,
12968 &_swigt__p_wxSplitterEvent
,
12969 &_swigt__p_wxSplitterScrolledWindow
,
12970 &_swigt__p_wxSplitterWindow
,
12971 &_swigt__p_wxStaticBitmap
,
12972 &_swigt__p_wxStaticBox
,
12973 &_swigt__p_wxStaticBoxSizer
,
12974 &_swigt__p_wxStaticLine
,
12975 &_swigt__p_wxStaticPicture
,
12976 &_swigt__p_wxStaticText
,
12977 &_swigt__p_wxStatusBar
,
12978 &_swigt__p_wxStdDialogButtonSizer
,
12979 &_swigt__p_wxSysColourChangedEvent
,
12980 &_swigt__p_wxTIFFHandler
,
12981 &_swigt__p_wxTaskBarIconEvent
,
12982 &_swigt__p_wxTextCtrl
,
12983 &_swigt__p_wxTextEntryDialog
,
12984 &_swigt__p_wxTextUrlEvent
,
12985 &_swigt__p_wxThinSplitterWindow
,
12986 &_swigt__p_wxTipWindow
,
12987 &_swigt__p_wxToggleButton
,
12988 &_swigt__p_wxToolBar
,
12989 &_swigt__p_wxToolBarBase
,
12990 &_swigt__p_wxToolBarToolBase
,
12991 &_swigt__p_wxToolbook
,
12992 &_swigt__p_wxToolbookEvent
,
12993 &_swigt__p_wxTopLevelWindow
,
12994 &_swigt__p_wxTreeEvent
,
12995 &_swigt__p_wxTreeItemId
,
12996 &_swigt__p_wxTreeListColumnInfo
,
12997 &_swigt__p_wxTreebook
,
12998 &_swigt__p_wxTreebookEvent
,
12999 &_swigt__p_wxUpdateUIEvent
,
13000 &_swigt__p_wxValidator
,
13001 &_swigt__p_wxWindow
,
13002 &_swigt__p_wxWindowCreateEvent
,
13003 &_swigt__p_wxWindowDestroyEvent
,
13004 &_swigt__p_wxXPMHandler
,
13007 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
13008 static swig_cast_info _swigc__p_float
[] = { {&_swigt__p_float
, 0, 0, 0},{0, 0, 0, 0}};
13009 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
13010 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
13011 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
13012 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
13013 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
13014 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
13015 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13016 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
13017 static swig_cast_info _swigc__p_wxSashEvent
[] = {{&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
13018 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13019 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {{&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
13020 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = {{&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
13021 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
13022 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
13023 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13024 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13025 static swig_cast_info _swigc__p_wxNotebookEvent
[] = {{&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13026 static swig_cast_info _swigc__p_wxListbookEvent
[] = {{&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13027 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = {{&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13028 static swig_cast_info _swigc__p_wxTreebookEvent
[] = {{&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13029 static swig_cast_info _swigc__p_wxToolbookEvent
[] = {{&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
13030 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13031 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13032 static swig_cast_info _swigc__p_wxListEvent
[] = {{&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
13033 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent
[] = {{&_swigt__p_wxBookCtrlBaseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13034 static swig_cast_info _swigc__p_wxTreeEvent
[] = {{&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13035 static swig_cast_info _swigc__p_wxSpinEvent
[] = {{&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13036 static swig_cast_info _swigc__p_wxHelpEvent
[] = {{&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
13037 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13038 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {{&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
13040 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_wxSplitterEvent
, _p_wxSplitterEventTo_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}};
13041 static swig_cast_info _swigc__p_wxBookCtrlBase
[] = {{&_swigt__p_wxBookCtrlBase
, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_wxToolBar
[] = {{&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxToggleButton
[] = {{&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
13044 static swig_cast_info _swigc__p_wxRadioButton
[] = {{&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
13045 static swig_cast_info _swigc__p_wxToolbook
[] = {{&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxPyControl
[] = {{&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxToolBarBase
[] = {{&_swigt__p_wxToolBarBase
, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = {{&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxComboBox
[] = {{&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = {{&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxGauge
[] = {{&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxStaticLine
[] = {{&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxChoicebook
[] = {{&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxListbook
[] = {{&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxCheckBox
[] = {{&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxRadioBox
[] = {{&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
13058 static swig_cast_info _swigc__p_wxChoice
[] = {{&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxListBox
[] = {{&_swigt__p_wxListBox
, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxCheckListBox
[] = {{&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxListView
[] = {{&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxNotebook
[] = {{&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxStaticBitmap
[] = {{&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxSpinCtrl
[] = {{&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxStaticText
[] = {{&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxStaticBox
[] = {{&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxSlider
[] = {{&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxTreebook
[] = {{&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxSpinButton
[] = {{&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxButton
[] = {{&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxBitmapButton
[] = {{&_swigt__p_wxBitmapButton
, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxContextHelpButton
[] = {{&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = {{&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxTextCtrl
[] = {{&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13075 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_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_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_wxStaticPicture
, _p_wxStaticPictureTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent
[] = { {&_swigt__p_wxDynamicSashSplitEvent
, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent
[] = { {&_swigt__p_wxDynamicSashUnifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxDynamicSashWindow
[] = { {&_swigt__p_wxDynamicSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxEditableListBox
[] = { {&_swigt__p_wxEditableListBox
, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13084 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {{&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {{&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {{&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
13110 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_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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent
, _p_wxDynamicSashUnifyEventTo_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_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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}};
13111 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {{&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {{&_swigt__p_wxPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxPyPanel
[] = {{&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {{&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {{&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {{&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxPyWindow
[] = {{&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxSplashScreen
[] = {{&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxMessageDialog
[] = {{&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxProgressDialog
[] = {{&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {{&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxFileDialog
[] = {{&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {{&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {{&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
13126 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {{&_swigt__p_wxTextEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {{&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxPyVListBox
[] = {{&_swigt__p_wxPyVListBox
, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {{&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxMiniFrame
[] = {{&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxFrame
[] = {{&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxStatusBar
[] = {{&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {{&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxSashWindow
[] = {{&_swigt__p_wxSashWindow
, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {{&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxPopupWindow
[] = {{&_swigt__p_wxPopupWindow
, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {{&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxTipWindow
[] = {{&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {{&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
13140 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {{&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13141 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {{&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {{&_swigt__p_wxTopLevelWindow
, 0, 0, 0},{0, 0, 0, 0}};
13143 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {{&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
13144 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
13145 static swig_cast_info _swigc__p_wxDialog
[] = {{&_swigt__p_wxDialog
, 0, 0, 0},{0, 0, 0, 0}};
13146 static swig_cast_info _swigc__p_wxColourDialog
[] = {{&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
13147 static swig_cast_info _swigc__p_wxDirDialog
[] = {{&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
13148 static swig_cast_info _swigc__p_wxFontDialog
[] = {{&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
13149 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
13150 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {{&_swigt__p_wxPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13151 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {{&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
13152 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
13153 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_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeListCtrl
, _p_wxPyTreeListCtrlTo_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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_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_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_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_wxThinSplitterWindow
, _p_wxThinSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_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_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_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_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}};
13154 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
13155 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
13156 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
13157 static swig_cast_info _swigc__p_wxLEDNumberCtrl
[] = { {&_swigt__p_wxLEDNumberCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13158 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
13159 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
13160 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
13161 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
13162 static swig_cast_info _swigc__p_wxGenericDragImage
[] = {{&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
13163 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {{&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
13164 static swig_cast_info _swigc__p_wxListItem
[] = {{&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
13165 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {{&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
13166 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {{&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13167 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {{&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
13168 static swig_cast_info _swigc__p_wxPrinter
[] = {{&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
13169 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13170 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
13171 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
13172 static swig_cast_info _swigc__p_wxContextHelp
[] = {{&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
13173 static swig_cast_info _swigc__p_wxColourData
[] = {{&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
13174 static swig_cast_info _swigc__p_wxPyPrintout
[] = {{&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_wxPrintData
[] = {{&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_wxFontData
[] = {{&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
13178 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {{&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_wxPrintPreview
[] = {{&_swigt__p_wxPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13183 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13184 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxPrintDialog
[] = {{&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {{&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = {{&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
13205 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_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_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_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_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_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_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_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_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_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_wxFSFile
, _p_wxFSFileTo_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_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent
, _p_wxDynamicSashUnifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticPicture
, _p_wxStaticPictureTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_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_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_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_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_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_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_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_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_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}};
13206 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}};
13207 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
13208 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}};
13209 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow
[] = { {&_swigt__p_wxPyTreeCompanionWindow
, 0, 0, 0},{0, 0, 0, 0}};
13210 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}};
13211 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
13212 static swig_cast_info _swigc__p_wxPyTreeListCtrl
[] = { {&_swigt__p_wxPyTreeListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl
[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
13215 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}};
13216 static swig_cast_info _swigc__p_wxSplitterScrolledWindow
[] = { {&_swigt__p_wxSplitterScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
13217 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}};
13218 static swig_cast_info _swigc__p_wxStaticPicture
[] = { {&_swigt__p_wxStaticPicture
, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxThinSplitterWindow
[] = { {&_swigt__p_wxThinSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxTreeListColumnInfo
[] = { {&_swigt__p_wxTreeListColumnInfo
, 0, 0, 0},{0, 0, 0, 0}};
13222 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}};
13223 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_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_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow
, _p_wxSplitterScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 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_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_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_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}};
13225 static swig_cast_info
*swig_cast_initial
[] = {
13228 _swigc__p_form_ops_t
,
13230 _swigc__p_unsigned_char
,
13231 _swigc__p_unsigned_int
,
13232 _swigc__p_unsigned_long
,
13233 _swigc__p_wxANIHandler
,
13234 _swigc__p_wxAcceleratorTable
,
13235 _swigc__p_wxActivateEvent
,
13236 _swigc__p_wxArrayString
,
13237 _swigc__p_wxBMPHandler
,
13238 _swigc__p_wxBitmap
,
13239 _swigc__p_wxBitmapButton
,
13240 _swigc__p_wxBookCtrlBase
,
13241 _swigc__p_wxBookCtrlBaseEvent
,
13242 _swigc__p_wxBoxSizer
,
13243 _swigc__p_wxButton
,
13244 _swigc__p_wxCURHandler
,
13245 _swigc__p_wxCalculateLayoutEvent
,
13246 _swigc__p_wxCheckBox
,
13247 _swigc__p_wxCheckListBox
,
13248 _swigc__p_wxChildFocusEvent
,
13249 _swigc__p_wxChoice
,
13250 _swigc__p_wxChoicebook
,
13251 _swigc__p_wxChoicebookEvent
,
13252 _swigc__p_wxCloseEvent
,
13253 _swigc__p_wxColour
,
13254 _swigc__p_wxColourData
,
13255 _swigc__p_wxColourDialog
,
13256 _swigc__p_wxComboBox
,
13257 _swigc__p_wxCommandEvent
,
13258 _swigc__p_wxContextHelp
,
13259 _swigc__p_wxContextHelpButton
,
13260 _swigc__p_wxContextMenuEvent
,
13261 _swigc__p_wxControl
,
13262 _swigc__p_wxControlWithItems
,
13263 _swigc__p_wxDateEvent
,
13264 _swigc__p_wxDatePickerCtrl
,
13265 _swigc__p_wxDialog
,
13266 _swigc__p_wxDirDialog
,
13267 _swigc__p_wxDirFilterListCtrl
,
13268 _swigc__p_wxDisplayChangedEvent
,
13269 _swigc__p_wxDropFilesEvent
,
13270 _swigc__p_wxDuplexMode
,
13271 _swigc__p_wxDynamicSashSplitEvent
,
13272 _swigc__p_wxDynamicSashUnifyEvent
,
13273 _swigc__p_wxDynamicSashWindow
,
13274 _swigc__p_wxEditableListBox
,
13275 _swigc__p_wxEraseEvent
,
13277 _swigc__p_wxEvtHandler
,
13278 _swigc__p_wxFSFile
,
13279 _swigc__p_wxFileDialog
,
13280 _swigc__p_wxFileSystem
,
13281 _swigc__p_wxFindDialogEvent
,
13282 _swigc__p_wxFindReplaceData
,
13283 _swigc__p_wxFindReplaceDialog
,
13284 _swigc__p_wxFlexGridSizer
,
13285 _swigc__p_wxFocusEvent
,
13287 _swigc__p_wxFontData
,
13288 _swigc__p_wxFontDialog
,
13290 _swigc__p_wxGBSizerItem
,
13291 _swigc__p_wxGIFHandler
,
13293 _swigc__p_wxGenericDirCtrl
,
13294 _swigc__p_wxGenericDragImage
,
13295 _swigc__p_wxGridBagSizer
,
13296 _swigc__p_wxGridSizer
,
13297 _swigc__p_wxHelpEvent
,
13298 _swigc__p_wxICOHandler
,
13300 _swigc__p_wxIconizeEvent
,
13301 _swigc__p_wxIdleEvent
,
13303 _swigc__p_wxImageHandler
,
13304 _swigc__p_wxImageList
,
13305 _swigc__p_wxIndividualLayoutConstraint
,
13306 _swigc__p_wxInitDialogEvent
,
13307 _swigc__p_wxJPEGHandler
,
13308 _swigc__p_wxKeyEvent
,
13309 _swigc__p_wxLEDNumberCtrl
,
13310 _swigc__p_wxLayoutAlgorithm
,
13311 _swigc__p_wxLayoutConstraints
,
13312 _swigc__p_wxListBox
,
13313 _swigc__p_wxListEvent
,
13314 _swigc__p_wxListItem
,
13315 _swigc__p_wxListView
,
13316 _swigc__p_wxListbook
,
13317 _swigc__p_wxListbookEvent
,
13318 _swigc__p_wxMDIChildFrame
,
13319 _swigc__p_wxMDIClientWindow
,
13320 _swigc__p_wxMDIParentFrame
,
13321 _swigc__p_wxMaximizeEvent
,
13323 _swigc__p_wxMenuBar
,
13324 _swigc__p_wxMenuEvent
,
13325 _swigc__p_wxMenuItem
,
13326 _swigc__p_wxMessageDialog
,
13327 _swigc__p_wxMiniFrame
,
13328 _swigc__p_wxMouseCaptureChangedEvent
,
13329 _swigc__p_wxMouseEvent
,
13330 _swigc__p_wxMoveEvent
,
13331 _swigc__p_wxMultiChoiceDialog
,
13332 _swigc__p_wxNavigationKeyEvent
,
13333 _swigc__p_wxNcPaintEvent
,
13334 _swigc__p_wxNotebook
,
13335 _swigc__p_wxNotebookEvent
,
13336 _swigc__p_wxNotifyEvent
,
13337 _swigc__p_wxObject
,
13338 _swigc__p_wxPCXHandler
,
13339 _swigc__p_wxPNGHandler
,
13340 _swigc__p_wxPNMHandler
,
13341 _swigc__p_wxPageSetupDialog
,
13342 _swigc__p_wxPageSetupDialogData
,
13343 _swigc__p_wxPaintEvent
,
13344 _swigc__p_wxPaletteChangedEvent
,
13346 _swigc__p_wxPaperSize
,
13347 _swigc__p_wxPasswordEntryDialog
,
13348 _swigc__p_wxPopupWindow
,
13349 _swigc__p_wxPreviewCanvas
,
13350 _swigc__p_wxPreviewControlBar
,
13351 _swigc__p_wxPreviewFrame
,
13352 _swigc__p_wxPrintData
,
13353 _swigc__p_wxPrintDialog
,
13354 _swigc__p_wxPrintDialogData
,
13355 _swigc__p_wxPrintPreview
,
13356 _swigc__p_wxPrinter
,
13357 _swigc__p_wxProgressDialog
,
13359 _swigc__p_wxPyCommandEvent
,
13360 _swigc__p_wxPyControl
,
13361 _swigc__p_wxPyEvent
,
13362 _swigc__p_wxPyHtmlListBox
,
13363 _swigc__p_wxPyImageHandler
,
13364 _swigc__p_wxPyListCtrl
,
13365 _swigc__p_wxPyPanel
,
13366 _swigc__p_wxPyPopupTransientWindow
,
13367 _swigc__p_wxPyPreviewControlBar
,
13368 _swigc__p_wxPyPreviewFrame
,
13369 _swigc__p_wxPyPrintPreview
,
13370 _swigc__p_wxPyPrintout
,
13371 _swigc__p_wxPyScrolledWindow
,
13372 _swigc__p_wxPySizer
,
13373 _swigc__p_wxPyTaskBarIcon
,
13374 _swigc__p_wxPyTreeCompanionWindow
,
13375 _swigc__p_wxPyTreeCtrl
,
13376 _swigc__p_wxPyTreeItemData
,
13377 _swigc__p_wxPyTreeListCtrl
,
13378 _swigc__p_wxPyVListBox
,
13379 _swigc__p_wxPyVScrolledWindow
,
13380 _swigc__p_wxPyValidator
,
13381 _swigc__p_wxPyWindow
,
13382 _swigc__p_wxQueryLayoutInfoEvent
,
13383 _swigc__p_wxQueryNewPaletteEvent
,
13384 _swigc__p_wxRadioBox
,
13385 _swigc__p_wxRadioButton
,
13386 _swigc__p_wxRemotelyScrolledTreeCtrl
,
13387 _swigc__p_wxSashEvent
,
13388 _swigc__p_wxSashLayoutWindow
,
13389 _swigc__p_wxSashWindow
,
13390 _swigc__p_wxScrollBar
,
13391 _swigc__p_wxScrollEvent
,
13392 _swigc__p_wxScrollWinEvent
,
13393 _swigc__p_wxScrolledWindow
,
13394 _swigc__p_wxSetCursorEvent
,
13395 _swigc__p_wxShowEvent
,
13396 _swigc__p_wxSingleChoiceDialog
,
13397 _swigc__p_wxSizeEvent
,
13399 _swigc__p_wxSizerItem
,
13400 _swigc__p_wxSlider
,
13401 _swigc__p_wxSpinButton
,
13402 _swigc__p_wxSpinCtrl
,
13403 _swigc__p_wxSpinEvent
,
13404 _swigc__p_wxSplashScreen
,
13405 _swigc__p_wxSplashScreenWindow
,
13406 _swigc__p_wxSplitterEvent
,
13407 _swigc__p_wxSplitterScrolledWindow
,
13408 _swigc__p_wxSplitterWindow
,
13409 _swigc__p_wxStaticBitmap
,
13410 _swigc__p_wxStaticBox
,
13411 _swigc__p_wxStaticBoxSizer
,
13412 _swigc__p_wxStaticLine
,
13413 _swigc__p_wxStaticPicture
,
13414 _swigc__p_wxStaticText
,
13415 _swigc__p_wxStatusBar
,
13416 _swigc__p_wxStdDialogButtonSizer
,
13417 _swigc__p_wxSysColourChangedEvent
,
13418 _swigc__p_wxTIFFHandler
,
13419 _swigc__p_wxTaskBarIconEvent
,
13420 _swigc__p_wxTextCtrl
,
13421 _swigc__p_wxTextEntryDialog
,
13422 _swigc__p_wxTextUrlEvent
,
13423 _swigc__p_wxThinSplitterWindow
,
13424 _swigc__p_wxTipWindow
,
13425 _swigc__p_wxToggleButton
,
13426 _swigc__p_wxToolBar
,
13427 _swigc__p_wxToolBarBase
,
13428 _swigc__p_wxToolBarToolBase
,
13429 _swigc__p_wxToolbook
,
13430 _swigc__p_wxToolbookEvent
,
13431 _swigc__p_wxTopLevelWindow
,
13432 _swigc__p_wxTreeEvent
,
13433 _swigc__p_wxTreeItemId
,
13434 _swigc__p_wxTreeListColumnInfo
,
13435 _swigc__p_wxTreebook
,
13436 _swigc__p_wxTreebookEvent
,
13437 _swigc__p_wxUpdateUIEvent
,
13438 _swigc__p_wxValidator
,
13439 _swigc__p_wxWindow
,
13440 _swigc__p_wxWindowCreateEvent
,
13441 _swigc__p_wxWindowDestroyEvent
,
13442 _swigc__p_wxXPMHandler
,
13446 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13448 static swig_const_info swig_const_table
[] = {
13449 {0, 0, 0, 0.0, 0, 0}};
13454 /* -----------------------------------------------------------------------------
13455 * Type initialization:
13456 * This problem is tough by the requirement that no dynamic
13457 * memory is used. Also, since swig_type_info structures store pointers to
13458 * swig_cast_info structures and swig_cast_info structures store pointers back
13459 * to swig_type_info structures, we need some lookup code at initialization.
13460 * The idea is that swig generates all the structures that are needed.
13461 * The runtime then collects these partially filled structures.
13462 * The SWIG_InitializeModule function takes these initial arrays out of
13463 * swig_module, and does all the lookup, filling in the swig_module.types
13464 * array with the correct data and linking the correct swig_cast_info
13465 * structures together.
13467 * The generated swig_type_info structures are assigned staticly to an initial
13468 * array. We just loop though that array, and handle each type individually.
13469 * First we lookup if this type has been already loaded, and if so, use the
13470 * loaded structure instead of the generated one. Then we have to fill in the
13471 * cast linked list. The cast data is initially stored in something like a
13472 * two-dimensional array. Each row corresponds to a type (there are the same
13473 * number of rows as there are in the swig_type_initial array). Each entry in
13474 * a column is one of the swig_cast_info structures for that type.
13475 * The cast_initial array is actually an array of arrays, because each row has
13476 * a variable number of columns. So to actually build the cast linked list,
13477 * we find the array of casts associated with the type, and loop through it
13478 * adding the casts to the list. The one last trick we need to do is making
13479 * sure the type pointer in the swig_cast_info struct is correct.
13481 * First off, we lookup the cast->type name to see if it is already loaded.
13482 * There are three cases to handle:
13483 * 1) If the cast->type has already been loaded AND the type we are adding
13484 * casting info to has not been loaded (it is in this module), THEN we
13485 * replace the cast->type pointer with the type pointer that has already
13487 * 2) If BOTH types (the one we are adding casting info to, and the
13488 * cast->type) are loaded, THEN the cast info has already been loaded by
13489 * the previous module so we just ignore it.
13490 * 3) Finally, if cast->type has not already been loaded, then we add that
13491 * swig_cast_info to the linked list (because the cast->type) pointer will
13493 * ----------------------------------------------------------------------------- */
13503 #define SWIGRUNTIME_DEBUG
13507 SWIG_InitializeModule(void *clientdata
) {
13509 swig_module_info
*module_head
;
13510 static int init_run
= 0;
13512 clientdata
= clientdata
;
13514 if (init_run
) return;
13517 /* Initialize the swig_module */
13518 swig_module
.type_initial
= swig_type_initial
;
13519 swig_module
.cast_initial
= swig_cast_initial
;
13521 /* Try and load any already created modules */
13522 module_head
= SWIG_GetModule(clientdata
);
13524 swig_module
.next
= module_head
->next
;
13525 module_head
->next
= &swig_module
;
13527 /* This is the first module loaded */
13528 swig_module
.next
= &swig_module
;
13529 SWIG_SetModule(clientdata
, &swig_module
);
13532 /* Now work on filling in swig_module.types */
13533 #ifdef SWIGRUNTIME_DEBUG
13534 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
13536 for (i
= 0; i
< swig_module
.size
; ++i
) {
13537 swig_type_info
*type
= 0;
13538 swig_type_info
*ret
;
13539 swig_cast_info
*cast
;
13541 #ifdef SWIGRUNTIME_DEBUG
13542 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13545 /* if there is another module already loaded */
13546 if (swig_module
.next
!= &swig_module
) {
13547 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
13550 /* Overwrite clientdata field */
13551 #ifdef SWIGRUNTIME_DEBUG
13552 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
13554 if (swig_module
.type_initial
[i
]->clientdata
) {
13555 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
13556 #ifdef SWIGRUNTIME_DEBUG
13557 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
13561 type
= swig_module
.type_initial
[i
];
13564 /* Insert casting types */
13565 cast
= swig_module
.cast_initial
[i
];
13566 while (cast
->type
) {
13567 /* Don't need to add information already in the list */
13569 #ifdef SWIGRUNTIME_DEBUG
13570 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
13572 if (swig_module
.next
!= &swig_module
) {
13573 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
13574 #ifdef SWIGRUNTIME_DEBUG
13575 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
13579 if (type
== swig_module
.type_initial
[i
]) {
13580 #ifdef SWIGRUNTIME_DEBUG
13581 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
13586 /* Check for casting already in the list */
13587 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
13588 #ifdef SWIGRUNTIME_DEBUG
13589 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
13591 if (!ocast
) ret
= 0;
13596 #ifdef SWIGRUNTIME_DEBUG
13597 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
13600 type
->cast
->prev
= cast
;
13601 cast
->next
= type
->cast
;
13607 /* Set entry in modules->types array equal to the type */
13608 swig_module
.types
[i
] = type
;
13610 swig_module
.types
[i
] = 0;
13612 #ifdef SWIGRUNTIME_DEBUG
13613 printf("**** SWIG_InitializeModule: Cast List ******\n");
13614 for (i
= 0; i
< swig_module
.size
; ++i
) {
13616 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
13617 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
13618 while (cast
->type
) {
13619 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
13623 printf("---- Total casts: %d\n",j
);
13625 printf("**** SWIG_InitializeModule: Cast List ******\n");
13629 /* This function will propagate the clientdata field of type to
13630 * any new swig_type_info structures that have been added into the list
13631 * of equivalent types. It is like calling
13632 * SWIG_TypeClientData(type, clientdata) a second time.
13635 SWIG_PropagateClientData(void) {
13637 swig_cast_info
*equiv
;
13638 static int init_run
= 0;
13640 if (init_run
) return;
13643 for (i
= 0; i
< swig_module
.size
; i
++) {
13644 if (swig_module
.types
[i
]->clientdata
) {
13645 equiv
= swig_module
.types
[i
]->cast
;
13647 if (!equiv
->converter
) {
13648 if (equiv
->type
&& !equiv
->type
->clientdata
)
13649 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
13651 equiv
= equiv
->next
;
13671 /* Python-specific SWIG API */
13672 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13673 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13674 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13676 /* -----------------------------------------------------------------------------
13677 * global variable support code.
13678 * ----------------------------------------------------------------------------- */
13680 typedef struct swig_globalvar
{
13681 char *name
; /* Name of global variable */
13682 PyObject
*(*get_attr
)(void); /* Return the current value */
13683 int (*set_attr
)(PyObject
*); /* Set the value */
13684 struct swig_globalvar
*next
;
13687 typedef struct swig_varlinkobject
{
13689 swig_globalvar
*vars
;
13690 } swig_varlinkobject
;
13692 SWIGINTERN PyObject
*
13693 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
13694 return PyString_FromString("<Swig global variables>");
13697 SWIGINTERN PyObject
*
13698 swig_varlink_str(swig_varlinkobject
*v
) {
13699 PyObject
*str
= PyString_FromString("(");
13700 swig_globalvar
*var
;
13701 for (var
= v
->vars
; var
; var
=var
->next
) {
13702 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
13703 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
13705 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
13710 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
13711 PyObject
*str
= swig_varlink_str(v
);
13712 fprintf(fp
,"Swig global variables ");
13713 fprintf(fp
,"%s\n", PyString_AsString(str
));
13719 swig_varlink_dealloc(swig_varlinkobject
*v
) {
13720 swig_globalvar
*var
= v
->vars
;
13722 swig_globalvar
*n
= var
->next
;
13729 SWIGINTERN PyObject
*
13730 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
13731 PyObject
*res
= NULL
;
13732 swig_globalvar
*var
= v
->vars
;
13734 if (strcmp(var
->name
,n
) == 0) {
13735 res
= (*var
->get_attr
)();
13740 if (res
== NULL
&& !PyErr_Occurred()) {
13741 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13747 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
13749 swig_globalvar
*var
= v
->vars
;
13751 if (strcmp(var
->name
,n
) == 0) {
13752 res
= (*var
->set_attr
)(p
);
13757 if (res
== 1 && !PyErr_Occurred()) {
13758 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
13763 SWIGINTERN PyTypeObject
*
13764 swig_varlink_type(void) {
13765 static char varlink__doc__
[] = "Swig var link object";
13766 static PyTypeObject varlink_type
;
13767 static int type_init
= 0;
13769 const PyTypeObject tmp
13771 PyObject_HEAD_INIT(NULL
)
13772 0, /* Number of items in variable part (ob_size) */
13773 (char *)"swigvarlink", /* Type name (tp_name) */
13774 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
13775 0, /* Itemsize (tp_itemsize) */
13776 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
13777 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
13778 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
13779 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
13780 0, /* tp_compare */
13781 (reprfunc
) swig_varlink_repr
, /* tp_repr */
13782 0, /* tp_as_number */
13783 0, /* tp_as_sequence */
13784 0, /* tp_as_mapping */
13787 (reprfunc
)swig_varlink_str
, /* tp_str */
13788 0, /* tp_getattro */
13789 0, /* tp_setattro */
13790 0, /* tp_as_buffer */
13792 varlink__doc__
, /* tp_doc */
13793 0, /* tp_traverse */
13795 0, /* tp_richcompare */
13796 0, /* tp_weaklistoffset */
13797 #if PY_VERSION_HEX >= 0x02020000
13798 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13800 #if PY_VERSION_HEX >= 0x02030000
13803 #ifdef COUNT_ALLOCS
13804 0,0,0,0 /* tp_alloc -> tp_next */
13807 varlink_type
= tmp
;
13808 varlink_type
.ob_type
= &PyType_Type
;
13811 return &varlink_type
;
13814 /* Create a variable linking object for use later */
13815 SWIGINTERN PyObject
*
13816 SWIG_Python_newvarlink(void) {
13817 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
13821 return ((PyObject
*) result
);
13825 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
13826 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
13827 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
13829 size_t size
= strlen(name
)+1;
13830 gv
->name
= (char *)malloc(size
);
13832 strncpy(gv
->name
,name
,size
);
13833 gv
->get_attr
= get_attr
;
13834 gv
->set_attr
= set_attr
;
13835 gv
->next
= v
->vars
;
13841 SWIGINTERN PyObject
*
13843 static PyObject
*_SWIG_globals
= 0;
13844 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
13845 return _SWIG_globals
;
13848 /* -----------------------------------------------------------------------------
13849 * constants/methods manipulation
13850 * ----------------------------------------------------------------------------- */
13852 /* Install Constants */
13854 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
13857 for (i
= 0; constants
[i
].type
; ++i
) {
13858 switch(constants
[i
].type
) {
13859 case SWIG_PY_POINTER
:
13860 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
13862 case SWIG_PY_BINARY
:
13863 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
13870 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
13876 /* -----------------------------------------------------------------------------*/
13877 /* Fix SwigMethods to carry the callback ptrs when needed */
13878 /* -----------------------------------------------------------------------------*/
13881 SWIG_Python_FixMethods(PyMethodDef
*methods
,
13882 swig_const_info
*const_table
,
13883 swig_type_info
**types
,
13884 swig_type_info
**types_initial
) {
13886 for (i
= 0; methods
[i
].ml_name
; ++i
) {
13887 char *c
= methods
[i
].ml_doc
;
13888 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
13890 swig_const_info
*ci
= 0;
13891 char *name
= c
+ 10;
13892 for (j
= 0; const_table
[j
].type
; ++j
) {
13893 if (strncmp(const_table
[j
].name
, name
,
13894 strlen(const_table
[j
].name
)) == 0) {
13895 ci
= &(const_table
[j
]);
13900 size_t shift
= (ci
->ptype
) - types
;
13901 swig_type_info
*ty
= types_initial
[shift
];
13902 size_t ldoc
= (c
- methods
[i
].ml_doc
);
13903 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
13904 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
13907 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
13909 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
13911 strncpy(buff
, "swig_ptr: ", 10);
13913 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
13914 methods
[i
].ml_doc
= ndoc
;
13926 /* -----------------------------------------------------------------------------*
13927 * Partial Init method
13928 * -----------------------------------------------------------------------------*/
13933 SWIGEXPORT
void SWIG_init(void) {
13936 /* Fix SwigMethods to carry the callback ptrs when needed */
13937 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
13939 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13940 d
= PyModule_GetDict(m
);
13942 SWIG_InitializeModule(0);
13943 SWIG_InstallConstants(d
,swig_const_table
);
13946 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
13947 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get
, DynamicSashNameStr_set
);
13948 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get
, EditableListBoxNameStr_set
);
13949 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get
, TreeListCtrlNameStr_set
);
13950 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get
, StaticPictureNameStr_set
);
13951 SWIG_Python_SetConstant(d
, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS
)));
13952 SWIG_Python_SetConstant(d
, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER
)));
13953 PyDict_SetItemString(d
, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT
));
13954 PyDict_SetItemString(d
, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY
));
13955 SWIG_Python_SetConstant(d
, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW
)));
13956 SWIG_Python_SetConstant(d
, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT
)));
13957 SWIG_Python_SetConstant(d
, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE
)));
13958 SWIG_Python_SetConstant(d
, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT
)));
13959 SWIG_Python_SetConstant(d
, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT
)));
13960 SWIG_Python_SetConstant(d
, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER
)));
13961 SWIG_Python_SetConstant(d
, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK
)));
13962 SWIG_Python_SetConstant(d
, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED
)));
13963 SWIG_Python_SetConstant(d
, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT
)));
13964 SWIG_Python_SetConstant(d
, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT
)));
13965 SWIG_Python_SetConstant(d
, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER
)));
13966 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN
)));
13967 SWIG_Python_SetConstant(d
, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE
)));
13968 SWIG_Python_SetConstant(d
, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL
)));
13969 SWIG_Python_SetConstant(d
, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL
)));
13970 SWIG_Python_SetConstant(d
, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL
)));
13971 SWIG_Python_SetConstant(d
, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE
)));
13972 SWIG_Python_SetConstant(d
, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC
)));
13973 SWIG_Python_SetConstant(d
, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL
)));
13974 SWIG_Python_SetConstant(d
, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL
)));
13975 SWIG_Python_SetConstant(d
, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM
)));
13976 SWIG_Python_SetConstant(d
, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM
)));
13979 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
13980 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");