1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419 #define SWIGTYPE_p_unsigned_long swig_types[78]
1420 #define SWIGTYPE_p_wxWindow swig_types[79]
1421 #define SWIGTYPE_p_wxString swig_types[80]
1422 #define SWIGTYPE_p_wxBitmap swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430 #define SWIGTYPE_p_wxStaticText swig_types[89]
1431 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436 #define SWIGTYPE_p_wxValidator swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1447 #define SWIG_name "_controls_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1452 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1456 const wxArrayString wxPyEmptyStringArray
;
1458 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1658 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1659 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1660 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1661 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1663 #include <wx/checklst.h>
1666 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1667 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1669 wxPyClientData
* data
= new wxPyClientData(clientData
);
1670 self
->Insert(item
, pos
, data
);
1672 self
->Insert(item
, pos
);
1674 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1676 self
->GetSelections(lst
);
1677 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1678 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1679 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1683 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1685 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1686 self
->GetItem(item
)->SetTextColour(c
);
1689 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1691 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1692 self
->GetItem(item
)->SetBackgroundColour(c
);
1695 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1697 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1698 self
->GetItem(item
)->SetFont(f
);
1701 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1748 #include <wx/slider.h>
1751 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1752 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1759 class wxToggleButton
: public wxControl
1762 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1763 const wxPoint
&, const wxSize
&, long,
1764 const wxValidator
&, const wxString
&)
1765 { wxPyRaiseNotImplemented(); }
1768 { wxPyRaiseNotImplemented(); }
1772 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 bool blocked
= wxPyBeginBlockThreads();
1834 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1835 PyObject
* result
= PyEval_CallObject(func
, args
);
1838 retval
= PyInt_AsLong(result
);
1842 wxPyEndBlockThreads(blocked
);
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl
: public wxListCtrl
{
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1855 const wxValidator
& validator
,
1856 const wxString
& name
) :
1857 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1859 bool Create(wxWindow
* parent
, wxWindowID id
,
1863 const wxValidator
& validator
,
1864 const wxString
& name
) {
1865 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1884 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1886 item
.SetMask( wxLIST_MASK_STATE
|
1894 if (self
->GetColumn(col
, item
))
1895 return new wxListItem(item
);
1899 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1900 wxListItem
* info
= new wxListItem
;
1901 info
->m_itemId
= itemId
;
1903 info
->m_mask
= 0xFFFF;
1904 self
->GetItem(*info
);
1907 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1909 self
->GetItemPosition(item
, pos
);
1912 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1914 self
->GetItemRect(item
, rect
, code
);
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1919 if (!PyCallable_Check(func
))
1921 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1923 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1934 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl
: public wxTreeCtrl
{
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1947 const wxValidator
& validator
,
1948 const wxString
& name
) :
1949 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1951 bool Create(wxWindow
*parent
, wxWindowID id
,
1955 const wxValidator
& validator
,
1956 const wxString
& name
) {
1957 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1961 int OnCompareItems(const wxTreeItemId
& item1
,
1962 const wxTreeItemId
& item2
) {
1965 bool blocked
= wxPyBeginBlockThreads();
1966 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1967 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1968 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1969 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1973 wxPyEndBlockThreads(blocked
);
1975 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1985 #if UINT_MAX < LONG_MAX
1986 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1998 unsigned long max_value
,
2001 if (value
> max_value
) {
2003 PyErr_Format(PyExc_OverflowError
,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value
, errmsg
, max_value
);
2013 #if UINT_MAX != ULONG_MAX
2015 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2017 const char* errmsg
= val
? "unsigned int" : (char*)0;
2019 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2020 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2021 if (val
) *val
= (unsigned int)(v
);
2028 SWIG_type_error(errmsg
, obj
);
2033 SWIGINTERNSHORT
unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2036 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2041 SWIGINTERNSHORT
unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2045 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2047 this is needed to make valgrind/purify happier.
2049 memset((void*)&v
, 0, sizeof(unsigned int));
2056 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2058 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2061 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2064 data
= new wxPyTreeItemData();
2065 data
->SetId(item
); // set the id
2066 self
->SetItemData(item
, data
);
2070 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2071 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2073 data
= new wxPyTreeItemData();
2074 data
->SetId(item
); // set the id
2075 self
->SetItemData(item
, data
);
2077 return data
->GetData();
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2084 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2086 data
= new wxPyTreeItemData(obj
);
2087 data
->SetId(item
); // set the id
2088 self
->SetItemData(item
, data
);
2092 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2093 bool blocked
= wxPyBeginBlockThreads();
2094 PyObject
* rval
= PyList_New(0);
2095 wxArrayTreeItemIds array
;
2097 num
= self
->GetSelections(array
);
2098 for (x
=0; x
< num
; x
++) {
2099 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2100 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2101 PyList_Append(rval
, item
);
2104 wxPyEndBlockThreads(blocked
);
2107 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2109 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2110 bool blocked
= wxPyBeginBlockThreads();
2111 PyObject
* tup
= PyTuple_New(2);
2112 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2113 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2114 wxPyEndBlockThreads(blocked
);
2117 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2118 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2119 bool blocked
= wxPyBeginBlockThreads();
2120 PyObject
* tup
= PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2123 wxPyEndBlockThreads(blocked
);
2126 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2128 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2129 bool blocked
= wxPyBeginBlockThreads();
2130 wxRect
* r
= new wxRect(rect
);
2131 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2132 wxPyEndBlockThreads(blocked
);
2138 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2140 SWIGINTERNSHORT PyObject
*
2141 SWIG_From_bool(bool value
)
2143 PyObject
*obj
= value
? Py_True
: Py_False
;
2149 // C++ version of Python aware wxControl
2150 class wxPyControl
: public wxControl
2152 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2156 const wxPoint
& pos
= wxDefaultPosition
,
2157 const wxSize
& size
= wxDefaultSize
,
2159 const wxValidator
& validator
=wxDefaultValidator
,
2160 const wxString
& name
= wxPyControlNameStr
)
2161 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2163 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2165 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2166 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2167 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2168 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2170 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2171 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2174 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2175 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2177 DEC_PYCALLBACK__(InitDialog
);
2178 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2179 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2180 DEC_PYCALLBACK_BOOL_(Validate
);
2182 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2183 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2184 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2186 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2187 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2191 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2193 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2198 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2200 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2201 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2202 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2203 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2206 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2209 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2210 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2212 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2214 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2217 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2218 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2219 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2221 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2222 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2224 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2225 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2226 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2232 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2234 #include <wx/generic/dragimgg.h>
2239 static int _wrap_ButtonNameStr_set(PyObject
*) {
2240 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2245 static PyObject
*_wrap_ButtonNameStr_get(void) {
2250 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2252 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2259 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxWindow
*arg1
= (wxWindow
*) 0 ;
2262 int arg2
= (int) -1 ;
2263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2269 long arg6
= (long) 0 ;
2270 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2271 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2272 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2273 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2275 bool temp3
= false ;
2278 bool temp8
= false ;
2279 PyObject
* obj0
= 0 ;
2280 PyObject
* obj1
= 0 ;
2281 PyObject
* obj2
= 0 ;
2282 PyObject
* obj3
= 0 ;
2283 PyObject
* obj4
= 0 ;
2284 PyObject
* obj5
= 0 ;
2285 PyObject
* obj6
= 0 ;
2286 PyObject
* obj7
= 0 ;
2288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail
;
2296 arg2
= (int)(SWIG_As_int(obj1
));
2297 if (SWIG_arg_fail(2)) SWIG_fail
;
2302 arg3
= wxString_in_helper(obj2
);
2303 if (arg3
== NULL
) SWIG_fail
;
2310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2321 arg6
= (long)(SWIG_As_long(obj5
));
2322 if (SWIG_arg_fail(6)) SWIG_fail
;
2327 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2328 if (SWIG_arg_fail(7)) SWIG_fail
;
2330 SWIG_null_ref("wxValidator");
2332 if (SWIG_arg_fail(7)) SWIG_fail
;
2337 arg8
= wxString_in_helper(obj7
);
2338 if (arg8
== NULL
) SWIG_fail
;
2343 if (!wxPyCheckForApp()) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2373 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2382 if (!wxPyCheckForApp()) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (wxButton
*)new wxButton();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2396 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxButton
*arg1
= (wxButton
*) 0 ;
2399 wxWindow
*arg2
= (wxWindow
*) 0 ;
2400 int arg3
= (int) -1 ;
2401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2407 long arg7
= (long) 0 ;
2408 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2409 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2410 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2411 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2413 bool temp4
= false ;
2416 bool temp9
= false ;
2417 PyObject
* obj0
= 0 ;
2418 PyObject
* obj1
= 0 ;
2419 PyObject
* obj2
= 0 ;
2420 PyObject
* obj3
= 0 ;
2421 PyObject
* obj4
= 0 ;
2422 PyObject
* obj5
= 0 ;
2423 PyObject
* obj6
= 0 ;
2424 PyObject
* obj7
= 0 ;
2425 PyObject
* obj8
= 0 ;
2427 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2432 if (SWIG_arg_fail(1)) SWIG_fail
;
2433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2434 if (SWIG_arg_fail(2)) SWIG_fail
;
2437 arg3
= (int)(SWIG_As_int(obj2
));
2438 if (SWIG_arg_fail(3)) SWIG_fail
;
2443 arg4
= wxString_in_helper(obj3
);
2444 if (arg4
== NULL
) SWIG_fail
;
2451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2462 arg7
= (long)(SWIG_As_long(obj6
));
2463 if (SWIG_arg_fail(7)) SWIG_fail
;
2468 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2469 if (SWIG_arg_fail(8)) SWIG_fail
;
2471 SWIG_null_ref("wxValidator");
2473 if (SWIG_arg_fail(8)) SWIG_fail
;
2478 arg9
= wxString_in_helper(obj8
);
2479 if (arg9
== NULL
) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2515 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxButton
*arg1
= (wxButton
*) 0 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "self", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2525 if (SWIG_arg_fail(1)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 (arg1
)->SetDefault();
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= wxButton::GetDefaultSize();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2557 resultptr
= new wxSize((wxSize
&)(result
));
2558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2566 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2569 wxVisualAttributes result
;
2570 PyObject
* obj0
= 0 ;
2572 (char *) "variant", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2578 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2579 if (SWIG_arg_fail(1)) SWIG_fail
;
2583 if (!wxPyCheckForApp()) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2591 wxVisualAttributes
* resultptr
;
2592 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2601 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2604 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2606 return Py_BuildValue((char *)"");
2608 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxWindow
*arg1
= (wxWindow
*) 0 ;
2611 int arg2
= (int) -1 ;
2612 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2613 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2618 long arg6
= (long) wxBU_AUTODRAW
;
2619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2621 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2623 wxBitmapButton
*result
;
2626 bool temp8
= false ;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2629 PyObject
* obj2
= 0 ;
2630 PyObject
* obj3
= 0 ;
2631 PyObject
* obj4
= 0 ;
2632 PyObject
* obj5
= 0 ;
2633 PyObject
* obj6
= 0 ;
2634 PyObject
* obj7
= 0 ;
2636 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2641 if (SWIG_arg_fail(1)) SWIG_fail
;
2644 arg2
= (int)(SWIG_As_int(obj1
));
2645 if (SWIG_arg_fail(2)) SWIG_fail
;
2650 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2651 if (SWIG_arg_fail(3)) SWIG_fail
;
2653 SWIG_null_ref("wxBitmap");
2655 if (SWIG_arg_fail(3)) SWIG_fail
;
2661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2672 arg6
= (long)(SWIG_As_long(obj5
));
2673 if (SWIG_arg_fail(6)) SWIG_fail
;
2678 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2679 if (SWIG_arg_fail(7)) SWIG_fail
;
2681 SWIG_null_ref("wxValidator");
2683 if (SWIG_arg_fail(7)) SWIG_fail
;
2688 arg8
= wxString_in_helper(obj7
);
2689 if (arg8
== NULL
) SWIG_fail
;
2694 if (!wxPyCheckForApp()) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2716 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxBitmapButton
*result
;
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2725 if (!wxPyCheckForApp()) SWIG_fail
;
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 result
= (wxBitmapButton
*)new wxBitmapButton();
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2739 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2742 wxWindow
*arg2
= (wxWindow
*) 0 ;
2743 int arg3
= (int) -1 ;
2744 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2745 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2746 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2747 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2748 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2749 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2750 long arg7
= (long) wxBU_AUTODRAW
;
2751 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2752 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2753 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2754 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2758 bool temp9
= false ;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2761 PyObject
* obj2
= 0 ;
2762 PyObject
* obj3
= 0 ;
2763 PyObject
* obj4
= 0 ;
2764 PyObject
* obj5
= 0 ;
2765 PyObject
* obj6
= 0 ;
2766 PyObject
* obj7
= 0 ;
2767 PyObject
* obj8
= 0 ;
2769 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2774 if (SWIG_arg_fail(1)) SWIG_fail
;
2775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(2)) SWIG_fail
;
2779 arg3
= (int)(SWIG_As_int(obj2
));
2780 if (SWIG_arg_fail(3)) SWIG_fail
;
2785 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(4)) SWIG_fail
;
2788 SWIG_null_ref("wxBitmap");
2790 if (SWIG_arg_fail(4)) SWIG_fail
;
2796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2802 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2807 arg7
= (long)(SWIG_As_long(obj6
));
2808 if (SWIG_arg_fail(7)) SWIG_fail
;
2813 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2814 if (SWIG_arg_fail(8)) SWIG_fail
;
2816 SWIG_null_ref("wxValidator");
2818 if (SWIG_arg_fail(8)) SWIG_fail
;
2823 arg9
= wxString_in_helper(obj8
);
2824 if (arg9
== NULL
) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2852 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2863 if (SWIG_arg_fail(1)) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (arg1
)->GetBitmapLabel();
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 wxBitmap
* resultptr
;
2873 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2882 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (arg1
)->GetBitmapDisabled();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxBitmap
* resultptr
;
2903 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2912 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "self", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2923 if (SWIG_arg_fail(1)) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (arg1
)->GetBitmapFocus();
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 wxBitmap
* resultptr
;
2933 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2942 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (arg1
)->GetBitmapSelected();
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 wxBitmap
* resultptr
;
2963 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2972 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2975 wxBitmap
*arg2
= 0 ;
2976 PyObject
* obj0
= 0 ;
2977 PyObject
* obj1
= 0 ;
2979 (char *) "self",(char *) "bitmap", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2989 SWIG_null_ref("wxBitmap");
2991 if (SWIG_arg_fail(2)) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 Py_INCREF(Py_None
); resultobj
= Py_None
;
3007 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3010 wxBitmap
*arg2
= 0 ;
3011 PyObject
* obj0
= 0 ;
3012 PyObject
* obj1
= 0 ;
3014 (char *) "self",(char *) "bitmap", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3019 if (SWIG_arg_fail(1)) SWIG_fail
;
3021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3022 if (SWIG_arg_fail(2)) SWIG_fail
;
3024 SWIG_null_ref("wxBitmap");
3026 if (SWIG_arg_fail(2)) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 Py_INCREF(Py_None
); resultobj
= Py_None
;
3042 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3045 wxBitmap
*arg2
= 0 ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3049 (char *) "self",(char *) "bitmap", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail
;
3056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail
;
3059 SWIG_null_ref("wxBitmap");
3061 if (SWIG_arg_fail(2)) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 Py_INCREF(Py_None
); resultobj
= Py_None
;
3077 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3080 wxBitmap
*arg2
= 0 ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3084 (char *) "self",(char *) "bitmap", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3089 if (SWIG_arg_fail(1)) SWIG_fail
;
3091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3092 if (SWIG_arg_fail(2)) SWIG_fail
;
3094 SWIG_null_ref("wxBitmap");
3096 if (SWIG_arg_fail(2)) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3105 Py_INCREF(Py_None
); resultobj
= Py_None
;
3112 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3117 PyObject
* obj0
= 0 ;
3118 PyObject
* obj1
= 0 ;
3119 PyObject
* obj2
= 0 ;
3121 (char *) "self",(char *) "x",(char *) "y", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3126 if (SWIG_arg_fail(1)) SWIG_fail
;
3128 arg2
= (int)(SWIG_As_int(obj1
));
3129 if (SWIG_arg_fail(2)) SWIG_fail
;
3132 arg3
= (int)(SWIG_As_int(obj2
));
3133 if (SWIG_arg_fail(3)) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 (arg1
)->SetMargins(arg2
,arg3
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 Py_INCREF(Py_None
); resultobj
= Py_None
;
3149 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3160 if (SWIG_arg_fail(1)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3169 resultobj
= SWIG_From_int((int)(result
));
3177 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3183 (char *) "self", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3188 if (SWIG_arg_fail(1)) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3197 resultobj
= SWIG_From_int((int)(result
));
3205 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3208 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3210 return Py_BuildValue((char *)"");
3212 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3213 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3218 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3223 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3225 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3232 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxWindow
*arg1
= (wxWindow
*) 0 ;
3235 int arg2
= (int) -1 ;
3236 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3237 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3242 long arg6
= (long) 0 ;
3243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3245 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3248 bool temp3
= false ;
3251 bool temp8
= false ;
3252 PyObject
* obj0
= 0 ;
3253 PyObject
* obj1
= 0 ;
3254 PyObject
* obj2
= 0 ;
3255 PyObject
* obj3
= 0 ;
3256 PyObject
* obj4
= 0 ;
3257 PyObject
* obj5
= 0 ;
3258 PyObject
* obj6
= 0 ;
3259 PyObject
* obj7
= 0 ;
3261 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail
;
3269 arg2
= (int)(SWIG_As_int(obj1
));
3270 if (SWIG_arg_fail(2)) SWIG_fail
;
3275 arg3
= wxString_in_helper(obj2
);
3276 if (arg3
== NULL
) SWIG_fail
;
3283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3294 arg6
= (long)(SWIG_As_long(obj5
));
3295 if (SWIG_arg_fail(6)) SWIG_fail
;
3300 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3303 SWIG_null_ref("wxValidator");
3305 if (SWIG_arg_fail(7)) SWIG_fail
;
3310 arg8
= wxString_in_helper(obj7
);
3311 if (arg8
== NULL
) SWIG_fail
;
3316 if (!wxPyCheckForApp()) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3346 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3355 if (!wxPyCheckForApp()) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= (wxCheckBox
*)new wxCheckBox();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3369 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3372 wxWindow
*arg2
= (wxWindow
*) 0 ;
3373 int arg3
= (int) -1 ;
3374 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3375 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3376 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3377 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3378 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3379 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3380 long arg7
= (long) 0 ;
3381 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3382 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3383 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3384 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3386 bool temp4
= false ;
3389 bool temp9
= false ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3392 PyObject
* obj2
= 0 ;
3393 PyObject
* obj3
= 0 ;
3394 PyObject
* obj4
= 0 ;
3395 PyObject
* obj5
= 0 ;
3396 PyObject
* obj6
= 0 ;
3397 PyObject
* obj7
= 0 ;
3398 PyObject
* obj8
= 0 ;
3400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3407 if (SWIG_arg_fail(2)) SWIG_fail
;
3410 arg3
= (int)(SWIG_As_int(obj2
));
3411 if (SWIG_arg_fail(3)) SWIG_fail
;
3416 arg4
= wxString_in_helper(obj3
);
3417 if (arg4
== NULL
) SWIG_fail
;
3424 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3430 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3435 arg7
= (long)(SWIG_As_long(obj6
));
3436 if (SWIG_arg_fail(7)) SWIG_fail
;
3441 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3442 if (SWIG_arg_fail(8)) SWIG_fail
;
3444 SWIG_null_ref("wxValidator");
3446 if (SWIG_arg_fail(8)) SWIG_fail
;
3451 arg9
= wxString_in_helper(obj8
);
3452 if (arg9
== NULL
) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3488 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "self", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (bool)(arg1
)->GetValue();
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3516 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3522 (char *) "self", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (bool)(arg1
)->IsChecked();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3544 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "state", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail
;
3558 arg2
= (bool const)(SWIG_As_bool(obj1
));
3559 if (SWIG_arg_fail(2)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 (arg1
)->SetValue(arg2
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3575 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
*resultobj
;
3577 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3578 wxCheckBoxState result
;
3579 PyObject
* obj0
= 0 ;
3581 (char *) "self", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= SWIG_From_int((result
));
3601 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
;
3603 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3604 wxCheckBoxState arg2
;
3605 PyObject
* obj0
= 0 ;
3606 PyObject
* obj1
= 0 ;
3608 (char *) "self",(char *) "state", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail
;
3615 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3616 if (SWIG_arg_fail(2)) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 Py_INCREF(Py_None
); resultobj
= Py_None
;
3632 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3636 PyObject
* obj0
= 0 ;
3638 (char *) "self", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "self", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3688 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3691 wxVisualAttributes result
;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "variant", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3700 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3705 if (!wxPyCheckForApp()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 wxVisualAttributes
* resultptr
;
3714 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3723 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3728 return Py_BuildValue((char *)"");
3730 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3731 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3736 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3741 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3743 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3750 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) -1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3759 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3760 long arg6
= (long) 0 ;
3761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3763 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3768 bool temp5
= false ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail
;
3787 arg2
= (int)(SWIG_As_int(obj1
));
3788 if (SWIG_arg_fail(2)) SWIG_fail
;
3794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 if (! PySequence_Check(obj4
)) {
3806 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3809 arg5
= new wxArrayString
;
3811 int i
, len
=PySequence_Length(obj4
);
3812 for (i
=0; i
<len
; i
++) {
3813 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3815 PyObject
* str
= PyObject_Unicode(item
);
3817 PyObject
* str
= PyObject_Str(item
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3820 arg5
->Add(Py2wxString(str
));
3828 arg6
= (long)(SWIG_As_long(obj5
));
3829 if (SWIG_arg_fail(6)) SWIG_fail
;
3834 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3835 if (SWIG_arg_fail(7)) SWIG_fail
;
3837 SWIG_null_ref("wxValidator");
3839 if (SWIG_arg_fail(7)) SWIG_fail
;
3844 arg8
= wxString_in_helper(obj7
);
3845 if (arg8
== NULL
) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3859 if (temp5
) delete arg5
;
3868 if (temp5
) delete arg5
;
3878 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3887 if (!wxPyCheckForApp()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (wxChoice
*)new wxChoice();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3901 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxChoice
*arg1
= (wxChoice
*) 0 ;
3904 wxWindow
*arg2
= (wxWindow
*) 0 ;
3905 int arg3
= (int) -1 ;
3906 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3907 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3908 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3909 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3910 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3911 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3912 long arg7
= (long) 0 ;
3913 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3914 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3915 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3916 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3920 bool temp6
= false ;
3921 bool temp9
= false ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3924 PyObject
* obj2
= 0 ;
3925 PyObject
* obj3
= 0 ;
3926 PyObject
* obj4
= 0 ;
3927 PyObject
* obj5
= 0 ;
3928 PyObject
* obj6
= 0 ;
3929 PyObject
* obj7
= 0 ;
3930 PyObject
* obj8
= 0 ;
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3939 if (SWIG_arg_fail(2)) SWIG_fail
;
3942 arg3
= (int)(SWIG_As_int(obj2
));
3943 if (SWIG_arg_fail(3)) SWIG_fail
;
3949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3960 if (! PySequence_Check(obj5
)) {
3961 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3964 arg6
= new wxArrayString
;
3966 int i
, len
=PySequence_Length(obj5
);
3967 for (i
=0; i
<len
; i
++) {
3968 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3970 PyObject
* str
= PyObject_Unicode(item
);
3972 PyObject
* str
= PyObject_Str(item
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3975 arg6
->Add(Py2wxString(str
));
3983 arg7
= (long)(SWIG_As_long(obj6
));
3984 if (SWIG_arg_fail(7)) SWIG_fail
;
3989 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(8)) SWIG_fail
;
3992 SWIG_null_ref("wxValidator");
3994 if (SWIG_arg_fail(8)) SWIG_fail
;
3999 arg9
= wxString_in_helper(obj8
);
4000 if (arg9
== NULL
) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4015 if (temp6
) delete arg6
;
4024 if (temp6
) delete arg6
;
4034 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxChoice
*arg1
= (wxChoice
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "self",(char *) "n", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4046 if (SWIG_arg_fail(1)) SWIG_fail
;
4048 arg2
= (int const)(SWIG_As_int(obj1
));
4049 if (SWIG_arg_fail(2)) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 (arg1
)->SetSelection(arg2
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxChoice
*arg1
= (wxChoice
*) 0 ;
4068 wxString
*arg2
= 0 ;
4070 bool temp2
= false ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "self",(char *) "string", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 arg2
= wxString_in_helper(obj1
);
4082 if (arg2
== NULL
) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4109 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxChoice
*arg1
= (wxChoice
*) 0 ;
4113 wxString
*arg3
= 0 ;
4114 bool temp3
= false ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 PyObject
* obj2
= 0 ;
4119 (char *) "self",(char *) "n",(char *) "string", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail
;
4126 arg2
= (int)(SWIG_As_int(obj1
));
4127 if (SWIG_arg_fail(2)) SWIG_fail
;
4130 arg3
= wxString_in_helper(obj2
);
4131 if (arg3
== NULL
) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4156 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4159 wxVisualAttributes result
;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "variant", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4168 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4169 if (SWIG_arg_fail(1)) SWIG_fail
;
4173 if (!wxPyCheckForApp()) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 wxVisualAttributes
* resultptr
;
4182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4191 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4196 return Py_BuildValue((char *)"");
4198 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4199 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4204 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4209 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4211 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4218 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxWindow
*arg1
= (wxWindow
*) 0 ;
4221 int arg2
= (int) -1 ;
4222 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4223 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4228 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4229 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4230 long arg7
= (long) 0 ;
4231 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4232 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4233 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4234 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4236 bool temp3
= false ;
4239 bool temp6
= false ;
4240 bool temp9
= false ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 PyObject
* obj2
= 0 ;
4244 PyObject
* obj3
= 0 ;
4245 PyObject
* obj4
= 0 ;
4246 PyObject
* obj5
= 0 ;
4247 PyObject
* obj6
= 0 ;
4248 PyObject
* obj7
= 0 ;
4249 PyObject
* obj8
= 0 ;
4251 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4256 if (SWIG_arg_fail(1)) SWIG_fail
;
4259 arg2
= (int)(SWIG_As_int(obj1
));
4260 if (SWIG_arg_fail(2)) SWIG_fail
;
4265 arg3
= wxString_in_helper(obj2
);
4266 if (arg3
== NULL
) SWIG_fail
;
4273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4284 if (! PySequence_Check(obj5
)) {
4285 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4288 arg6
= new wxArrayString
;
4290 int i
, len
=PySequence_Length(obj5
);
4291 for (i
=0; i
<len
; i
++) {
4292 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4294 PyObject
* str
= PyObject_Unicode(item
);
4296 PyObject
* str
= PyObject_Str(item
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4299 arg6
->Add(Py2wxString(str
));
4307 arg7
= (long)(SWIG_As_long(obj6
));
4308 if (SWIG_arg_fail(7)) SWIG_fail
;
4313 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4314 if (SWIG_arg_fail(8)) SWIG_fail
;
4316 SWIG_null_ref("wxValidator");
4318 if (SWIG_arg_fail(8)) SWIG_fail
;
4323 arg9
= wxString_in_helper(obj8
);
4324 if (arg9
== NULL
) SWIG_fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4342 if (temp6
) delete arg6
;
4355 if (temp6
) delete arg6
;
4365 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4374 if (!wxPyCheckForApp()) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxComboBox
*)new wxComboBox();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4388 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4391 wxWindow
*arg2
= (wxWindow
*) 0 ;
4392 int arg3
= (int) -1 ;
4393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4399 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4400 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4401 long arg8
= (long) 0 ;
4402 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4403 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4404 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4405 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4407 bool temp4
= false ;
4410 bool temp7
= false ;
4411 bool temp10
= false ;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4414 PyObject
* obj2
= 0 ;
4415 PyObject
* obj3
= 0 ;
4416 PyObject
* obj4
= 0 ;
4417 PyObject
* obj5
= 0 ;
4418 PyObject
* obj6
= 0 ;
4419 PyObject
* obj7
= 0 ;
4420 PyObject
* obj8
= 0 ;
4421 PyObject
* obj9
= 0 ;
4423 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4433 arg3
= (int)(SWIG_As_int(obj2
));
4434 if (SWIG_arg_fail(3)) SWIG_fail
;
4439 arg4
= wxString_in_helper(obj3
);
4440 if (arg4
== NULL
) SWIG_fail
;
4447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4458 if (! PySequence_Check(obj6
)) {
4459 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4462 arg7
= new wxArrayString
;
4464 int i
, len
=PySequence_Length(obj6
);
4465 for (i
=0; i
<len
; i
++) {
4466 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4468 PyObject
* str
= PyObject_Unicode(item
);
4470 PyObject
* str
= PyObject_Str(item
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4473 arg7
->Add(Py2wxString(str
));
4481 arg8
= (long)(SWIG_As_long(obj7
));
4482 if (SWIG_arg_fail(8)) SWIG_fail
;
4487 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4488 if (SWIG_arg_fail(9)) SWIG_fail
;
4490 SWIG_null_ref("wxValidator");
4492 if (SWIG_arg_fail(9)) SWIG_fail
;
4497 arg10
= wxString_in_helper(obj9
);
4498 if (arg10
== NULL
) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4517 if (temp7
) delete arg7
;
4530 if (temp7
) delete arg7
;
4540 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "self", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 result
= ((wxComboBox
const *)arg1
)->GetValue();
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4572 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4575 wxString
*arg2
= 0 ;
4576 bool temp2
= false ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4580 (char *) "self",(char *) "value", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail
;
4587 arg2
= wxString_in_helper(obj1
);
4588 if (arg2
== NULL
) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 (arg1
)->SetValue((wxString
const &)*arg2
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4598 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "self", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 Py_INCREF(Py_None
); resultobj
= Py_None
;
4663 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4673 if (SWIG_arg_fail(1)) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4695 (char *) "self",(char *) "pos", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail
;
4702 arg2
= (long)(SWIG_As_long(obj1
));
4703 if (SWIG_arg_fail(2)) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->SetInsertionPoint(arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4723 PyObject
* obj0
= 0 ;
4725 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_long((long)(result
));
4747 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_From_long((long)(result
));
4775 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4780 wxString
*arg4
= 0 ;
4781 bool temp4
= false ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4784 PyObject
* obj2
= 0 ;
4785 PyObject
* obj3
= 0 ;
4787 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail
;
4794 arg2
= (long)(SWIG_As_long(obj1
));
4795 if (SWIG_arg_fail(2)) SWIG_fail
;
4798 arg3
= (long)(SWIG_As_long(obj2
));
4799 if (SWIG_arg_fail(3)) SWIG_fail
;
4802 arg4
= wxString_in_helper(obj3
);
4803 if (arg4
== NULL
) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4828 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4835 (char *) "self",(char *) "n", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail
;
4842 arg2
= (int)(SWIG_As_int(obj1
));
4843 if (SWIG_arg_fail(2)) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 (arg1
)->SetSelection(arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 Py_INCREF(Py_None
); resultobj
= Py_None
;
4859 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 PyObject
* obj2
= 0 ;
4868 (char *) "self",(char *) "from",(char *) "to", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail
;
4875 arg2
= (long)(SWIG_As_long(obj1
));
4876 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 arg3
= (long)(SWIG_As_long(obj2
));
4880 if (SWIG_arg_fail(3)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetSelection(arg2
,arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4899 long *arg2
= (long *) 0 ;
4900 long *arg3
= (long *) 0 ;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "self", NULL
4910 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4911 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->GetSelection(arg2
,arg3
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4923 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4924 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4925 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4926 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4933 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4936 wxString
*arg2
= 0 ;
4938 bool temp2
= false ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4942 (char *) "self",(char *) "string", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail
;
4949 arg2
= wxString_in_helper(obj1
);
4950 if (arg2
== NULL
) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4981 wxString
*arg3
= 0 ;
4982 bool temp3
= false ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4985 PyObject
* obj2
= 0 ;
4987 (char *) "self",(char *) "n",(char *) "string", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4992 if (SWIG_arg_fail(1)) SWIG_fail
;
4994 arg2
= (int)(SWIG_As_int(obj1
));
4995 if (SWIG_arg_fail(2)) SWIG_fail
;
4998 arg3
= wxString_in_helper(obj2
);
4999 if (arg3
== NULL
) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "editable", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 arg2
= (bool)(SWIG_As_bool(obj1
));
5039 if (SWIG_arg_fail(2)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->SetEditable(arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetInsertionPointEnd();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5089 (char *) "self",(char *) "from",(char *) "to", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 arg2
= (long)(SWIG_As_long(obj1
));
5097 if (SWIG_arg_fail(2)) SWIG_fail
;
5100 arg3
= (long)(SWIG_As_long(obj2
));
5101 if (SWIG_arg_fail(3)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->Remove(arg2
,arg3
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5123 (char *) "self", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5128 if (SWIG_arg_fail(1)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5205 if (SWIG_arg_fail(1)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SelectAll();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5287 if (SWIG_arg_fail(1)) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5304 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5332 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5360 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5363 wxVisualAttributes result
;
5364 PyObject
* obj0
= 0 ;
5366 (char *) "variant", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5372 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 if (!wxPyCheckForApp()) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 wxVisualAttributes
* resultptr
;
5386 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5395 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5398 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5400 return Py_BuildValue((char *)"");
5402 static int _wrap_GaugeNameStr_set(PyObject
*) {
5403 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5408 static PyObject
*_wrap_GaugeNameStr_get(void) {
5413 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5415 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5422 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxWindow
*arg1
= (wxWindow
*) 0 ;
5425 int arg2
= (int) -1 ;
5426 int arg3
= (int) 100 ;
5427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5431 long arg6
= (long) wxGA_HORIZONTAL
;
5432 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5433 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5434 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5435 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5439 bool temp8
= false ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5442 PyObject
* obj2
= 0 ;
5443 PyObject
* obj3
= 0 ;
5444 PyObject
* obj4
= 0 ;
5445 PyObject
* obj5
= 0 ;
5446 PyObject
* obj6
= 0 ;
5447 PyObject
* obj7
= 0 ;
5449 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5454 if (SWIG_arg_fail(1)) SWIG_fail
;
5457 arg2
= (int)(SWIG_As_int(obj1
));
5458 if (SWIG_arg_fail(2)) SWIG_fail
;
5463 arg3
= (int)(SWIG_As_int(obj2
));
5464 if (SWIG_arg_fail(3)) SWIG_fail
;
5470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5481 arg6
= (long)(SWIG_As_long(obj5
));
5482 if (SWIG_arg_fail(6)) SWIG_fail
;
5487 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(7)) SWIG_fail
;
5490 SWIG_null_ref("wxValidator");
5492 if (SWIG_arg_fail(7)) SWIG_fail
;
5497 arg8
= wxString_in_helper(obj7
);
5498 if (arg8
== NULL
) SWIG_fail
;
5503 if (!wxPyCheckForApp()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5525 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5534 if (!wxPyCheckForApp()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (wxGauge
*)new wxGauge();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5548 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxGauge
*arg1
= (wxGauge
*) 0 ;
5551 wxWindow
*arg2
= (wxWindow
*) 0 ;
5552 int arg3
= (int) -1 ;
5553 int arg4
= (int) 100 ;
5554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5558 long arg7
= (long) wxGA_HORIZONTAL
;
5559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5561 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5566 bool temp9
= false ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5571 PyObject
* obj4
= 0 ;
5572 PyObject
* obj5
= 0 ;
5573 PyObject
* obj6
= 0 ;
5574 PyObject
* obj7
= 0 ;
5575 PyObject
* obj8
= 0 ;
5577 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(2)) SWIG_fail
;
5587 arg3
= (int)(SWIG_As_int(obj2
));
5588 if (SWIG_arg_fail(3)) SWIG_fail
;
5593 arg4
= (int)(SWIG_As_int(obj3
));
5594 if (SWIG_arg_fail(4)) SWIG_fail
;
5600 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5606 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5611 arg7
= (long)(SWIG_As_long(obj6
));
5612 if (SWIG_arg_fail(7)) SWIG_fail
;
5617 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5618 if (SWIG_arg_fail(8)) SWIG_fail
;
5620 SWIG_null_ref("wxValidator");
5622 if (SWIG_arg_fail(8)) SWIG_fail
;
5627 arg9
= wxString_in_helper(obj8
);
5628 if (arg9
== NULL
) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5656 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxGauge
*arg1
= (wxGauge
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "range", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5670 arg2
= (int)(SWIG_As_int(obj1
));
5671 if (SWIG_arg_fail(2)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetRange(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGauge
*arg1
= (wxGauge
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_From_int((int)(result
));
5715 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxGauge
*arg1
= (wxGauge
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "pos", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5727 if (SWIG_arg_fail(1)) SWIG_fail
;
5729 arg2
= (int)(SWIG_As_int(obj1
));
5730 if (SWIG_arg_fail(2)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetValue(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxGauge
*arg1
= (wxGauge
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5757 if (SWIG_arg_fail(1)) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_From_int((int)(result
));
5774 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxGauge
*arg1
= (wxGauge
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5785 if (SWIG_arg_fail(1)) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxGauge
*arg1
= (wxGauge
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5809 (char *) "self",(char *) "w", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 arg2
= (int)(SWIG_As_int(obj1
));
5817 if (SWIG_arg_fail(2)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetShadowWidth(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxGauge
*arg1
= (wxGauge
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_From_int((int)(result
));
5861 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxGauge
*arg1
= (wxGauge
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "w", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 arg2
= (int)(SWIG_As_int(obj1
));
5876 if (SWIG_arg_fail(2)) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetBezelFace(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxGauge
*arg1
= (wxGauge
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_From_int((int)(result
));
5920 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5923 wxVisualAttributes result
;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "variant", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5932 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 wxVisualAttributes
* resultptr
;
5946 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5955 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5958 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5960 return Py_BuildValue((char *)"");
5962 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5963 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5968 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5973 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5975 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5982 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5983 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5988 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5993 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5995 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
6002 static int _wrap_StaticTextNameStr_set(PyObject
*) {
6003 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
6008 static PyObject
*_wrap_StaticTextNameStr_get(void) {
6013 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6015 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
6022 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxWindow
*arg1
= (wxWindow
*) 0 ;
6025 int arg2
= (int) -1 ;
6026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6032 long arg6
= (long) 0 ;
6033 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
6034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6035 wxStaticBox
*result
;
6036 bool temp3
= false ;
6039 bool temp7
= false ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6043 PyObject
* obj3
= 0 ;
6044 PyObject
* obj4
= 0 ;
6045 PyObject
* obj5
= 0 ;
6046 PyObject
* obj6
= 0 ;
6048 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 arg2
= (int)(SWIG_As_int(obj1
));
6057 if (SWIG_arg_fail(2)) SWIG_fail
;
6062 arg3
= wxString_in_helper(obj2
);
6063 if (arg3
== NULL
) SWIG_fail
;
6070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6081 arg6
= (long)(SWIG_As_long(obj5
));
6082 if (SWIG_arg_fail(6)) SWIG_fail
;
6087 arg7
= wxString_in_helper(obj6
);
6088 if (arg7
== NULL
) SWIG_fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6123 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxStaticBox
*result
;
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxStaticBox
*)new wxStaticBox();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6146 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6149 wxWindow
*arg2
= (wxWindow
*) 0 ;
6150 int arg3
= (int) -1 ;
6151 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6157 long arg7
= (long) 0 ;
6158 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6161 bool temp4
= false ;
6164 bool temp8
= false ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6167 PyObject
* obj2
= 0 ;
6168 PyObject
* obj3
= 0 ;
6169 PyObject
* obj4
= 0 ;
6170 PyObject
* obj5
= 0 ;
6171 PyObject
* obj6
= 0 ;
6172 PyObject
* obj7
= 0 ;
6174 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail
;
6180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 arg3
= (int)(SWIG_As_int(obj2
));
6185 if (SWIG_arg_fail(3)) SWIG_fail
;
6190 arg4
= wxString_in_helper(obj3
);
6191 if (arg4
== NULL
) SWIG_fail
;
6198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6204 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6209 arg7
= (long)(SWIG_As_long(obj6
));
6210 if (SWIG_arg_fail(7)) SWIG_fail
;
6215 arg8
= wxString_in_helper(obj7
);
6216 if (arg8
== NULL
) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6252 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6255 wxVisualAttributes result
;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "variant", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6264 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 wxVisualAttributes
* resultptr
;
6278 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6287 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6292 return Py_BuildValue((char *)"");
6294 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxWindow
*arg1
= (wxWindow
*) 0 ;
6297 int arg2
= (int) -1 ;
6298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6302 long arg5
= (long) wxLI_HORIZONTAL
;
6303 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6304 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6305 wxStaticLine
*result
;
6308 bool temp6
= false ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6312 PyObject
* obj3
= 0 ;
6313 PyObject
* obj4
= 0 ;
6314 PyObject
* obj5
= 0 ;
6316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6324 arg2
= (int)(SWIG_As_int(obj1
));
6325 if (SWIG_arg_fail(2)) SWIG_fail
;
6331 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6337 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6342 arg5
= (long)(SWIG_As_long(obj4
));
6343 if (SWIG_arg_fail(5)) SWIG_fail
;
6348 arg6
= wxString_in_helper(obj5
);
6349 if (arg6
== NULL
) SWIG_fail
;
6354 if (!wxPyCheckForApp()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6376 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxStaticLine
*result
;
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6385 if (!wxPyCheckForApp()) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (wxStaticLine
*)new wxStaticLine();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6399 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6402 wxWindow
*arg2
= (wxWindow
*) 0 ;
6403 int arg3
= (int) -1 ;
6404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6408 long arg6
= (long) wxLI_HORIZONTAL
;
6409 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6414 bool temp7
= false ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 PyObject
* obj3
= 0 ;
6419 PyObject
* obj4
= 0 ;
6420 PyObject
* obj5
= 0 ;
6421 PyObject
* obj6
= 0 ;
6423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6430 if (SWIG_arg_fail(2)) SWIG_fail
;
6433 arg3
= (int)(SWIG_As_int(obj2
));
6434 if (SWIG_arg_fail(3)) SWIG_fail
;
6440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6451 arg6
= (long)(SWIG_As_long(obj5
));
6452 if (SWIG_arg_fail(6)) SWIG_fail
;
6457 arg7
= wxString_in_helper(obj6
);
6458 if (arg7
== NULL
) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6486 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6492 (char *) "self", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6514 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (int)wxStaticLine::GetDefaultSize();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_From_int((int)(result
));
6538 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6541 wxVisualAttributes result
;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "variant", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6550 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6551 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 if (!wxPyCheckForApp()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 wxVisualAttributes
* resultptr
;
6564 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6573 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6576 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6578 return Py_BuildValue((char *)"");
6580 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxWindow
*arg1
= (wxWindow
*) 0 ;
6583 int arg2
= (int) -1 ;
6584 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6585 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6590 long arg6
= (long) 0 ;
6591 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6593 wxStaticText
*result
;
6594 bool temp3
= false ;
6597 bool temp7
= false ;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6600 PyObject
* obj2
= 0 ;
6601 PyObject
* obj3
= 0 ;
6602 PyObject
* obj4
= 0 ;
6603 PyObject
* obj5
= 0 ;
6604 PyObject
* obj6
= 0 ;
6606 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail
;
6614 arg2
= (int)(SWIG_As_int(obj1
));
6615 if (SWIG_arg_fail(2)) SWIG_fail
;
6620 arg3
= wxString_in_helper(obj2
);
6621 if (arg3
== NULL
) SWIG_fail
;
6628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6639 arg6
= (long)(SWIG_As_long(obj5
));
6640 if (SWIG_arg_fail(6)) SWIG_fail
;
6645 arg7
= wxString_in_helper(obj6
);
6646 if (arg7
== NULL
) SWIG_fail
;
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6681 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxStaticText
*result
;
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6690 if (!wxPyCheckForApp()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (wxStaticText
*)new wxStaticText();
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6704 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6707 wxWindow
*arg2
= (wxWindow
*) 0 ;
6708 int arg3
= (int) -1 ;
6709 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6710 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6711 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6712 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6713 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6714 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6715 long arg7
= (long) 0 ;
6716 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6717 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6719 bool temp4
= false ;
6722 bool temp8
= false ;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6726 PyObject
* obj3
= 0 ;
6727 PyObject
* obj4
= 0 ;
6728 PyObject
* obj5
= 0 ;
6729 PyObject
* obj6
= 0 ;
6730 PyObject
* obj7
= 0 ;
6732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail
;
6738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(2)) SWIG_fail
;
6742 arg3
= (int)(SWIG_As_int(obj2
));
6743 if (SWIG_arg_fail(3)) SWIG_fail
;
6748 arg4
= wxString_in_helper(obj3
);
6749 if (arg4
== NULL
) SWIG_fail
;
6756 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6762 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6767 arg7
= (long)(SWIG_As_long(obj6
));
6768 if (SWIG_arg_fail(7)) SWIG_fail
;
6773 arg8
= wxString_in_helper(obj7
);
6774 if (arg8
== NULL
) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6813 wxVisualAttributes result
;
6814 PyObject
* obj0
= 0 ;
6816 (char *) "variant", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6822 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if (!wxPyCheckForApp()) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 wxVisualAttributes
* resultptr
;
6836 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6845 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6850 return Py_BuildValue((char *)"");
6852 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxWindow
*arg1
= (wxWindow
*) 0 ;
6855 int arg2
= (int) -1 ;
6856 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6857 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6862 long arg6
= (long) 0 ;
6863 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6865 wxStaticBitmap
*result
;
6868 bool temp7
= false ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6871 PyObject
* obj2
= 0 ;
6872 PyObject
* obj3
= 0 ;
6873 PyObject
* obj4
= 0 ;
6874 PyObject
* obj5
= 0 ;
6875 PyObject
* obj6
= 0 ;
6877 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6882 if (SWIG_arg_fail(1)) SWIG_fail
;
6885 arg2
= (int)(SWIG_As_int(obj1
));
6886 if (SWIG_arg_fail(2)) SWIG_fail
;
6891 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6892 if (SWIG_arg_fail(3)) SWIG_fail
;
6894 SWIG_null_ref("wxBitmap");
6896 if (SWIG_arg_fail(3)) SWIG_fail
;
6902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6913 arg6
= (long)(SWIG_As_long(obj5
));
6914 if (SWIG_arg_fail(6)) SWIG_fail
;
6919 arg7
= wxString_in_helper(obj6
);
6920 if (arg7
== NULL
) SWIG_fail
;
6925 if (!wxPyCheckForApp()) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6947 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStaticBitmap
*result
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6956 if (!wxPyCheckForApp()) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6970 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6973 wxWindow
*arg2
= (wxWindow
*) 0 ;
6974 int arg3
= (int) -1 ;
6975 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6976 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6977 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6978 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6979 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6980 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6981 long arg7
= (long) 0 ;
6982 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6987 bool temp8
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 PyObject
* obj4
= 0 ;
6993 PyObject
* obj5
= 0 ;
6994 PyObject
* obj6
= 0 ;
6995 PyObject
* obj7
= 0 ;
6997 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(1)) SWIG_fail
;
7003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7004 if (SWIG_arg_fail(2)) SWIG_fail
;
7007 arg3
= (int)(SWIG_As_int(obj2
));
7008 if (SWIG_arg_fail(3)) SWIG_fail
;
7013 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7014 if (SWIG_arg_fail(4)) SWIG_fail
;
7016 SWIG_null_ref("wxBitmap");
7018 if (SWIG_arg_fail(4)) SWIG_fail
;
7024 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7030 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7035 arg7
= (long)(SWIG_As_long(obj6
));
7036 if (SWIG_arg_fail(7)) SWIG_fail
;
7041 arg8
= wxString_in_helper(obj7
);
7042 if (arg8
== NULL
) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (arg1
)->GetBitmap();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 wxBitmap
* resultptr
;
7091 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7100 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7103 wxBitmap
*arg2
= 0 ;
7104 PyObject
* obj0
= 0 ;
7105 PyObject
* obj1
= 0 ;
7107 (char *) "self",(char *) "bitmap", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7112 if (SWIG_arg_fail(1)) SWIG_fail
;
7114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(2)) SWIG_fail
;
7117 SWIG_null_ref("wxBitmap");
7119 if (SWIG_arg_fail(2)) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "icon", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(2)) SWIG_fail
;
7152 SWIG_null_ref("wxIcon");
7154 if (SWIG_arg_fail(2)) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7173 wxVisualAttributes result
;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "variant", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7182 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 if (!wxPyCheckForApp()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 wxVisualAttributes
* resultptr
;
7196 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7205 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7210 return Py_BuildValue((char *)"");
7212 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7213 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7218 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7223 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7225 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7232 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxWindow
*arg1
= (wxWindow
*) 0 ;
7235 int arg2
= (int) -1 ;
7236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7240 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7241 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7242 long arg6
= (long) 0 ;
7243 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7244 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7245 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7250 bool temp5
= false ;
7251 bool temp8
= false ;
7252 PyObject
* obj0
= 0 ;
7253 PyObject
* obj1
= 0 ;
7254 PyObject
* obj2
= 0 ;
7255 PyObject
* obj3
= 0 ;
7256 PyObject
* obj4
= 0 ;
7257 PyObject
* obj5
= 0 ;
7258 PyObject
* obj6
= 0 ;
7259 PyObject
* obj7
= 0 ;
7261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail
;
7269 arg2
= (int)(SWIG_As_int(obj1
));
7270 if (SWIG_arg_fail(2)) SWIG_fail
;
7276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7282 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7287 if (! PySequence_Check(obj4
)) {
7288 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7291 arg5
= new wxArrayString
;
7293 int i
, len
=PySequence_Length(obj4
);
7294 for (i
=0; i
<len
; i
++) {
7295 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7297 PyObject
* str
= PyObject_Unicode(item
);
7299 PyObject
* str
= PyObject_Str(item
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7302 arg5
->Add(Py2wxString(str
));
7310 arg6
= (long)(SWIG_As_long(obj5
));
7311 if (SWIG_arg_fail(6)) SWIG_fail
;
7316 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7317 if (SWIG_arg_fail(7)) SWIG_fail
;
7319 SWIG_null_ref("wxValidator");
7321 if (SWIG_arg_fail(7)) SWIG_fail
;
7326 arg8
= wxString_in_helper(obj7
);
7327 if (arg8
== NULL
) SWIG_fail
;
7332 if (!wxPyCheckForApp()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7341 if (temp5
) delete arg5
;
7350 if (temp5
) delete arg5
;
7360 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7369 if (!wxPyCheckForApp()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxListBox
*)new wxListBox();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7383 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxListBox
*arg1
= (wxListBox
*) 0 ;
7386 wxWindow
*arg2
= (wxWindow
*) 0 ;
7387 int arg3
= (int) -1 ;
7388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7392 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7393 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7394 long arg7
= (long) 0 ;
7395 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7396 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7397 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7398 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7402 bool temp6
= false ;
7403 bool temp9
= false ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7408 PyObject
* obj4
= 0 ;
7409 PyObject
* obj5
= 0 ;
7410 PyObject
* obj6
= 0 ;
7411 PyObject
* obj7
= 0 ;
7412 PyObject
* obj8
= 0 ;
7414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7421 if (SWIG_arg_fail(2)) SWIG_fail
;
7424 arg3
= (int)(SWIG_As_int(obj2
));
7425 if (SWIG_arg_fail(3)) SWIG_fail
;
7431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7442 if (! PySequence_Check(obj5
)) {
7443 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7446 arg6
= new wxArrayString
;
7448 int i
, len
=PySequence_Length(obj5
);
7449 for (i
=0; i
<len
; i
++) {
7450 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7452 PyObject
* str
= PyObject_Unicode(item
);
7454 PyObject
* str
= PyObject_Str(item
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7457 arg6
->Add(Py2wxString(str
));
7465 arg7
= (long)(SWIG_As_long(obj6
));
7466 if (SWIG_arg_fail(7)) SWIG_fail
;
7471 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(8)) SWIG_fail
;
7474 SWIG_null_ref("wxValidator");
7476 if (SWIG_arg_fail(8)) SWIG_fail
;
7481 arg9
= wxString_in_helper(obj8
);
7482 if (arg9
== NULL
) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 if (temp6
) delete arg6
;
7506 if (temp6
) delete arg6
;
7516 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxListBox
*arg1
= (wxListBox
*) 0 ;
7519 wxString
*arg2
= 0 ;
7521 PyObject
*arg4
= (PyObject
*) NULL
;
7522 bool temp2
= false ;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7525 PyObject
* obj2
= 0 ;
7526 PyObject
* obj3
= 0 ;
7528 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7535 arg2
= wxString_in_helper(obj1
);
7536 if (arg2
== NULL
) SWIG_fail
;
7540 arg3
= (int)(SWIG_As_int(obj2
));
7541 if (SWIG_arg_fail(3)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxListBox
*arg1
= (wxListBox
*) 0 ;
7571 wxArrayString
*arg2
= 0 ;
7573 bool temp2
= false ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7578 (char *) "self",(char *) "items",(char *) "pos", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7585 if (! PySequence_Check(obj1
)) {
7586 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7589 arg2
= new wxArrayString
;
7591 int i
, len
=PySequence_Length(obj1
);
7592 for (i
=0; i
<len
; i
++) {
7593 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7595 PyObject
* str
= PyObject_Unicode(item
);
7597 PyObject
* str
= PyObject_Str(item
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7600 arg2
->Add(Py2wxString(str
));
7606 arg3
= (int)(SWIG_As_int(obj2
));
7607 if (SWIG_arg_fail(3)) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 Py_INCREF(Py_None
); resultobj
= Py_None
;
7618 if (temp2
) delete arg2
;
7623 if (temp2
) delete arg2
;
7629 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxListBox
*arg1
= (wxListBox
*) 0 ;
7632 wxArrayString
*arg2
= 0 ;
7633 bool temp2
= false ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7637 (char *) "self",(char *) "items", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail
;
7644 if (! PySequence_Check(obj1
)) {
7645 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7648 arg2
= new wxArrayString
;
7650 int i
, len
=PySequence_Length(obj1
);
7651 for (i
=0; i
<len
; i
++) {
7652 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7654 PyObject
* str
= PyObject_Unicode(item
);
7656 PyObject
* str
= PyObject_Str(item
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7659 arg2
->Add(Py2wxString(str
));
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 (arg1
)->Set((wxArrayString
const &)*arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 if (temp2
) delete arg2
;
7678 if (temp2
) delete arg2
;
7684 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxListBox
*arg1
= (wxListBox
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7692 (char *) "self",(char *) "n", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(1)) SWIG_fail
;
7699 arg2
= (int)(SWIG_As_int(obj1
));
7700 if (SWIG_arg_fail(2)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxListBox
*arg1
= (wxListBox
*) 0 ;
7722 bool arg3
= (bool) true ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 PyObject
* obj2
= 0 ;
7727 (char *) "self",(char *) "n",(char *) "select", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail
;
7734 arg2
= (int)(SWIG_As_int(obj1
));
7735 if (SWIG_arg_fail(2)) SWIG_fail
;
7739 arg3
= (bool)(SWIG_As_bool(obj2
));
7740 if (SWIG_arg_fail(3)) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->SetSelection(arg2
,arg3
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7757 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxListBox
*arg1
= (wxListBox
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7764 (char *) "self",(char *) "n", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail
;
7771 arg2
= (int)(SWIG_As_int(obj1
));
7772 if (SWIG_arg_fail(2)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->Select(arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7788 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxListBox
*arg1
= (wxListBox
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "self",(char *) "n", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail
;
7802 arg2
= (int)(SWIG_As_int(obj1
));
7803 if (SWIG_arg_fail(2)) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 (arg1
)->Deselect(arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxListBox
*arg1
= (wxListBox
*) 0 ;
7822 int arg2
= (int) -1 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7826 (char *) "self",(char *) "itemToLeaveSelected", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7834 arg2
= (int)(SWIG_As_int(obj1
));
7835 if (SWIG_arg_fail(2)) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 (arg1
)->DeselectAll(arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxListBox
*arg1
= (wxListBox
*) 0 ;
7855 wxString
*arg2
= 0 ;
7856 bool arg3
= (bool) true ;
7858 bool temp2
= false ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 PyObject
* obj2
= 0 ;
7863 (char *) "self",(char *) "s",(char *) "select", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= wxString_in_helper(obj1
);
7871 if (arg2
== NULL
) SWIG_fail
;
7876 arg3
= (bool)(SWIG_As_bool(obj2
));
7877 if (SWIG_arg_fail(3)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7904 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxListBox
*arg1
= (wxListBox
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7910 (char *) "self", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7930 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxListBox
*arg1
= (wxListBox
*) 0 ;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7937 (char *) "self",(char *) "n", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail
;
7944 arg2
= (int)(SWIG_As_int(obj1
));
7945 if (SWIG_arg_fail(2)) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 (arg1
)->SetFirstItem(arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxListBox
*arg1
= (wxListBox
*) 0 ;
7964 wxString
*arg2
= 0 ;
7965 bool temp2
= false ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7969 (char *) "self",(char *) "s", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 arg2
= wxString_in_helper(obj1
);
7977 if (arg2
== NULL
) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxListBox
*arg1
= (wxListBox
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8009 (char *) "self",(char *) "n", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8014 if (SWIG_arg_fail(1)) SWIG_fail
;
8016 arg2
= (int)(SWIG_As_int(obj1
));
8017 if (SWIG_arg_fail(2)) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 (arg1
)->EnsureVisible(arg2
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxListBox
*arg1
= (wxListBox
*) 0 ;
8036 wxString
*arg2
= 0 ;
8037 bool temp2
= false ;
8038 PyObject
* obj0
= 0 ;
8039 PyObject
* obj1
= 0 ;
8041 (char *) "self",(char *) "s", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(1)) SWIG_fail
;
8048 arg2
= wxString_in_helper(obj1
);
8049 if (arg2
== NULL
) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8074 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxListBox
*arg1
= (wxListBox
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxListBox
*arg1
= (wxListBox
*) 0 ;
8106 wxColour
*arg3
= 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 (char *) "self",(char *) "item",(char *) "c", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8117 if (SWIG_arg_fail(1)) SWIG_fail
;
8119 arg2
= (int)(SWIG_As_int(obj1
));
8120 if (SWIG_arg_fail(2)) SWIG_fail
;
8124 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 Py_INCREF(Py_None
); resultobj
= Py_None
;
8140 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxListBox
*arg1
= (wxListBox
*) 0 ;
8144 wxColour
*arg3
= 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8150 (char *) "self",(char *) "item",(char *) "c", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail
;
8157 arg2
= (int)(SWIG_As_int(obj1
));
8158 if (SWIG_arg_fail(2)) SWIG_fail
;
8162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxListBox
*arg1
= (wxListBox
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8187 (char *) "self",(char *) "item",(char *) "f", NULL
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail
;
8194 arg2
= (int)(SWIG_As_int(obj1
));
8195 if (SWIG_arg_fail(2)) SWIG_fail
;
8198 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8199 if (SWIG_arg_fail(3)) SWIG_fail
;
8201 SWIG_null_ref("wxFont");
8203 if (SWIG_arg_fail(3)) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8222 wxVisualAttributes result
;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "variant", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8231 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8232 if (SWIG_arg_fail(1)) SWIG_fail
;
8236 if (!wxPyCheckForApp()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 wxVisualAttributes
* resultptr
;
8245 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8254 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8259 return Py_BuildValue((char *)"");
8261 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxWindow
*arg1
= (wxWindow
*) 0 ;
8264 int arg2
= (int) -1 ;
8265 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8266 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8267 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8268 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8269 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8270 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8271 long arg6
= (long) 0 ;
8272 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8273 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8274 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8275 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8276 wxCheckListBox
*result
;
8279 bool temp5
= false ;
8280 bool temp8
= false ;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8283 PyObject
* obj2
= 0 ;
8284 PyObject
* obj3
= 0 ;
8285 PyObject
* obj4
= 0 ;
8286 PyObject
* obj5
= 0 ;
8287 PyObject
* obj6
= 0 ;
8288 PyObject
* obj7
= 0 ;
8290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail
;
8298 arg2
= (int)(SWIG_As_int(obj1
));
8299 if (SWIG_arg_fail(2)) SWIG_fail
;
8305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8311 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8316 if (! PySequence_Check(obj4
)) {
8317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8320 arg5
= new wxArrayString
;
8322 int i
, len
=PySequence_Length(obj4
);
8323 for (i
=0; i
<len
; i
++) {
8324 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8326 PyObject
* str
= PyObject_Unicode(item
);
8328 PyObject
* str
= PyObject_Str(item
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8331 arg5
->Add(Py2wxString(str
));
8339 arg6
= (long)(SWIG_As_long(obj5
));
8340 if (SWIG_arg_fail(6)) SWIG_fail
;
8345 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8346 if (SWIG_arg_fail(7)) SWIG_fail
;
8348 SWIG_null_ref("wxValidator");
8350 if (SWIG_arg_fail(7)) SWIG_fail
;
8355 arg8
= wxString_in_helper(obj7
);
8356 if (arg8
== NULL
) SWIG_fail
;
8361 if (!wxPyCheckForApp()) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8370 if (temp5
) delete arg5
;
8379 if (temp5
) delete arg5
;
8389 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxCheckListBox
*result
;
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxCheckListBox
*)new wxCheckListBox();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8412 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8415 wxWindow
*arg2
= (wxWindow
*) 0 ;
8416 int arg3
= (int) -1 ;
8417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8421 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8422 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8423 long arg7
= (long) 0 ;
8424 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8425 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8426 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8427 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8431 bool temp6
= false ;
8432 bool temp9
= false ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8435 PyObject
* obj2
= 0 ;
8436 PyObject
* obj3
= 0 ;
8437 PyObject
* obj4
= 0 ;
8438 PyObject
* obj5
= 0 ;
8439 PyObject
* obj6
= 0 ;
8440 PyObject
* obj7
= 0 ;
8441 PyObject
* obj8
= 0 ;
8443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 arg3
= (int)(SWIG_As_int(obj2
));
8454 if (SWIG_arg_fail(3)) SWIG_fail
;
8460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8471 if (! PySequence_Check(obj5
)) {
8472 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8475 arg6
= new wxArrayString
;
8477 int i
, len
=PySequence_Length(obj5
);
8478 for (i
=0; i
<len
; i
++) {
8479 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8481 PyObject
* str
= PyObject_Unicode(item
);
8483 PyObject
* str
= PyObject_Str(item
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8486 arg6
->Add(Py2wxString(str
));
8494 arg7
= (long)(SWIG_As_long(obj6
));
8495 if (SWIG_arg_fail(7)) SWIG_fail
;
8500 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(8)) SWIG_fail
;
8503 SWIG_null_ref("wxValidator");
8505 if (SWIG_arg_fail(8)) SWIG_fail
;
8510 arg9
= wxString_in_helper(obj8
);
8511 if (arg9
== NULL
) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 if (temp6
) delete arg6
;
8535 if (temp6
) delete arg6
;
8545 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8553 (char *) "self",(char *) "index", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail
;
8560 arg2
= (int)(SWIG_As_int(obj1
));
8561 if (SWIG_arg_fail(2)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->IsChecked(arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8579 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8583 int arg3
= (int) true ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8586 PyObject
* obj2
= 0 ;
8588 (char *) "self",(char *) "index",(char *) "check", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail
;
8595 arg2
= (int)(SWIG_As_int(obj1
));
8596 if (SWIG_arg_fail(2)) SWIG_fail
;
8600 arg3
= (int)(SWIG_As_int(obj2
));
8601 if (SWIG_arg_fail(3)) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->Check(arg2
,arg3
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8622 PyObject
* obj0
= 0 ;
8624 (char *) "self", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (int)(arg1
)->GetItemHeight();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_int((int)(result
));
8646 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "pt", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_From_int((int)(result
));
8681 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 PyObject
* obj2
= 0 ;
8691 (char *) "self",(char *) "x",(char *) "y", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail
;
8698 arg2
= (int)(SWIG_As_int(obj1
));
8699 if (SWIG_arg_fail(2)) SWIG_fail
;
8702 arg3
= (int)(SWIG_As_int(obj2
));
8703 if (SWIG_arg_fail(3)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_From_int((int)(result
));
8721 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8729 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8734 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8739 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8741 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8748 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxColour
const &arg1_defvalue
= wxNullColour
;
8751 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8752 wxColour
const &arg2_defvalue
= wxNullColour
;
8753 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8754 wxFont
const &arg3_defvalue
= wxNullFont
;
8755 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8756 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 PyObject
* obj3
= 0 ;
8765 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8772 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8783 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8784 if (SWIG_arg_fail(3)) SWIG_fail
;
8786 SWIG_null_ref("wxFont");
8788 if (SWIG_arg_fail(3)) SWIG_fail
;
8793 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8794 if (SWIG_arg_fail(4)) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8811 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8846 if (SWIG_arg_fail(1)) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 Py_INCREF(Py_None
); resultobj
= Py_None
;
8861 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8864 wxColour
*arg2
= 0 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8869 (char *) "self",(char *) "colText", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8896 wxColour
*arg2
= 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8901 (char *) "self",(char *) "colBack", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail
;
8909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8929 long arg3
= (long) wxTEXT_ATTR_FONT
;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8934 (char *) "self",(char *) "font",(char *) "flags", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8942 if (SWIG_arg_fail(2)) SWIG_fail
;
8944 SWIG_null_ref("wxFont");
8946 if (SWIG_arg_fail(2)) SWIG_fail
;
8950 arg3
= (long)(SWIG_As_long(obj2
));
8951 if (SWIG_arg_fail(3)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8971 wxTextAttrAlignment arg2
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "alignment", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8983 if (SWIG_arg_fail(2)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9002 wxArrayInt
*arg2
= 0 ;
9003 bool temp2
= false ;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "self",(char *) "tabs", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
9011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail
;
9014 if (! PySequence_Check(obj1
)) {
9015 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
9018 arg2
= new wxArrayInt
;
9020 int i
, len
=PySequence_Length(obj1
);
9021 for (i
=0; i
<len
; i
++) {
9022 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9023 PyObject
* number
= PyNumber_Int(item
);
9024 arg2
->Add(PyInt_AS_LONG(number
));
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9038 if (temp2
) delete arg2
;
9043 if (temp2
) delete arg2
;
9049 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9053 int arg3
= (int) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail
;
9065 arg2
= (int)(SWIG_As_int(obj1
));
9066 if (SWIG_arg_fail(2)) SWIG_fail
;
9070 arg3
= (int)(SWIG_As_int(obj2
));
9071 if (SWIG_arg_fail(3)) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->SetLeftIndent(arg2
,arg3
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "self",(char *) "indent", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 arg2
= (int)(SWIG_As_int(obj1
));
9103 if (SWIG_arg_fail(2)) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->SetRightIndent(arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "flags", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9131 if (SWIG_arg_fail(1)) SWIG_fail
;
9133 arg2
= (long)(SWIG_As_long(obj1
));
9134 if (SWIG_arg_fail(2)) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 (arg1
)->SetFlags(arg2
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 Py_INCREF(Py_None
); resultobj
= Py_None
;
9150 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9294 PyObject
* obj0
= 0 ;
9296 (char *) "self", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9301 if (SWIG_arg_fail(1)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9318 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9324 (char *) "self", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "flag", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail
;
9361 arg2
= (long)(SWIG_As_long(obj1
));
9362 if (SWIG_arg_fail(2)) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9396 result
= (wxColour
*) &_result_ref
;
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9409 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9425 result
= (wxColour
*) &_result_ref
;
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9438 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9454 result
= (wxFont
*) &_result_ref
;
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 wxFont
* resultptr
= new wxFont(*result
);
9462 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9470 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9473 wxTextAttrAlignment result
;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_From_int((result
));
9496 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9512 result
= (wxArrayInt
*) &_result_ref
;
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= PyList_New(0);
9521 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9522 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9523 PyList_Append(resultobj
, val
);
9533 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_From_long((long)(result
));
9561 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_From_long((long)(result
));
9589 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_long((long)(result
));
9617 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_long((long)(result
));
9645 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxTextAttr
*arg1
= 0 ;
9676 wxTextAttr
*arg2
= 0 ;
9677 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 PyObject
* obj2
= 0 ;
9683 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 SWIG_null_ref("wxTextAttr");
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 SWIG_null_ref("wxTextAttr");
9701 if (SWIG_arg_fail(2)) SWIG_fail
;
9703 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9704 if (SWIG_arg_fail(3)) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 wxTextAttr
* resultptr
;
9714 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9723 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9726 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9728 return Py_BuildValue((char *)"");
9730 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxWindow
*arg1
= (wxWindow
*) 0 ;
9733 int arg2
= (int) -1 ;
9734 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9740 long arg6
= (long) 0 ;
9741 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9742 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9743 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9744 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9746 bool temp3
= false ;
9749 bool temp8
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9753 PyObject
* obj3
= 0 ;
9754 PyObject
* obj4
= 0 ;
9755 PyObject
* obj5
= 0 ;
9756 PyObject
* obj6
= 0 ;
9757 PyObject
* obj7
= 0 ;
9759 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail
;
9767 arg2
= (int)(SWIG_As_int(obj1
));
9768 if (SWIG_arg_fail(2)) SWIG_fail
;
9773 arg3
= wxString_in_helper(obj2
);
9774 if (arg3
== NULL
) SWIG_fail
;
9781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9792 arg6
= (long)(SWIG_As_long(obj5
));
9793 if (SWIG_arg_fail(6)) SWIG_fail
;
9798 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(7)) SWIG_fail
;
9801 SWIG_null_ref("wxValidator");
9803 if (SWIG_arg_fail(7)) SWIG_fail
;
9808 arg8
= wxString_in_helper(obj7
);
9809 if (arg8
== NULL
) SWIG_fail
;
9814 if (!wxPyCheckForApp()) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9844 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9853 if (!wxPyCheckForApp()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (wxTextCtrl
*)new wxTextCtrl();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9867 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9870 wxWindow
*arg2
= (wxWindow
*) 0 ;
9871 int arg3
= (int) -1 ;
9872 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9873 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9874 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9875 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9876 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9877 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9878 long arg7
= (long) 0 ;
9879 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9880 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9881 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9882 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9884 bool temp4
= false ;
9887 bool temp9
= false ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9892 PyObject
* obj4
= 0 ;
9893 PyObject
* obj5
= 0 ;
9894 PyObject
* obj6
= 0 ;
9895 PyObject
* obj7
= 0 ;
9896 PyObject
* obj8
= 0 ;
9898 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9905 if (SWIG_arg_fail(2)) SWIG_fail
;
9908 arg3
= (int)(SWIG_As_int(obj2
));
9909 if (SWIG_arg_fail(3)) SWIG_fail
;
9914 arg4
= wxString_in_helper(obj3
);
9915 if (arg4
== NULL
) SWIG_fail
;
9922 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9928 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9933 arg7
= (long)(SWIG_As_long(obj6
));
9934 if (SWIG_arg_fail(7)) SWIG_fail
;
9939 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(8)) SWIG_fail
;
9942 SWIG_null_ref("wxValidator");
9944 if (SWIG_arg_fail(8)) SWIG_fail
;
9949 arg9
= wxString_in_helper(obj8
);
9950 if (arg9
== NULL
) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9986 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10018 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10021 wxString
*arg2
= 0 ;
10022 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "value", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetValue((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10059 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self",(char *) "from",(char *) "to", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 arg2
= (long)(SWIG_As_long(obj1
));
10077 if (SWIG_arg_fail(2)) SWIG_fail
;
10080 arg3
= (long)(SWIG_As_long(obj2
));
10081 if (SWIG_arg_fail(3)) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10103 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "lineNo", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail
;
10118 arg2
= (long)(SWIG_As_long(obj1
));
10119 if (SWIG_arg_fail(2)) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_From_int((int)(result
));
10137 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "lineNo", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10150 if (SWIG_arg_fail(1)) SWIG_fail
;
10152 arg2
= (long)(SWIG_As_long(obj1
));
10153 if (SWIG_arg_fail(2)) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10175 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10186 if (SWIG_arg_fail(1)) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_From_int((int)(result
));
10203 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10214 if (SWIG_arg_fail(1)) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10231 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
*resultobj
;
10233 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10242 if (SWIG_arg_fail(1)) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10259 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10270 if (SWIG_arg_fail(1)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10315 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10318 long *arg2
= (long *) 0 ;
10319 long *arg3
= (long *) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10330 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10343 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10344 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10345 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10352 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10384 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10394 if (SWIG_arg_fail(1)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10414 wxString
*arg4
= 0 ;
10415 bool temp4
= false ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 PyObject
* obj3
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10426 if (SWIG_arg_fail(1)) SWIG_fail
;
10428 arg2
= (long)(SWIG_As_long(obj1
));
10429 if (SWIG_arg_fail(2)) SWIG_fail
;
10432 arg3
= (long)(SWIG_As_long(obj2
));
10433 if (SWIG_arg_fail(3)) SWIG_fail
;
10436 arg4
= wxString_in_helper(obj3
);
10437 if (arg4
== NULL
) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 PyObject
* obj1
= 0 ;
10469 PyObject
* obj2
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "from",(char *) "to", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail
;
10478 arg2
= (long)(SWIG_As_long(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10482 arg3
= (long)(SWIG_As_long(obj2
));
10483 if (SWIG_arg_fail(3)) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->Remove(arg2
,arg3
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10499 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10502 wxString
*arg2
= 0 ;
10504 bool temp2
= false ;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "file", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 arg2
= wxString_in_helper(obj1
);
10516 if (arg2
== NULL
) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10543 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
;
10545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10546 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10549 bool temp2
= false ;
10550 PyObject
* obj0
= 0 ;
10551 PyObject
* obj1
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "file", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail
;
10561 arg2
= wxString_in_helper(obj1
);
10562 if (arg2
== NULL
) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10600 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->MarkDirty();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10625 if (SWIG_arg_fail(1)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->DiscardEdits();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10643 unsigned long arg2
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "len", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10652 if (SWIG_arg_fail(1)) SWIG_fail
;
10654 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10655 if (SWIG_arg_fail(2)) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetMaxLength(arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10674 wxString
*arg2
= 0 ;
10675 bool temp2
= false ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "text", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10684 if (SWIG_arg_fail(1)) SWIG_fail
;
10686 arg2
= wxString_in_helper(obj1
);
10687 if (arg2
== NULL
) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 (arg1
)->WriteText((wxString
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10715 wxString
*arg2
= 0 ;
10716 bool temp2
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self",(char *) "text", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(1)) SWIG_fail
;
10727 arg2
= wxString_in_helper(obj1
);
10728 if (arg2
== NULL
) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 (arg1
)->AppendText((wxString
const &)*arg2
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10756 wxKeyEvent
*arg2
= 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "event", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail
;
10768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10769 if (SWIG_arg_fail(2)) SWIG_fail
;
10770 if (arg2
== NULL
) {
10771 SWIG_null_ref("wxKeyEvent");
10773 if (SWIG_arg_fail(2)) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10791 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10796 wxTextAttr
*arg4
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 PyObject
* obj3
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 arg2
= (long)(SWIG_As_long(obj1
));
10811 if (SWIG_arg_fail(2)) SWIG_fail
;
10814 arg3
= (long)(SWIG_As_long(obj2
));
10815 if (SWIG_arg_fail(3)) SWIG_fail
;
10818 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10819 if (SWIG_arg_fail(4)) SWIG_fail
;
10820 if (arg4
== NULL
) {
10821 SWIG_null_ref("wxTextAttr");
10823 if (SWIG_arg_fail(4)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10845 wxTextAttr
*arg3
= 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "position",(char *) "style", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10856 if (SWIG_arg_fail(1)) SWIG_fail
;
10858 arg2
= (long)(SWIG_As_long(obj1
));
10859 if (SWIG_arg_fail(2)) SWIG_fail
;
10862 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10863 if (SWIG_arg_fail(3)) SWIG_fail
;
10864 if (arg3
== NULL
) {
10865 SWIG_null_ref("wxTextAttr");
10867 if (SWIG_arg_fail(3)) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10888 wxTextAttr
*arg2
= 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "style", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10901 if (SWIG_arg_fail(2)) SWIG_fail
;
10902 if (arg2
== NULL
) {
10903 SWIG_null_ref("wxTextAttr");
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10923 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10926 wxTextAttr
*result
;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10939 result
= (wxTextAttr
*) &_result_ref
;
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10952 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 PyObject
* obj2
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "x",(char *) "y", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10969 arg2
= (long)(SWIG_As_long(obj1
));
10970 if (SWIG_arg_fail(2)) SWIG_fail
;
10973 arg3
= (long)(SWIG_As_long(obj2
));
10974 if (SWIG_arg_fail(3)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= SWIG_From_long((long)(result
));
10992 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10996 long *arg3
= (long *) 0 ;
10997 long *arg4
= (long *) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "pos", NULL
11008 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11009 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11012 if (SWIG_arg_fail(1)) SWIG_fail
;
11014 arg2
= (long)(SWIG_As_long(obj1
));
11015 if (SWIG_arg_fail(2)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11026 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11027 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11028 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11035 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "pos", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (long)(SWIG_As_long(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->ShowPosition(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11069 wxPoint
*arg2
= 0 ;
11070 long *arg3
= (long *) 0 ;
11071 long *arg4
= (long *) 0 ;
11072 wxTextCtrlHitTestResult result
;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "pt", NULL
11084 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11085 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11088 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_From_int((result
));
11101 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11102 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11103 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11104 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11111 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11114 wxPoint
*arg2
= 0 ;
11115 long *arg3
= (long *) 0 ;
11116 wxTextCtrlHitTestResult result
;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "pt", NULL
11126 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11129 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int((result
));
11142 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11143 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11150 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
;
11152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11160 if (SWIG_arg_fail(1)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11178 PyObject
* obj0
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11185 if (SWIG_arg_fail(1)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 Py_INCREF(Py_None
); resultobj
= Py_None
;
11200 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11236 if (SWIG_arg_fail(1)) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11319 if (SWIG_arg_fail(1)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11415 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "pos", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11429 arg2
= (long)(SWIG_As_long(obj1
));
11430 if (SWIG_arg_fail(2)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetInsertionPoint(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->SetInsertionPointEnd();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_From_long((long)(result
));
11499 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_long((long)(result
));
11527 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "from",(char *) "to", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 arg2
= (long)(SWIG_As_long(obj1
));
11544 if (SWIG_arg_fail(2)) SWIG_fail
;
11547 arg3
= (long)(SWIG_As_long(obj2
));
11548 if (SWIG_arg_fail(3)) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SetSelection(arg2
,arg3
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 Py_INCREF(Py_None
); resultobj
= Py_None
;
11564 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 (arg1
)->SelectAll();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 char *kwnames
[] = {
11596 (char *) "self",(char *) "editable", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11601 if (SWIG_arg_fail(1)) SWIG_fail
;
11603 arg2
= (bool)(SWIG_As_bool(obj1
));
11604 if (SWIG_arg_fail(2)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 (arg1
)->SetEditable(arg2
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 Py_INCREF(Py_None
); resultobj
= Py_None
;
11620 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11623 bool arg2
= (bool) true ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "show", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11636 arg2
= (bool)(SWIG_As_bool(obj1
));
11637 if (SWIG_arg_fail(2)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11660 PyObject
* obj0
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "self", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11667 if (SWIG_arg_fail(1)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->HideNativeCaret();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11687 wxString
*arg2
= 0 ;
11688 bool temp2
= false ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "text", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11725 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "self",(char *) "from",(char *) "to", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail
;
11742 arg2
= (long)(SWIG_As_long(obj1
));
11743 if (SWIG_arg_fail(2)) SWIG_fail
;
11746 arg3
= (long)(SWIG_As_long(obj2
));
11747 if (SWIG_arg_fail(3)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11769 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11772 wxVisualAttributes result
;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "variant", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11781 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11782 if (SWIG_arg_fail(1)) SWIG_fail
;
11786 if (!wxPyCheckForApp()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 wxVisualAttributes
* resultptr
;
11795 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11804 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11807 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11809 return Py_BuildValue((char *)"");
11811 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11814 wxMouseEvent
*arg2
= 0 ;
11817 wxTextUrlEvent
*result
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11828 arg1
= (int)(SWIG_As_int(obj0
));
11829 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11833 if (SWIG_arg_fail(2)) SWIG_fail
;
11834 if (arg2
== NULL
) {
11835 SWIG_null_ref("wxMouseEvent");
11837 if (SWIG_arg_fail(2)) SWIG_fail
;
11840 arg3
= (long)(SWIG_As_long(obj2
));
11841 if (SWIG_arg_fail(3)) SWIG_fail
;
11844 arg4
= (long)(SWIG_As_long(obj3
));
11845 if (SWIG_arg_fail(4)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11861 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11864 wxMouseEvent
*result
;
11865 PyObject
* obj0
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11872 if (SWIG_arg_fail(1)) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11877 result
= (wxMouseEvent
*) &_result_ref
;
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11890 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_long((long)(result
));
11918 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_From_long((long)(result
));
11946 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11949 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11951 return Py_BuildValue((char *)"");
11953 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11954 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11959 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11964 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11966 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11973 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxWindow
*arg1
= (wxWindow
*) 0 ;
11976 int arg2
= (int) -1 ;
11977 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11978 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11979 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11980 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11981 long arg5
= (long) wxSB_HORIZONTAL
;
11982 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11983 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11984 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11986 wxScrollBar
*result
;
11989 bool temp7
= false ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 PyObject
* obj2
= 0 ;
11993 PyObject
* obj3
= 0 ;
11994 PyObject
* obj4
= 0 ;
11995 PyObject
* obj5
= 0 ;
11996 PyObject
* obj6
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 arg2
= (int)(SWIG_As_int(obj1
));
12007 if (SWIG_arg_fail(2)) SWIG_fail
;
12013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12019 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12024 arg5
= (long)(SWIG_As_long(obj4
));
12025 if (SWIG_arg_fail(5)) SWIG_fail
;
12030 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12031 if (SWIG_arg_fail(6)) SWIG_fail
;
12032 if (arg6
== NULL
) {
12033 SWIG_null_ref("wxValidator");
12035 if (SWIG_arg_fail(6)) SWIG_fail
;
12040 arg7
= wxString_in_helper(obj6
);
12041 if (arg7
== NULL
) SWIG_fail
;
12046 if (!wxPyCheckForApp()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12068 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxScrollBar
*result
;
12071 char *kwnames
[] = {
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12077 if (!wxPyCheckForApp()) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (wxScrollBar
*)new wxScrollBar();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12091 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12094 wxWindow
*arg2
= (wxWindow
*) 0 ;
12095 int arg3
= (int) -1 ;
12096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12100 long arg6
= (long) wxSB_HORIZONTAL
;
12101 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12102 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12103 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12108 bool temp8
= false ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 PyObject
* obj2
= 0 ;
12112 PyObject
* obj3
= 0 ;
12113 PyObject
* obj4
= 0 ;
12114 PyObject
* obj5
= 0 ;
12115 PyObject
* obj6
= 0 ;
12116 PyObject
* obj7
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12123 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 arg3
= (int)(SWIG_As_int(obj2
));
12129 if (SWIG_arg_fail(3)) SWIG_fail
;
12135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12146 arg6
= (long)(SWIG_As_long(obj5
));
12147 if (SWIG_arg_fail(6)) SWIG_fail
;
12152 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(7)) SWIG_fail
;
12154 if (arg7
== NULL
) {
12155 SWIG_null_ref("wxValidator");
12157 if (SWIG_arg_fail(7)) SWIG_fail
;
12162 arg8
= wxString_in_helper(obj7
);
12163 if (arg8
== NULL
) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12191 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int((int)(result
));
12219 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int((int)(result
));
12247 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12258 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_int((int)(result
));
12275 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_From_int((int)(result
));
12303 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12331 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "viewStart", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12345 arg2
= (int)(SWIG_As_int(obj1
));
12346 if (SWIG_arg_fail(2)) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 (arg1
)->SetThumbPosition(arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 Py_INCREF(Py_None
); resultobj
= Py_None
;
12362 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12369 bool arg6
= (bool) true ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 PyObject
* obj2
= 0 ;
12373 PyObject
* obj3
= 0 ;
12374 PyObject
* obj4
= 0 ;
12375 PyObject
* obj5
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 arg2
= (int)(SWIG_As_int(obj1
));
12385 if (SWIG_arg_fail(2)) SWIG_fail
;
12388 arg3
= (int)(SWIG_As_int(obj2
));
12389 if (SWIG_arg_fail(3)) SWIG_fail
;
12392 arg4
= (int)(SWIG_As_int(obj3
));
12393 if (SWIG_arg_fail(4)) SWIG_fail
;
12396 arg5
= (int)(SWIG_As_int(obj4
));
12397 if (SWIG_arg_fail(5)) SWIG_fail
;
12401 arg6
= (bool)(SWIG_As_bool(obj5
));
12402 if (SWIG_arg_fail(6)) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12419 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12422 wxVisualAttributes result
;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "variant", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12431 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12436 if (!wxPyCheckForApp()) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 wxVisualAttributes
* resultptr
;
12445 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12454 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12457 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12459 return Py_BuildValue((char *)"");
12461 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12462 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12467 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12472 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12474 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12481 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12482 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12487 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12492 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12494 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12501 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxWindow
*arg1
= (wxWindow
*) 0 ;
12504 int arg2
= (int) -1 ;
12505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12509 long arg5
= (long) wxSP_HORIZONTAL
;
12510 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12511 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12512 wxSpinButton
*result
;
12515 bool temp6
= false ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 PyObject
* obj2
= 0 ;
12519 PyObject
* obj3
= 0 ;
12520 PyObject
* obj4
= 0 ;
12521 PyObject
* obj5
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12528 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 arg2
= (int)(SWIG_As_int(obj1
));
12532 if (SWIG_arg_fail(2)) SWIG_fail
;
12538 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12544 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12549 arg5
= (long)(SWIG_As_long(obj4
));
12550 if (SWIG_arg_fail(5)) SWIG_fail
;
12555 arg6
= wxString_in_helper(obj5
);
12556 if (arg6
== NULL
) SWIG_fail
;
12561 if (!wxPyCheckForApp()) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12583 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxSpinButton
*result
;
12586 char *kwnames
[] = {
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12592 if (!wxPyCheckForApp()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (wxSpinButton
*)new wxSpinButton();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12606 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12609 wxWindow
*arg2
= (wxWindow
*) 0 ;
12610 int arg3
= (int) -1 ;
12611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12615 long arg6
= (long) wxSP_HORIZONTAL
;
12616 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12621 bool temp7
= false ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 PyObject
* obj2
= 0 ;
12625 PyObject
* obj3
= 0 ;
12626 PyObject
* obj4
= 0 ;
12627 PyObject
* obj5
= 0 ;
12628 PyObject
* obj6
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12636 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(2)) SWIG_fail
;
12640 arg3
= (int)(SWIG_As_int(obj2
));
12641 if (SWIG_arg_fail(3)) SWIG_fail
;
12647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12658 arg6
= (long)(SWIG_As_long(obj5
));
12659 if (SWIG_arg_fail(6)) SWIG_fail
;
12664 arg7
= wxString_in_helper(obj6
);
12665 if (arg7
== NULL
) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_From_int((int)(result
));
12721 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_From_int((int)(result
));
12749 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_From_int((int)(result
));
12777 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "val", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail
;
12791 arg2
= (int)(SWIG_As_int(obj1
));
12792 if (SWIG_arg_fail(2)) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->SetValue(arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "minVal", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12820 if (SWIG_arg_fail(1)) SWIG_fail
;
12822 arg2
= (int)(SWIG_As_int(obj1
));
12823 if (SWIG_arg_fail(2)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->SetMin(arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "maxVal", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12853 arg2
= (int)(SWIG_As_int(obj1
));
12854 if (SWIG_arg_fail(2)) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 (arg1
)->SetMax(arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 PyObject
* obj2
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 arg2
= (int)(SWIG_As_int(obj1
));
12887 if (SWIG_arg_fail(2)) SWIG_fail
;
12890 arg3
= (int)(SWIG_As_int(obj2
));
12891 if (SWIG_arg_fail(3)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 (arg1
)->SetRange(arg2
,arg3
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 Py_INCREF(Py_None
); resultobj
= Py_None
;
12907 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12938 wxVisualAttributes result
;
12939 PyObject
* obj0
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "variant", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12947 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 if (!wxPyCheckForApp()) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 wxVisualAttributes
* resultptr
;
12961 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12970 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12973 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12975 return Py_BuildValue((char *)"");
12977 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxWindow
*arg1
= (wxWindow
*) 0 ;
12980 int arg2
= (int) -1 ;
12981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12987 long arg6
= (long) wxSP_ARROW_KEYS
;
12988 int arg7
= (int) 0 ;
12989 int arg8
= (int) 100 ;
12990 int arg9
= (int) 0 ;
12991 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12992 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12993 wxSpinCtrl
*result
;
12994 bool temp3
= false ;
12997 bool temp10
= false ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 PyObject
* obj4
= 0 ;
13003 PyObject
* obj5
= 0 ;
13004 PyObject
* obj6
= 0 ;
13005 PyObject
* obj7
= 0 ;
13006 PyObject
* obj8
= 0 ;
13007 PyObject
* obj9
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail
;
13017 arg2
= (int)(SWIG_As_int(obj1
));
13018 if (SWIG_arg_fail(2)) SWIG_fail
;
13023 arg3
= wxString_in_helper(obj2
);
13024 if (arg3
== NULL
) SWIG_fail
;
13031 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13037 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13042 arg6
= (long)(SWIG_As_long(obj5
));
13043 if (SWIG_arg_fail(6)) SWIG_fail
;
13048 arg7
= (int)(SWIG_As_int(obj6
));
13049 if (SWIG_arg_fail(7)) SWIG_fail
;
13054 arg8
= (int)(SWIG_As_int(obj7
));
13055 if (SWIG_arg_fail(8)) SWIG_fail
;
13060 arg9
= (int)(SWIG_As_int(obj8
));
13061 if (SWIG_arg_fail(9)) SWIG_fail
;
13066 arg10
= wxString_in_helper(obj9
);
13067 if (arg10
== NULL
) SWIG_fail
;
13072 if (!wxPyCheckForApp()) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13102 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSpinCtrl
*result
;
13105 char *kwnames
[] = {
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13111 if (!wxPyCheckForApp()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13125 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13128 wxWindow
*arg2
= (wxWindow
*) 0 ;
13129 int arg3
= (int) -1 ;
13130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13132 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13133 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13134 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13135 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13136 long arg7
= (long) wxSP_ARROW_KEYS
;
13137 int arg8
= (int) 0 ;
13138 int arg9
= (int) 100 ;
13139 int arg10
= (int) 0 ;
13140 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13141 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13143 bool temp4
= false ;
13146 bool temp11
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 PyObject
* obj3
= 0 ;
13151 PyObject
* obj4
= 0 ;
13152 PyObject
* obj5
= 0 ;
13153 PyObject
* obj6
= 0 ;
13154 PyObject
* obj7
= 0 ;
13155 PyObject
* obj8
= 0 ;
13156 PyObject
* obj9
= 0 ;
13157 PyObject
* obj10
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail
;
13165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(2)) SWIG_fail
;
13169 arg3
= (int)(SWIG_As_int(obj2
));
13170 if (SWIG_arg_fail(3)) SWIG_fail
;
13175 arg4
= wxString_in_helper(obj3
);
13176 if (arg4
== NULL
) SWIG_fail
;
13183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13194 arg7
= (long)(SWIG_As_long(obj6
));
13195 if (SWIG_arg_fail(7)) SWIG_fail
;
13200 arg8
= (int)(SWIG_As_int(obj7
));
13201 if (SWIG_arg_fail(8)) SWIG_fail
;
13206 arg9
= (int)(SWIG_As_int(obj8
));
13207 if (SWIG_arg_fail(9)) SWIG_fail
;
13212 arg10
= (int)(SWIG_As_int(obj9
));
13213 if (SWIG_arg_fail(10)) SWIG_fail
;
13218 arg11
= wxString_in_helper(obj10
);
13219 if (arg11
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13255 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_From_int((int)(result
));
13283 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "value", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail
;
13297 arg2
= (int)(SWIG_As_int(obj1
));
13298 if (SWIG_arg_fail(2)) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetValue(arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13314 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13317 wxString
*arg2
= 0 ;
13318 bool temp2
= false ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "text", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail
;
13329 arg2
= wxString_in_helper(obj1
);
13330 if (arg2
== NULL
) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->SetValue((wxString
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13355 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13371 arg2
= (int)(SWIG_As_int(obj1
));
13372 if (SWIG_arg_fail(2)) SWIG_fail
;
13375 arg3
= (int)(SWIG_As_int(obj2
));
13376 if (SWIG_arg_fail(3)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->SetRange(arg2
,arg3
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 Py_INCREF(Py_None
); resultobj
= Py_None
;
13392 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_From_int((int)(result
));
13420 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_From_int((int)(result
));
13448 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 PyObject
* obj2
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "from",(char *) "to", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13462 if (SWIG_arg_fail(1)) SWIG_fail
;
13464 arg2
= (long)(SWIG_As_long(obj1
));
13465 if (SWIG_arg_fail(2)) SWIG_fail
;
13468 arg3
= (long)(SWIG_As_long(obj2
));
13469 if (SWIG_arg_fail(3)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->SetSelection(arg2
,arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 Py_INCREF(Py_None
); resultobj
= Py_None
;
13485 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13488 wxVisualAttributes result
;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "variant", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13497 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13498 if (SWIG_arg_fail(1)) SWIG_fail
;
13502 if (!wxPyCheckForApp()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 wxVisualAttributes
* resultptr
;
13511 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13520 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13523 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13525 return Py_BuildValue((char *)"");
13527 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13530 int arg2
= (int) 0 ;
13531 wxSpinEvent
*result
;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "commandType",(char *) "winid", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13541 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13542 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 arg2
= (int)(SWIG_As_int(obj1
));
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13565 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13576 if (SWIG_arg_fail(1)) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_From_int((int)(result
));
13593 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "pos", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13605 if (SWIG_arg_fail(1)) SWIG_fail
;
13607 arg2
= (int)(SWIG_As_int(obj1
));
13608 if (SWIG_arg_fail(2)) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 (arg1
)->SetPosition(arg2
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 Py_INCREF(Py_None
); resultobj
= Py_None
;
13624 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13627 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13629 return Py_BuildValue((char *)"");
13631 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13637 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13651 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13657 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13671 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxWindow
*arg1
= (wxWindow
*) 0 ;
13674 int arg2
= (int) -1 ;
13675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13681 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13682 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13683 int arg7
= (int) 0 ;
13684 long arg8
= (long) wxRA_HORIZONTAL
;
13685 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13686 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13687 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13688 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13689 wxRadioBox
*result
;
13690 bool temp3
= false ;
13693 bool temp6
= false ;
13694 bool temp10
= false ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 PyObject
* obj3
= 0 ;
13699 PyObject
* obj4
= 0 ;
13700 PyObject
* obj5
= 0 ;
13701 PyObject
* obj6
= 0 ;
13702 PyObject
* obj7
= 0 ;
13703 PyObject
* obj8
= 0 ;
13704 PyObject
* obj9
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 arg2
= (int)(SWIG_As_int(obj1
));
13715 if (SWIG_arg_fail(2)) SWIG_fail
;
13720 arg3
= wxString_in_helper(obj2
);
13721 if (arg3
== NULL
) SWIG_fail
;
13728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13739 if (! PySequence_Check(obj5
)) {
13740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13743 arg6
= new wxArrayString
;
13745 int i
, len
=PySequence_Length(obj5
);
13746 for (i
=0; i
<len
; i
++) {
13747 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13749 PyObject
* str
= PyObject_Unicode(item
);
13751 PyObject
* str
= PyObject_Str(item
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13754 arg6
->Add(Py2wxString(str
));
13762 arg7
= (int)(SWIG_As_int(obj6
));
13763 if (SWIG_arg_fail(7)) SWIG_fail
;
13768 arg8
= (long)(SWIG_As_long(obj7
));
13769 if (SWIG_arg_fail(8)) SWIG_fail
;
13774 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13775 if (SWIG_arg_fail(9)) SWIG_fail
;
13776 if (arg9
== NULL
) {
13777 SWIG_null_ref("wxValidator");
13779 if (SWIG_arg_fail(9)) SWIG_fail
;
13784 arg10
= wxString_in_helper(obj9
);
13785 if (arg10
== NULL
) SWIG_fail
;
13790 if (!wxPyCheckForApp()) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13803 if (temp6
) delete arg6
;
13816 if (temp6
) delete arg6
;
13826 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxRadioBox
*result
;
13829 char *kwnames
[] = {
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13835 if (!wxPyCheckForApp()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (wxRadioBox
*)new wxRadioBox();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13849 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13852 wxWindow
*arg2
= (wxWindow
*) 0 ;
13853 int arg3
= (int) -1 ;
13854 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13856 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13857 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13858 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13859 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13860 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13861 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13862 int arg8
= (int) 0 ;
13863 long arg9
= (long) wxRA_HORIZONTAL
;
13864 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13865 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13866 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13867 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13869 bool temp4
= false ;
13872 bool temp7
= false ;
13873 bool temp11
= false ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 PyObject
* obj2
= 0 ;
13877 PyObject
* obj3
= 0 ;
13878 PyObject
* obj4
= 0 ;
13879 PyObject
* obj5
= 0 ;
13880 PyObject
* obj6
= 0 ;
13881 PyObject
* obj7
= 0 ;
13882 PyObject
* obj8
= 0 ;
13883 PyObject
* obj9
= 0 ;
13884 PyObject
* obj10
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail
;
13892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13893 if (SWIG_arg_fail(2)) SWIG_fail
;
13896 arg3
= (int)(SWIG_As_int(obj2
));
13897 if (SWIG_arg_fail(3)) SWIG_fail
;
13902 arg4
= wxString_in_helper(obj3
);
13903 if (arg4
== NULL
) SWIG_fail
;
13910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13921 if (! PySequence_Check(obj6
)) {
13922 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13925 arg7
= new wxArrayString
;
13927 int i
, len
=PySequence_Length(obj6
);
13928 for (i
=0; i
<len
; i
++) {
13929 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13931 PyObject
* str
= PyObject_Unicode(item
);
13933 PyObject
* str
= PyObject_Str(item
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13936 arg7
->Add(Py2wxString(str
));
13944 arg8
= (int)(SWIG_As_int(obj7
));
13945 if (SWIG_arg_fail(8)) SWIG_fail
;
13950 arg9
= (long)(SWIG_As_long(obj8
));
13951 if (SWIG_arg_fail(9)) SWIG_fail
;
13956 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(10)) SWIG_fail
;
13958 if (arg10
== NULL
) {
13959 SWIG_null_ref("wxValidator");
13961 if (SWIG_arg_fail(10)) SWIG_fail
;
13966 arg11
= wxString_in_helper(obj10
);
13967 if (arg11
== NULL
) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 if (temp7
) delete arg7
;
13999 if (temp7
) delete arg7
;
14009 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char *kwnames
[] = {
14016 (char *) "self",(char *) "n", NULL
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14021 if (SWIG_arg_fail(1)) SWIG_fail
;
14023 arg2
= (int)(SWIG_As_int(obj1
));
14024 if (SWIG_arg_fail(2)) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->SetSelection(arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14040 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
14050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= SWIG_From_int((int)(result
));
14068 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14100 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14103 wxString
*arg2
= 0 ;
14105 bool temp2
= false ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "s", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 arg2
= wxString_in_helper(obj1
);
14117 if (arg2
== NULL
) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14144 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_From_int((int)(result
));
14172 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14175 wxString
*arg2
= 0 ;
14177 bool temp2
= false ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "s", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail
;
14188 arg2
= wxString_in_helper(obj1
);
14189 if (arg2
== NULL
) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_From_int((int)(result
));
14216 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 PyObject
* obj1
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self",(char *) "n", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14229 if (SWIG_arg_fail(1)) SWIG_fail
;
14231 arg2
= (int)(SWIG_As_int(obj1
));
14232 if (SWIG_arg_fail(2)) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14254 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14258 wxString
*arg3
= 0 ;
14259 bool temp3
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 PyObject
* obj2
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "n",(char *) "label", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14269 if (SWIG_arg_fail(1)) SWIG_fail
;
14271 arg2
= (int)(SWIG_As_int(obj1
));
14272 if (SWIG_arg_fail(2)) SWIG_fail
;
14275 arg3
= wxString_in_helper(obj2
);
14276 if (arg3
== NULL
) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 Py_INCREF(Py_None
); resultobj
= Py_None
;
14301 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14305 bool arg3
= (bool) true ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 PyObject
* obj2
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self",(char *) "n",(char *) "enable", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail
;
14317 arg2
= (int)(SWIG_As_int(obj1
));
14318 if (SWIG_arg_fail(2)) SWIG_fail
;
14322 arg3
= (bool)(SWIG_As_bool(obj2
));
14323 if (SWIG_arg_fail(3)) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 (arg1
)->Enable(arg2
,arg3
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14344 bool arg3
= (bool) true ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 PyObject
* obj2
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "n",(char *) "show", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14354 if (SWIG_arg_fail(1)) SWIG_fail
;
14356 arg2
= (int)(SWIG_As_int(obj1
));
14357 if (SWIG_arg_fail(2)) SWIG_fail
;
14361 arg3
= (bool)(SWIG_As_bool(obj2
));
14362 if (SWIG_arg_fail(3)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->Show(arg2
,arg3
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int((int)(result
));
14407 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_From_int((int)(result
));
14435 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 PyObject
* obj3
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14452 if (SWIG_arg_fail(1)) SWIG_fail
;
14454 arg2
= (int)(SWIG_As_int(obj1
));
14455 if (SWIG_arg_fail(2)) SWIG_fail
;
14458 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14459 if (SWIG_arg_fail(3)) SWIG_fail
;
14462 arg4
= (long)(SWIG_As_long(obj3
));
14463 if (SWIG_arg_fail(4)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_From_int((int)(result
));
14481 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14484 wxVisualAttributes result
;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "variant", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14493 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14498 if (!wxPyCheckForApp()) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 wxVisualAttributes
* resultptr
;
14507 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14516 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14519 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14521 return Py_BuildValue((char *)"");
14523 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxWindow
*arg1
= (wxWindow
*) 0 ;
14526 int arg2
= (int) -1 ;
14527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14533 long arg6
= (long) 0 ;
14534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14536 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14538 wxRadioButton
*result
;
14539 bool temp3
= false ;
14542 bool temp8
= false ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 PyObject
* obj2
= 0 ;
14546 PyObject
* obj3
= 0 ;
14547 PyObject
* obj4
= 0 ;
14548 PyObject
* obj5
= 0 ;
14549 PyObject
* obj6
= 0 ;
14550 PyObject
* obj7
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail
;
14560 arg2
= (int)(SWIG_As_int(obj1
));
14561 if (SWIG_arg_fail(2)) SWIG_fail
;
14566 arg3
= wxString_in_helper(obj2
);
14567 if (arg3
== NULL
) SWIG_fail
;
14574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14585 arg6
= (long)(SWIG_As_long(obj5
));
14586 if (SWIG_arg_fail(6)) SWIG_fail
;
14591 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14592 if (SWIG_arg_fail(7)) SWIG_fail
;
14593 if (arg7
== NULL
) {
14594 SWIG_null_ref("wxValidator");
14596 if (SWIG_arg_fail(7)) SWIG_fail
;
14601 arg8
= wxString_in_helper(obj7
);
14602 if (arg8
== NULL
) SWIG_fail
;
14607 if (!wxPyCheckForApp()) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14637 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxRadioButton
*result
;
14640 char *kwnames
[] = {
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14646 if (!wxPyCheckForApp()) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (wxRadioButton
*)new wxRadioButton();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14660 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14663 wxWindow
*arg2
= (wxWindow
*) 0 ;
14664 int arg3
= (int) -1 ;
14665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14667 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14668 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14669 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14670 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14671 long arg7
= (long) 0 ;
14672 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14673 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14674 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14675 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14677 bool temp4
= false ;
14680 bool temp9
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 PyObject
* obj4
= 0 ;
14686 PyObject
* obj5
= 0 ;
14687 PyObject
* obj6
= 0 ;
14688 PyObject
* obj7
= 0 ;
14689 PyObject
* obj8
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail
;
14697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(2)) SWIG_fail
;
14701 arg3
= (int)(SWIG_As_int(obj2
));
14702 if (SWIG_arg_fail(3)) SWIG_fail
;
14707 arg4
= wxString_in_helper(obj3
);
14708 if (arg4
== NULL
) SWIG_fail
;
14715 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14721 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14726 arg7
= (long)(SWIG_As_long(obj6
));
14727 if (SWIG_arg_fail(7)) SWIG_fail
;
14732 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14733 if (SWIG_arg_fail(8)) SWIG_fail
;
14734 if (arg8
== NULL
) {
14735 SWIG_null_ref("wxValidator");
14737 if (SWIG_arg_fail(8)) SWIG_fail
;
14742 arg9
= wxString_in_helper(obj8
);
14743 if (arg9
== NULL
) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14779 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (bool)(arg1
)->GetValue();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "value", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 arg2
= (bool)(SWIG_As_bool(obj1
));
14822 if (SWIG_arg_fail(2)) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetValue(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14841 wxVisualAttributes result
;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "variant", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14850 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14851 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 if (!wxPyCheckForApp()) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14863 wxVisualAttributes
* resultptr
;
14864 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14873 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14876 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14878 return Py_BuildValue((char *)"");
14880 static int _wrap_SliderNameStr_set(PyObject
*) {
14881 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14886 static PyObject
*_wrap_SliderNameStr_get(void) {
14891 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14893 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14900 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxWindow
*arg1
= (wxWindow
*) 0 ;
14903 int arg2
= (int) -1 ;
14904 int arg3
= (int) 0 ;
14905 int arg4
= (int) 0 ;
14906 int arg5
= (int) 100 ;
14907 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14908 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14909 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14910 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14911 long arg8
= (long) wxSL_HORIZONTAL
;
14912 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14913 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14914 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14915 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14919 bool temp10
= false ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 PyObject
* obj2
= 0 ;
14923 PyObject
* obj3
= 0 ;
14924 PyObject
* obj4
= 0 ;
14925 PyObject
* obj5
= 0 ;
14926 PyObject
* obj6
= 0 ;
14927 PyObject
* obj7
= 0 ;
14928 PyObject
* obj8
= 0 ;
14929 PyObject
* obj9
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 arg2
= (int)(SWIG_As_int(obj1
));
14940 if (SWIG_arg_fail(2)) SWIG_fail
;
14945 arg3
= (int)(SWIG_As_int(obj2
));
14946 if (SWIG_arg_fail(3)) SWIG_fail
;
14951 arg4
= (int)(SWIG_As_int(obj3
));
14952 if (SWIG_arg_fail(4)) SWIG_fail
;
14957 arg5
= (int)(SWIG_As_int(obj4
));
14958 if (SWIG_arg_fail(5)) SWIG_fail
;
14964 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14970 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14975 arg8
= (long)(SWIG_As_long(obj7
));
14976 if (SWIG_arg_fail(8)) SWIG_fail
;
14981 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14982 if (SWIG_arg_fail(9)) SWIG_fail
;
14983 if (arg9
== NULL
) {
14984 SWIG_null_ref("wxValidator");
14986 if (SWIG_arg_fail(9)) SWIG_fail
;
14991 arg10
= wxString_in_helper(obj9
);
14992 if (arg10
== NULL
) SWIG_fail
;
14997 if (!wxPyCheckForApp()) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15019 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15022 char *kwnames
[] = {
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
15028 if (!wxPyCheckForApp()) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (wxSlider
*)new wxSlider();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
15042 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxSlider
*arg1
= (wxSlider
*) 0 ;
15045 wxWindow
*arg2
= (wxWindow
*) 0 ;
15046 int arg3
= (int) -1 ;
15047 int arg4
= (int) 0 ;
15048 int arg5
= (int) 0 ;
15049 int arg6
= (int) 100 ;
15050 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15051 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15052 wxSize
const &arg8_defvalue
= wxDefaultSize
;
15053 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
15054 long arg9
= (long) wxSL_HORIZONTAL
;
15055 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15056 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15057 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
15058 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15062 bool temp11
= false ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 PyObject
* obj3
= 0 ;
15067 PyObject
* obj4
= 0 ;
15068 PyObject
* obj5
= 0 ;
15069 PyObject
* obj6
= 0 ;
15070 PyObject
* obj7
= 0 ;
15071 PyObject
* obj8
= 0 ;
15072 PyObject
* obj9
= 0 ;
15073 PyObject
* obj10
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(2)) SWIG_fail
;
15085 arg3
= (int)(SWIG_As_int(obj2
));
15086 if (SWIG_arg_fail(3)) SWIG_fail
;
15091 arg4
= (int)(SWIG_As_int(obj3
));
15092 if (SWIG_arg_fail(4)) SWIG_fail
;
15097 arg5
= (int)(SWIG_As_int(obj4
));
15098 if (SWIG_arg_fail(5)) SWIG_fail
;
15103 arg6
= (int)(SWIG_As_int(obj5
));
15104 if (SWIG_arg_fail(6)) SWIG_fail
;
15110 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15116 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15121 arg9
= (long)(SWIG_As_long(obj8
));
15122 if (SWIG_arg_fail(9)) SWIG_fail
;
15127 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15128 if (SWIG_arg_fail(10)) SWIG_fail
;
15129 if (arg10
== NULL
) {
15130 SWIG_null_ref("wxValidator");
15132 if (SWIG_arg_fail(10)) SWIG_fail
;
15137 arg11
= wxString_in_helper(obj10
);
15138 if (arg11
== NULL
) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15166 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxSlider
*arg1
= (wxSlider
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15177 if (SWIG_arg_fail(1)) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= SWIG_From_int((int)(result
));
15194 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxSlider
*arg1
= (wxSlider
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "value", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 arg2
= (int)(SWIG_As_int(obj1
));
15209 if (SWIG_arg_fail(2)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetValue(arg2
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxSlider
*arg1
= (wxSlider
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 arg2
= (int)(SWIG_As_int(obj1
));
15242 if (SWIG_arg_fail(2)) SWIG_fail
;
15245 arg3
= (int)(SWIG_As_int(obj2
));
15246 if (SWIG_arg_fail(3)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->SetRange(arg2
,arg3
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxSlider
*arg1
= (wxSlider
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_From_int((int)(result
));
15290 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxSlider
*arg1
= (wxSlider
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_From_int((int)(result
));
15318 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxSlider
*arg1
= (wxSlider
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "minValue", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 arg2
= (int)(SWIG_As_int(obj1
));
15333 if (SWIG_arg_fail(2)) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->SetMin(arg2
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxSlider
*arg1
= (wxSlider
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "maxValue", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail
;
15363 arg2
= (int)(SWIG_As_int(obj1
));
15364 if (SWIG_arg_fail(2)) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 (arg1
)->SetMax(arg2
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxSlider
*arg1
= (wxSlider
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "lineSize", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail
;
15394 arg2
= (int)(SWIG_As_int(obj1
));
15395 if (SWIG_arg_fail(2)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->SetLineSize(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxSlider
*arg1
= (wxSlider
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self",(char *) "pageSize", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail
;
15425 arg2
= (int)(SWIG_As_int(obj1
));
15426 if (SWIG_arg_fail(2)) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetPageSize(arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 Py_INCREF(Py_None
); resultobj
= Py_None
;
15442 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxSlider
*arg1
= (wxSlider
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int((int)(result
));
15470 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxSlider
*arg1
= (wxSlider
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_From_int((int)(result
));
15498 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxSlider
*arg1
= (wxSlider
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "lenPixels", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail
;
15512 arg2
= (int)(SWIG_As_int(obj1
));
15513 if (SWIG_arg_fail(2)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->SetThumbLength(arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxSlider
*arg1
= (wxSlider
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15540 if (SWIG_arg_fail(1)) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_From_int((int)(result
));
15557 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxSlider
*arg1
= (wxSlider
*) 0 ;
15561 int arg3
= (int) 1 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 PyObject
* obj2
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self",(char *) "n",(char *) "pos", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail
;
15573 arg2
= (int)(SWIG_As_int(obj1
));
15574 if (SWIG_arg_fail(2)) SWIG_fail
;
15578 arg3
= (int)(SWIG_As_int(obj2
));
15579 if (SWIG_arg_fail(3)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->SetTickFreq(arg2
,arg3
);
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxSlider
*arg1
= (wxSlider
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15607 if (SWIG_arg_fail(1)) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_From_int((int)(result
));
15624 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxSlider
*arg1
= (wxSlider
*) 0 ;
15627 PyObject
* obj0
= 0 ;
15628 char *kwnames
[] = {
15629 (char *) "self", NULL
15632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15634 if (SWIG_arg_fail(1)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 (arg1
)->ClearTicks();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15642 Py_INCREF(Py_None
); resultobj
= Py_None
;
15649 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxSlider
*arg1
= (wxSlider
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "tickPos", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 arg2
= (int)(SWIG_As_int(obj1
));
15664 if (SWIG_arg_fail(2)) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 (arg1
)->SetTick(arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15680 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxSlider
*arg1
= (wxSlider
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15690 if (SWIG_arg_fail(1)) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->ClearSel();
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 Py_INCREF(Py_None
); resultobj
= Py_None
;
15705 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxSlider
*arg1
= (wxSlider
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_From_int((int)(result
));
15733 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxSlider
*arg1
= (wxSlider
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_From_int((int)(result
));
15761 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxSlider
*arg1
= (wxSlider
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 PyObject
* obj2
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "self",(char *) "min",(char *) "max", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15775 if (SWIG_arg_fail(1)) SWIG_fail
;
15777 arg2
= (int)(SWIG_As_int(obj1
));
15778 if (SWIG_arg_fail(2)) SWIG_fail
;
15781 arg3
= (int)(SWIG_As_int(obj2
));
15782 if (SWIG_arg_fail(3)) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 (arg1
)->SetSelection(arg2
,arg3
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15801 wxVisualAttributes result
;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "variant", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15810 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15811 if (SWIG_arg_fail(1)) SWIG_fail
;
15815 if (!wxPyCheckForApp()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 wxVisualAttributes
* resultptr
;
15824 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15833 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15836 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15838 return Py_BuildValue((char *)"");
15840 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15841 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15846 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15851 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15853 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15860 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxWindow
*arg1
= (wxWindow
*) 0 ;
15863 int arg2
= (int) -1 ;
15864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15870 long arg6
= (long) 0 ;
15871 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15872 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15873 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15874 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15875 wxToggleButton
*result
;
15876 bool temp3
= false ;
15879 bool temp8
= false ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 PyObject
* obj2
= 0 ;
15883 PyObject
* obj3
= 0 ;
15884 PyObject
* obj4
= 0 ;
15885 PyObject
* obj5
= 0 ;
15886 PyObject
* obj6
= 0 ;
15887 PyObject
* obj7
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15894 if (SWIG_arg_fail(1)) SWIG_fail
;
15897 arg2
= (int)(SWIG_As_int(obj1
));
15898 if (SWIG_arg_fail(2)) SWIG_fail
;
15903 arg3
= wxString_in_helper(obj2
);
15904 if (arg3
== NULL
) SWIG_fail
;
15911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15922 arg6
= (long)(SWIG_As_long(obj5
));
15923 if (SWIG_arg_fail(6)) SWIG_fail
;
15928 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15929 if (SWIG_arg_fail(7)) SWIG_fail
;
15930 if (arg7
== NULL
) {
15931 SWIG_null_ref("wxValidator");
15933 if (SWIG_arg_fail(7)) SWIG_fail
;
15938 arg8
= wxString_in_helper(obj7
);
15939 if (arg8
== NULL
) SWIG_fail
;
15944 if (!wxPyCheckForApp()) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15974 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxToggleButton
*result
;
15977 char *kwnames
[] = {
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15983 if (!wxPyCheckForApp()) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (wxToggleButton
*)new wxToggleButton();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15997 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16000 wxWindow
*arg2
= (wxWindow
*) 0 ;
16001 int arg3
= (int) -1 ;
16002 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16003 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16008 long arg7
= (long) 0 ;
16009 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16010 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16011 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
16012 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16014 bool temp4
= false ;
16017 bool temp9
= false ;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 PyObject
* obj2
= 0 ;
16021 PyObject
* obj3
= 0 ;
16022 PyObject
* obj4
= 0 ;
16023 PyObject
* obj5
= 0 ;
16024 PyObject
* obj6
= 0 ;
16025 PyObject
* obj7
= 0 ;
16026 PyObject
* obj8
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16033 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16035 if (SWIG_arg_fail(2)) SWIG_fail
;
16038 arg3
= (int)(SWIG_As_int(obj2
));
16039 if (SWIG_arg_fail(3)) SWIG_fail
;
16044 arg4
= wxString_in_helper(obj3
);
16045 if (arg4
== NULL
) SWIG_fail
;
16052 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16058 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16063 arg7
= (long)(SWIG_As_long(obj6
));
16064 if (SWIG_arg_fail(7)) SWIG_fail
;
16069 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(8)) SWIG_fail
;
16071 if (arg8
== NULL
) {
16072 SWIG_null_ref("wxValidator");
16074 if (SWIG_arg_fail(8)) SWIG_fail
;
16079 arg9
= wxString_in_helper(obj8
);
16080 if (arg9
== NULL
) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "value", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= (bool)(SWIG_As_bool(obj1
));
16131 if (SWIG_arg_fail(2)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 (arg1
)->SetValue(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16175 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16178 wxString
*arg2
= 0 ;
16179 bool temp2
= false ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "label", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 arg2
= wxString_in_helper(obj1
);
16191 if (arg2
== NULL
) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 (arg1
)->SetLabel((wxString
const &)*arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 Py_INCREF(Py_None
); resultobj
= Py_None
;
16216 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
;
16218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16219 wxVisualAttributes result
;
16220 PyObject
* obj0
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "variant", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16228 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16229 if (SWIG_arg_fail(1)) SWIG_fail
;
16233 if (!wxPyCheckForApp()) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 wxVisualAttributes
* resultptr
;
16242 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16251 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16254 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16256 return Py_BuildValue((char *)"");
16258 static int _wrap_NotebookNameStr_set(PyObject
*) {
16259 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16264 static PyObject
*_wrap_NotebookNameStr_get(void) {
16269 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16271 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16278 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16306 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self",(char *) "n", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16322 if (SWIG_arg_fail(2)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= wxPyMake_wxObject(result
, 0);
16340 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= wxPyMake_wxObject(result
, 0);
16368 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_From_int((int)(result
));
16396 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16400 wxString
*arg3
= 0 ;
16402 bool temp3
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "n",(char *) "strText", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16415 if (SWIG_arg_fail(2)) SWIG_fail
;
16418 arg3
= wxString_in_helper(obj2
);
16419 if (arg3
== NULL
) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16446 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "n", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16462 if (SWIG_arg_fail(2)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16484 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16487 wxImageList
*arg2
= (wxImageList
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "imageList", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(1)) SWIG_fail
;
16497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16498 if (SWIG_arg_fail(2)) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->SetImageList(arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 Py_INCREF(Py_None
); resultobj
= Py_None
;
16513 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16516 wxImageList
*arg2
= (wxImageList
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "imageList", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16527 if (SWIG_arg_fail(2)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 (arg1
)->AssignImageList(arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 Py_INCREF(Py_None
); resultobj
= Py_None
;
16542 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16545 wxImageList
*result
;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= wxPyMake_wxObject(result
, 0);
16570 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "n", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16583 if (SWIG_arg_fail(1)) SWIG_fail
;
16585 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16586 if (SWIG_arg_fail(2)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_From_int((int)(result
));
16604 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "n",(char *) "imageId", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail
;
16621 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16622 if (SWIG_arg_fail(2)) SWIG_fail
;
16625 arg3
= (int)(SWIG_As_int(obj2
));
16626 if (SWIG_arg_fail(3)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16644 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "size", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16657 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 Py_INCREF(Py_None
); resultobj
= Py_None
;
16676 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "sizePage", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 wxSize
* resultptr
;
16704 resultptr
= new wxSize((wxSize
&)(result
));
16705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16713 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "n", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16728 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16729 if (SWIG_arg_fail(2)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (bool)(arg1
)->DeletePage(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16747 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "n", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16760 if (SWIG_arg_fail(1)) SWIG_fail
;
16762 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16763 if (SWIG_arg_fail(2)) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (bool)(arg1
)->RemovePage(arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (bool)(arg1
)->DeleteAllPages();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16809 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16812 wxWindow
*arg2
= (wxWindow
*) 0 ;
16813 wxString
*arg3
= 0 ;
16814 bool arg4
= (bool) false ;
16815 int arg5
= (int) -1 ;
16817 bool temp3
= false ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 PyObject
* obj2
= 0 ;
16821 PyObject
* obj3
= 0 ;
16822 PyObject
* obj4
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16831 if (SWIG_arg_fail(2)) SWIG_fail
;
16833 arg3
= wxString_in_helper(obj2
);
16834 if (arg3
== NULL
) SWIG_fail
;
16839 arg4
= (bool)(SWIG_As_bool(obj3
));
16840 if (SWIG_arg_fail(4)) SWIG_fail
;
16845 arg5
= (int)(SWIG_As_int(obj4
));
16846 if (SWIG_arg_fail(5)) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16877 wxWindow
*arg3
= (wxWindow
*) 0 ;
16878 wxString
*arg4
= 0 ;
16879 bool arg5
= (bool) false ;
16880 int arg6
= (int) -1 ;
16882 bool temp4
= false ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 PyObject
* obj2
= 0 ;
16886 PyObject
* obj3
= 0 ;
16887 PyObject
* obj4
= 0 ;
16888 PyObject
* obj5
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16898 if (SWIG_arg_fail(2)) SWIG_fail
;
16900 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(3)) SWIG_fail
;
16903 arg4
= wxString_in_helper(obj3
);
16904 if (arg4
== NULL
) SWIG_fail
;
16909 arg5
= (bool)(SWIG_As_bool(obj4
));
16910 if (SWIG_arg_fail(5)) SWIG_fail
;
16915 arg6
= (int)(SWIG_As_int(obj5
));
16916 if (SWIG_arg_fail(6)) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16943 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self",(char *) "n", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16959 if (SWIG_arg_fail(2)) SWIG_fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (int)(arg1
)->SetSelection(arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_From_int((int)(result
));
16977 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16980 bool arg2
= (bool) true ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "forward", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail
;
16992 arg2
= (bool)(SWIG_As_bool(obj1
));
16993 if (SWIG_arg_fail(2)) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->AdvanceSelection(arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 Py_INCREF(Py_None
); resultobj
= Py_None
;
17010 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17013 wxVisualAttributes result
;
17014 PyObject
* obj0
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "variant", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17022 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17023 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 if (!wxPyCheckForApp()) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 wxVisualAttributes
* resultptr
;
17036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17045 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
17047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17048 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
17050 return Py_BuildValue((char *)"");
17052 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17055 int arg2
= (int) 0 ;
17056 int arg3
= (int) -1 ;
17057 int arg4
= (int) -1 ;
17058 wxBookCtrlBaseEvent
*result
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 PyObject
* obj3
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17070 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17076 arg2
= (int)(SWIG_As_int(obj1
));
17077 if (SWIG_arg_fail(2)) SWIG_fail
;
17082 arg3
= (int)(SWIG_As_int(obj2
));
17083 if (SWIG_arg_fail(3)) SWIG_fail
;
17088 arg4
= (int)(SWIG_As_int(obj3
));
17089 if (SWIG_arg_fail(4)) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17106 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_From_int((int)(result
));
17134 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "nSel", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17148 arg2
= (int)(SWIG_As_int(obj1
));
17149 if (SWIG_arg_fail(2)) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 (arg1
)->SetSelection(arg2
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 Py_INCREF(Py_None
); resultobj
= Py_None
;
17165 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_From_int((int)(result
));
17193 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "nOldSel", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17207 arg2
= (int)(SWIG_As_int(obj1
));
17208 if (SWIG_arg_fail(2)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 (arg1
)->SetOldSelection(arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17227 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17229 return Py_BuildValue((char *)"");
17231 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxWindow
*arg1
= (wxWindow
*) 0 ;
17234 int arg2
= (int) -1 ;
17235 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17236 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17237 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17238 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17239 long arg5
= (long) 0 ;
17240 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17241 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17242 wxNotebook
*result
;
17245 bool temp6
= false ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 PyObject
* obj4
= 0 ;
17251 PyObject
* obj5
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17258 if (SWIG_arg_fail(1)) SWIG_fail
;
17261 arg2
= (int)(SWIG_As_int(obj1
));
17262 if (SWIG_arg_fail(2)) SWIG_fail
;
17268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17279 arg5
= (long)(SWIG_As_long(obj4
));
17280 if (SWIG_arg_fail(5)) SWIG_fail
;
17285 arg6
= wxString_in_helper(obj5
);
17286 if (arg6
== NULL
) SWIG_fail
;
17291 if (!wxPyCheckForApp()) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17313 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxNotebook
*result
;
17316 char *kwnames
[] = {
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17322 if (!wxPyCheckForApp()) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxNotebook
*)new wxNotebook();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17336 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17339 wxWindow
*arg2
= (wxWindow
*) 0 ;
17340 int arg3
= (int) -1 ;
17341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17345 long arg6
= (long) 0 ;
17346 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17347 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17351 bool temp7
= false ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 PyObject
* obj3
= 0 ;
17356 PyObject
* obj4
= 0 ;
17357 PyObject
* obj5
= 0 ;
17358 PyObject
* obj6
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(2)) SWIG_fail
;
17370 arg3
= (int)(SWIG_As_int(obj2
));
17371 if (SWIG_arg_fail(3)) SWIG_fail
;
17377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17388 arg6
= (long)(SWIG_As_long(obj5
));
17389 if (SWIG_arg_fail(6)) SWIG_fail
;
17394 arg7
= wxString_in_helper(obj6
);
17395 if (arg7
== NULL
) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17423 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_From_int((int)(result
));
17451 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "padding", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail
;
17467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "sz", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 Py_INCREF(Py_None
); resultobj
= Py_None
;
17515 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17518 wxPoint
*arg2
= 0 ;
17519 long *arg3
= (long *) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "pt", NULL
17530 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_From_int((int)(result
));
17548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17549 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17556 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self",(char *) "sizePage", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17570 if (SWIG_arg_fail(1)) SWIG_fail
;
17573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 wxSize
* resultptr
;
17584 resultptr
= new wxSize((wxSize
&)(result
));
17585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17593 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17596 wxVisualAttributes result
;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "variant", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17605 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17606 if (SWIG_arg_fail(1)) SWIG_fail
;
17610 if (!wxPyCheckForApp()) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 wxVisualAttributes
* resultptr
;
17619 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17628 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17631 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17633 return Py_BuildValue((char *)"");
17635 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17638 int arg2
= (int) 0 ;
17639 int arg3
= (int) -1 ;
17640 int arg4
= (int) -1 ;
17641 wxNotebookEvent
*result
;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 PyObject
* obj2
= 0 ;
17645 PyObject
* obj3
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17653 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17654 if (SWIG_arg_fail(1)) SWIG_fail
;
17659 arg2
= (int)(SWIG_As_int(obj1
));
17660 if (SWIG_arg_fail(2)) SWIG_fail
;
17665 arg3
= (int)(SWIG_As_int(obj2
));
17666 if (SWIG_arg_fail(3)) SWIG_fail
;
17671 arg4
= (int)(SWIG_As_int(obj3
));
17672 if (SWIG_arg_fail(4)) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17689 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17692 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17694 return Py_BuildValue((char *)"");
17696 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxWindow
*arg1
= (wxWindow
*) 0 ;
17699 int arg2
= (int) -1 ;
17700 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17701 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17702 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17703 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17704 long arg5
= (long) 0 ;
17705 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17706 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17707 wxListbook
*result
;
17710 bool temp6
= false ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 PyObject
* obj3
= 0 ;
17715 PyObject
* obj4
= 0 ;
17716 PyObject
* obj5
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 arg2
= (int)(SWIG_As_int(obj1
));
17727 if (SWIG_arg_fail(2)) SWIG_fail
;
17733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17744 arg5
= (long)(SWIG_As_long(obj4
));
17745 if (SWIG_arg_fail(5)) SWIG_fail
;
17750 arg6
= wxString_in_helper(obj5
);
17751 if (arg6
== NULL
) SWIG_fail
;
17756 if (!wxPyCheckForApp()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17778 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxListbook
*result
;
17781 char *kwnames
[] = {
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17787 if (!wxPyCheckForApp()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (wxListbook
*)new wxListbook();
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17801 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxListbook
*arg1
= (wxListbook
*) 0 ;
17804 wxWindow
*arg2
= (wxWindow
*) 0 ;
17805 int arg3
= (int) -1 ;
17806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17810 long arg6
= (long) 0 ;
17811 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17816 bool temp7
= false ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 PyObject
* obj3
= 0 ;
17821 PyObject
* obj4
= 0 ;
17822 PyObject
* obj5
= 0 ;
17823 PyObject
* obj6
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17830 if (SWIG_arg_fail(1)) SWIG_fail
;
17831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17832 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 arg3
= (int)(SWIG_As_int(obj2
));
17836 if (SWIG_arg_fail(3)) SWIG_fail
;
17842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17853 arg6
= (long)(SWIG_As_long(obj5
));
17854 if (SWIG_arg_fail(6)) SWIG_fail
;
17859 arg7
= wxString_in_helper(obj6
);
17860 if (arg7
== NULL
) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17888 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxListbook
*arg1
= (wxListbook
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17899 if (SWIG_arg_fail(1)) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17916 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxListbook
*arg1
= (wxListbook
*) 0 ;
17919 wxListView
*result
;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17927 if (SWIG_arg_fail(1)) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (wxListView
*)(arg1
)->GetListView();
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17942 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17945 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17947 return Py_BuildValue((char *)"");
17949 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17952 int arg2
= (int) 0 ;
17953 int arg3
= (int) -1 ;
17954 int arg4
= (int) -1 ;
17955 wxListbookEvent
*result
;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 PyObject
* obj2
= 0 ;
17959 PyObject
* obj3
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17967 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17968 if (SWIG_arg_fail(1)) SWIG_fail
;
17973 arg2
= (int)(SWIG_As_int(obj1
));
17974 if (SWIG_arg_fail(2)) SWIG_fail
;
17979 arg3
= (int)(SWIG_As_int(obj2
));
17980 if (SWIG_arg_fail(3)) SWIG_fail
;
17985 arg4
= (int)(SWIG_As_int(obj3
));
17986 if (SWIG_arg_fail(4)) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
18003 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
18005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18006 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
18008 return Py_BuildValue((char *)"");
18010 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxWindow
*arg1
= (wxWindow
*) 0 ;
18014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18018 long arg5
= (long) 0 ;
18019 wxString
const &arg6_defvalue
= wxPyEmptyString
;
18020 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18021 wxChoicebook
*result
;
18024 bool temp6
= false ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 PyObject
* obj2
= 0 ;
18028 PyObject
* obj3
= 0 ;
18029 PyObject
* obj4
= 0 ;
18030 PyObject
* obj5
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail
;
18039 arg2
= (int)(SWIG_As_int(obj1
));
18040 if (SWIG_arg_fail(2)) SWIG_fail
;
18045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18051 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18056 arg5
= (long)(SWIG_As_long(obj4
));
18057 if (SWIG_arg_fail(5)) SWIG_fail
;
18062 arg6
= wxString_in_helper(obj5
);
18063 if (arg6
== NULL
) SWIG_fail
;
18068 if (!wxPyCheckForApp()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18090 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxChoicebook
*result
;
18093 char *kwnames
[] = {
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18099 if (!wxPyCheckForApp()) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (wxChoicebook
*)new wxChoicebook();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18113 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18116 wxWindow
*arg2
= (wxWindow
*) 0 ;
18118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18122 long arg6
= (long) 0 ;
18123 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18128 bool temp7
= false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 PyObject
* obj2
= 0 ;
18132 PyObject
* obj3
= 0 ;
18133 PyObject
* obj4
= 0 ;
18134 PyObject
* obj5
= 0 ;
18135 PyObject
* obj6
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18142 if (SWIG_arg_fail(1)) SWIG_fail
;
18143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18144 if (SWIG_arg_fail(2)) SWIG_fail
;
18146 arg3
= (int)(SWIG_As_int(obj2
));
18147 if (SWIG_arg_fail(3)) SWIG_fail
;
18152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18163 arg6
= (long)(SWIG_As_long(obj5
));
18164 if (SWIG_arg_fail(6)) SWIG_fail
;
18169 arg7
= wxString_in_helper(obj6
);
18170 if (arg7
== NULL
) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18198 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18209 if (SWIG_arg_fail(1)) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18226 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (bool)(arg1
)->DeleteAllPages();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18254 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18257 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18259 return Py_BuildValue((char *)"");
18261 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18264 int arg2
= (int) 0 ;
18265 int arg3
= (int) -1 ;
18266 int arg4
= (int) -1 ;
18267 wxChoicebookEvent
*result
;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 PyObject
* obj2
= 0 ;
18271 PyObject
* obj3
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18279 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18280 if (SWIG_arg_fail(1)) SWIG_fail
;
18285 arg2
= (int)(SWIG_As_int(obj1
));
18286 if (SWIG_arg_fail(2)) SWIG_fail
;
18291 arg3
= (int)(SWIG_As_int(obj2
));
18292 if (SWIG_arg_fail(3)) SWIG_fail
;
18297 arg4
= (int)(SWIG_As_int(obj3
));
18298 if (SWIG_arg_fail(4)) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18315 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18318 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18320 return Py_BuildValue((char *)"");
18322 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18325 wxBookCtrlSizer
*result
;
18326 PyObject
* obj0
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "nb", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18348 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 (arg1
)->RecalcSizes();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18384 if (SWIG_arg_fail(1)) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (arg1
)->CalcMin();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 wxSize
* resultptr
;
18394 resultptr
= new wxSize((wxSize
&)(result
));
18395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18403 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18406 wxBookCtrlBase
*result
;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18429 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18432 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18434 return Py_BuildValue((char *)"");
18436 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18439 wxNotebookSizer
*result
;
18440 PyObject
* obj0
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "nb", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18462 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->RecalcSizes();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (arg1
)->CalcMin();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 wxSize
* resultptr
;
18508 resultptr
= new wxSize((wxSize
&)(result
));
18509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18517 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18520 wxNotebook
*result
;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= wxPyMake_wxObject(result
, 0);
18545 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18550 return Py_BuildValue((char *)"");
18552 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (int)(arg1
)->GetId();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_From_int((int)(result
));
18580 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (wxControl
*)(arg1
)->GetControl();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= wxPyMake_wxObject(result
, 0);
18608 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18611 wxToolBarBase
*result
;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= wxPyMake_wxObject(result
, 0);
18636 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
;
18638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18647 if (SWIG_arg_fail(1)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (int)(arg1
)->IsButton();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_From_int((int)(result
));
18664 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (int)(arg1
)->IsControl();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_From_int((int)(result
));
18692 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18703 if (SWIG_arg_fail(1)) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (int)(arg1
)->IsSeparator();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_From_int((int)(result
));
18720 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18731 if (SWIG_arg_fail(1)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)(arg1
)->GetStyle();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_From_int((int)(result
));
18748 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (wxItemKind
)(arg1
)->GetKind();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_From_int((result
));
18774 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (bool)(arg1
)->IsEnabled();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18802 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->IsToggled();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18830 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18841 if (SWIG_arg_fail(1)) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (bool)(arg1
)->CanBeToggled();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18858 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18869 if (SWIG_arg_fail(1)) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18874 result
= (wxBitmap
*) &_result_ref
;
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 wxBitmap
* resultptr
= new wxBitmap(*result
);
18882 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18890 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18901 if (SWIG_arg_fail(1)) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18906 result
= (wxBitmap
*) &_result_ref
;
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 wxBitmap
* resultptr
= new wxBitmap(*result
);
18914 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18922 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18933 if (SWIG_arg_fail(1)) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 result
= (arg1
)->GetBitmap();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18942 wxBitmap
* resultptr
;
18943 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18952 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (arg1
)->GetLabel();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18984 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18995 if (SWIG_arg_fail(1)) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (arg1
)->GetShortHelp();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19016 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
19026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19027 if (SWIG_arg_fail(1)) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (arg1
)->GetLongHelp();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19048 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "enable", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19063 arg2
= (bool)(SWIG_As_bool(obj1
));
19064 if (SWIG_arg_fail(2)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (bool)(arg1
)->Enable(arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19082 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "toggle", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19122 arg2
= (bool)(SWIG_As_bool(obj1
));
19123 if (SWIG_arg_fail(2)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 result
= (bool)(arg1
)->SetToggle(arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19141 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19144 wxString
*arg2
= 0 ;
19146 bool temp2
= false ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "help", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail
;
19157 arg2
= wxString_in_helper(obj1
);
19158 if (arg2
== NULL
) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19185 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19188 wxString
*arg2
= 0 ;
19190 bool temp2
= false ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self",(char *) "help", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 arg2
= wxString_in_helper(obj1
);
19202 if (arg2
== NULL
) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19229 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19232 wxBitmap
*arg2
= 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "bmp", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19241 if (SWIG_arg_fail(1)) SWIG_fail
;
19243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19244 if (SWIG_arg_fail(2)) SWIG_fail
;
19245 if (arg2
== NULL
) {
19246 SWIG_null_ref("wxBitmap");
19248 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19267 wxBitmap
*arg2
= 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char *kwnames
[] = {
19271 (char *) "self",(char *) "bmp", NULL
19274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19276 if (SWIG_arg_fail(1)) SWIG_fail
;
19278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(2)) SWIG_fail
;
19280 if (arg2
== NULL
) {
19281 SWIG_null_ref("wxBitmap");
19283 if (SWIG_arg_fail(2)) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19302 wxString
*arg2
= 0 ;
19303 bool temp2
= false ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 char *kwnames
[] = {
19307 (char *) "self",(char *) "label", NULL
19310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19312 if (SWIG_arg_fail(1)) SWIG_fail
;
19314 arg2
= wxString_in_helper(obj1
);
19315 if (arg2
== NULL
) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->SetLabel((wxString
const &)*arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19350 if (SWIG_arg_fail(1)) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 Py_INCREF(Py_None
); resultobj
= Py_None
;
19365 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19368 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "tbar", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19377 if (SWIG_arg_fail(1)) SWIG_fail
;
19378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19379 if (SWIG_arg_fail(2)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->Attach(arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(1)) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= result
;
19420 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19423 PyObject
*arg2
= (PyObject
*) 0 ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "clientData", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19432 if (SWIG_arg_fail(1)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 Py_INCREF(Py_None
); resultobj
= Py_None
;
19448 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19451 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19453 return Py_BuildValue((char *)"");
19455 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19459 wxString
*arg3
= 0 ;
19460 wxBitmap
*arg4
= 0 ;
19461 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19462 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19463 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19464 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19466 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19468 PyObject
*arg9
= (PyObject
*) NULL
;
19469 wxToolBarToolBase
*result
;
19470 bool temp3
= false ;
19471 bool temp7
= false ;
19472 bool temp8
= false ;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 PyObject
* obj2
= 0 ;
19476 PyObject
* obj3
= 0 ;
19477 PyObject
* obj4
= 0 ;
19478 PyObject
* obj5
= 0 ;
19479 PyObject
* obj6
= 0 ;
19480 PyObject
* obj7
= 0 ;
19481 PyObject
* obj8
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail
;
19490 arg2
= (int)(SWIG_As_int(obj1
));
19491 if (SWIG_arg_fail(2)) SWIG_fail
;
19494 arg3
= wxString_in_helper(obj2
);
19495 if (arg3
== NULL
) SWIG_fail
;
19499 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19500 if (SWIG_arg_fail(4)) SWIG_fail
;
19501 if (arg4
== NULL
) {
19502 SWIG_null_ref("wxBitmap");
19504 if (SWIG_arg_fail(4)) SWIG_fail
;
19508 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19509 if (SWIG_arg_fail(5)) SWIG_fail
;
19510 if (arg5
== NULL
) {
19511 SWIG_null_ref("wxBitmap");
19513 if (SWIG_arg_fail(5)) SWIG_fail
;
19518 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19519 if (SWIG_arg_fail(6)) SWIG_fail
;
19524 arg7
= wxString_in_helper(obj6
);
19525 if (arg7
== NULL
) SWIG_fail
;
19531 arg8
= wxString_in_helper(obj7
);
19532 if (arg8
== NULL
) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= wxPyMake_wxObject(result
, 0);
19579 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19584 wxString
*arg4
= 0 ;
19585 wxBitmap
*arg5
= 0 ;
19586 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19587 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19588 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19589 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19591 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19592 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19593 PyObject
*arg10
= (PyObject
*) NULL
;
19594 wxToolBarToolBase
*result
;
19595 bool temp4
= false ;
19596 bool temp8
= false ;
19597 bool temp9
= false ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 PyObject
* obj2
= 0 ;
19601 PyObject
* obj3
= 0 ;
19602 PyObject
* obj4
= 0 ;
19603 PyObject
* obj5
= 0 ;
19604 PyObject
* obj6
= 0 ;
19605 PyObject
* obj7
= 0 ;
19606 PyObject
* obj8
= 0 ;
19607 PyObject
* obj9
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19617 if (SWIG_arg_fail(2)) SWIG_fail
;
19620 arg3
= (int)(SWIG_As_int(obj2
));
19621 if (SWIG_arg_fail(3)) SWIG_fail
;
19624 arg4
= wxString_in_helper(obj3
);
19625 if (arg4
== NULL
) SWIG_fail
;
19629 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19630 if (SWIG_arg_fail(5)) SWIG_fail
;
19631 if (arg5
== NULL
) {
19632 SWIG_null_ref("wxBitmap");
19634 if (SWIG_arg_fail(5)) SWIG_fail
;
19638 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19639 if (SWIG_arg_fail(6)) SWIG_fail
;
19640 if (arg6
== NULL
) {
19641 SWIG_null_ref("wxBitmap");
19643 if (SWIG_arg_fail(6)) SWIG_fail
;
19648 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19649 if (SWIG_arg_fail(7)) SWIG_fail
;
19654 arg8
= wxString_in_helper(obj7
);
19655 if (arg8
== NULL
) SWIG_fail
;
19661 arg9
= wxString_in_helper(obj8
);
19662 if (arg9
== NULL
) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,(wxItemKind
)arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= wxPyMake_wxObject(result
, 0);
19709 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19712 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19713 wxToolBarToolBase
*result
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "tool", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(2)) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= wxPyMake_wxObject(result
, 0);
19741 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19745 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19746 wxToolBarToolBase
*result
;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 PyObject
* obj2
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "pos",(char *) "tool", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail
;
19758 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19759 if (SWIG_arg_fail(2)) SWIG_fail
;
19761 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19762 if (SWIG_arg_fail(3)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= wxPyMake_wxObject(result
, 0);
19779 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19782 wxControl
*arg2
= (wxControl
*) 0 ;
19783 wxToolBarToolBase
*result
;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "control", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail
;
19793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19794 if (SWIG_arg_fail(2)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= wxPyMake_wxObject(result
, 0);
19811 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19815 wxControl
*arg3
= (wxControl
*) 0 ;
19816 wxToolBarToolBase
*result
;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 PyObject
* obj2
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "pos",(char *) "control", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail
;
19828 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19829 if (SWIG_arg_fail(2)) SWIG_fail
;
19831 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(3)) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= wxPyMake_wxObject(result
, 0);
19849 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self",(char *) "id", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail
;
19864 arg2
= (int)(SWIG_As_int(obj1
));
19865 if (SWIG_arg_fail(2)) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= wxPyMake_wxObject(result
, 0);
19883 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19886 wxToolBarToolBase
*result
;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= wxPyMake_wxObject(result
, 0);
19911 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19915 wxToolBarToolBase
*result
;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "pos", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19927 if (SWIG_arg_fail(2)) SWIG_fail
;
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= wxPyMake_wxObject(result
, 0);
19945 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19949 wxToolBarToolBase
*result
;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "id", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 arg2
= (int)(SWIG_As_int(obj1
));
19961 if (SWIG_arg_fail(2)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= wxPyMake_wxObject(result
, 0);
19979 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
;
19981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "pos", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19994 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19995 if (SWIG_arg_fail(2)) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self",(char *) "id", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
20025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20026 if (SWIG_arg_fail(1)) SWIG_fail
;
20028 arg2
= (int)(SWIG_As_int(obj1
));
20029 if (SWIG_arg_fail(2)) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (bool)(arg1
)->DeleteTool(arg2
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20047 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
20056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20057 if (SWIG_arg_fail(1)) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->ClearTools();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)(arg1
)->Realize();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20100 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 PyObject
* obj2
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "id",(char *) "enable", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20114 if (SWIG_arg_fail(1)) SWIG_fail
;
20116 arg2
= (int)(SWIG_As_int(obj1
));
20117 if (SWIG_arg_fail(2)) SWIG_fail
;
20120 arg3
= (bool)(SWIG_As_bool(obj2
));
20121 if (SWIG_arg_fail(3)) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->EnableTool(arg2
,arg3
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 PyObject
* obj2
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self",(char *) "id",(char *) "toggle", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20151 if (SWIG_arg_fail(1)) SWIG_fail
;
20153 arg2
= (int)(SWIG_As_int(obj1
));
20154 if (SWIG_arg_fail(2)) SWIG_fail
;
20157 arg3
= (bool)(SWIG_As_bool(obj2
));
20158 if (SWIG_arg_fail(3)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->ToggleTool(arg2
,arg3
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 Py_INCREF(Py_None
); resultobj
= Py_None
;
20174 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 PyObject
* obj2
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self",(char *) "id",(char *) "toggle", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 arg2
= (int)(SWIG_As_int(obj1
));
20191 if (SWIG_arg_fail(2)) SWIG_fail
;
20194 arg3
= (bool)(SWIG_As_bool(obj2
));
20195 if (SWIG_arg_fail(3)) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->SetToggle(arg2
,arg3
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "id", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 arg2
= (int)(SWIG_As_int(obj1
));
20227 if (SWIG_arg_fail(2)) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= result
;
20243 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20247 PyObject
*arg3
= (PyObject
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 PyObject
* obj2
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self",(char *) "id",(char *) "clientData", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20257 if (SWIG_arg_fail(1)) SWIG_fail
;
20259 arg2
= (int)(SWIG_As_int(obj1
));
20260 if (SWIG_arg_fail(2)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "id", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 arg2
= (int)(SWIG_As_int(obj1
));
20293 if (SWIG_arg_fail(2)) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_From_int((int)(result
));
20311 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 PyObject
* obj1
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "id", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 arg2
= (int)(SWIG_As_int(obj1
));
20327 if (SWIG_arg_fail(2)) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)(arg1
)->GetToolState(arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "id", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 arg2
= (int)(SWIG_As_int(obj1
));
20361 if (SWIG_arg_fail(2)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20379 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20383 wxString
*arg3
= 0 ;
20384 bool temp3
= false ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "id",(char *) "helpString", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20394 if (SWIG_arg_fail(1)) SWIG_fail
;
20396 arg2
= (int)(SWIG_As_int(obj1
));
20397 if (SWIG_arg_fail(2)) SWIG_fail
;
20400 arg3
= wxString_in_helper(obj2
);
20401 if (arg3
== NULL
) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 Py_INCREF(Py_None
); resultobj
= Py_None
;
20426 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "id", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 arg2
= (int)(SWIG_As_int(obj1
));
20442 if (SWIG_arg_fail(2)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (arg1
)->GetToolShortHelp(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20464 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20468 wxString
*arg3
= 0 ;
20469 bool temp3
= false ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 PyObject
* obj2
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "id",(char *) "helpString", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20479 if (SWIG_arg_fail(1)) SWIG_fail
;
20481 arg2
= (int)(SWIG_As_int(obj1
));
20482 if (SWIG_arg_fail(2)) SWIG_fail
;
20485 arg3
= wxString_in_helper(obj2
);
20486 if (arg3
== NULL
) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20511 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "id", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20524 if (SWIG_arg_fail(1)) SWIG_fail
;
20526 arg2
= (int)(SWIG_As_int(obj1
));
20527 if (SWIG_arg_fail(2)) SWIG_fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (arg1
)->GetToolLongHelp(arg2
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20549 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 PyObject
* obj2
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "x",(char *) "y", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail
;
20565 arg2
= (int)(SWIG_As_int(obj1
));
20566 if (SWIG_arg_fail(2)) SWIG_fail
;
20569 arg3
= (int)(SWIG_As_int(obj2
));
20570 if (SWIG_arg_fail(3)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetMargins(arg2
,arg3
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "size", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 Py_INCREF(Py_None
); resultobj
= Py_None
;
20618 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self",(char *) "packing", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 arg2
= (int)(SWIG_As_int(obj1
));
20633 if (SWIG_arg_fail(2)) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 (arg1
)->SetToolPacking(arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20649 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "separation", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20661 if (SWIG_arg_fail(1)) SWIG_fail
;
20663 arg2
= (int)(SWIG_As_int(obj1
));
20664 if (SWIG_arg_fail(2)) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->SetToolSeparation(arg2
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (arg1
)->GetToolMargins();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 wxSize
* resultptr
;
20701 resultptr
= new wxSize((wxSize
&)(result
));
20702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20710 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 char *kwnames
[] = {
20716 (char *) "self", NULL
20719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20721 if (SWIG_arg_fail(1)) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (arg1
)->GetMargins();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 wxSize
* resultptr
;
20731 resultptr
= new wxSize((wxSize
&)(result
));
20732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20740 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (int)(arg1
)->GetToolPacking();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= SWIG_From_int((int)(result
));
20768 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20779 if (SWIG_arg_fail(1)) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (int)(arg1
)->GetToolSeparation();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= SWIG_From_int((int)(result
));
20796 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self",(char *) "nRows", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20808 if (SWIG_arg_fail(1)) SWIG_fail
;
20810 arg2
= (int)(SWIG_As_int(obj1
));
20811 if (SWIG_arg_fail(2)) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 (arg1
)->SetRows(arg2
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 PyObject
* obj2
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self",(char *) "rows",(char *) "cols", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20841 if (SWIG_arg_fail(1)) SWIG_fail
;
20843 arg2
= (int)(SWIG_As_int(obj1
));
20844 if (SWIG_arg_fail(2)) SWIG_fail
;
20847 arg3
= (int)(SWIG_As_int(obj2
));
20848 if (SWIG_arg_fail(3)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 Py_INCREF(Py_None
); resultobj
= Py_None
;
20864 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20875 if (SWIG_arg_fail(1)) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (int)(arg1
)->GetMaxRows();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= SWIG_From_int((int)(result
));
20892 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20903 if (SWIG_arg_fail(1)) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (int)(arg1
)->GetMaxCols();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_From_int((int)(result
));
20920 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "size", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail
;
20936 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 Py_INCREF(Py_None
); resultobj
= Py_None
;
20952 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "self", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (arg1
)->GetToolBitmapSize();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 wxSize
* resultptr
;
20973 resultptr
= new wxSize((wxSize
&)(result
));
20974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20982 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (arg1
)->GetToolSize();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 wxSize
* resultptr
;
21003 resultptr
= new wxSize((wxSize
&)(result
));
21004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21012 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21017 wxToolBarToolBase
*result
;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 PyObject
* obj2
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "x",(char *) "y", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail
;
21029 arg2
= (int)(SWIG_As_int(obj1
));
21030 if (SWIG_arg_fail(2)) SWIG_fail
;
21033 arg3
= (int)(SWIG_As_int(obj2
));
21034 if (SWIG_arg_fail(3)) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= wxPyMake_wxObject(result
, 0);
21052 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21056 wxToolBarToolBase
*result
;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "toolid", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail
;
21067 arg2
= (int)(SWIG_As_int(obj1
));
21068 if (SWIG_arg_fail(2)) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= wxPyMake_wxObject(result
, 0);
21086 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
21096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
21097 if (SWIG_arg_fail(1)) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (bool)(arg1
)->IsVertical();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21114 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21117 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21119 return Py_BuildValue((char *)"");
21121 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxWindow
*arg1
= (wxWindow
*) 0 ;
21124 int arg2
= (int) -1 ;
21125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21129 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21130 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21131 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21135 bool temp6
= false ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 PyObject
* obj3
= 0 ;
21140 PyObject
* obj4
= 0 ;
21141 PyObject
* obj5
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail
;
21151 arg2
= (int)(SWIG_As_int(obj1
));
21152 if (SWIG_arg_fail(2)) SWIG_fail
;
21158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21164 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21169 arg5
= (long)(SWIG_As_long(obj4
));
21170 if (SWIG_arg_fail(5)) SWIG_fail
;
21175 arg6
= wxString_in_helper(obj5
);
21176 if (arg6
== NULL
) SWIG_fail
;
21181 if (!wxPyCheckForApp()) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21203 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21206 char *kwnames
[] = {
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21212 if (!wxPyCheckForApp()) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (wxToolBar
*)new wxToolBar();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21226 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21229 wxWindow
*arg2
= (wxWindow
*) 0 ;
21230 int arg3
= (int) -1 ;
21231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21235 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21236 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21237 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21241 bool temp7
= false ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 PyObject
* obj3
= 0 ;
21246 PyObject
* obj4
= 0 ;
21247 PyObject
* obj5
= 0 ;
21248 PyObject
* obj6
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail
;
21256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21257 if (SWIG_arg_fail(2)) SWIG_fail
;
21260 arg3
= (int)(SWIG_As_int(obj2
));
21261 if (SWIG_arg_fail(3)) SWIG_fail
;
21267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21278 arg6
= (long)(SWIG_As_long(obj5
));
21279 if (SWIG_arg_fail(6)) SWIG_fail
;
21284 arg7
= wxString_in_helper(obj6
);
21285 if (arg7
== NULL
) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21313 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21318 wxToolBarToolBase
*result
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 PyObject
* obj2
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self",(char *) "x",(char *) "y", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail
;
21330 arg2
= (int)(SWIG_As_int(obj1
));
21331 if (SWIG_arg_fail(2)) SWIG_fail
;
21334 arg3
= (int)(SWIG_As_int(obj2
));
21335 if (SWIG_arg_fail(3)) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= wxPyMake_wxObject(result
, 0);
21353 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21356 wxVisualAttributes result
;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "variant", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21365 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21370 if (!wxPyCheckForApp()) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 wxVisualAttributes
* resultptr
;
21379 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21388 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21391 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21393 return Py_BuildValue((char *)"");
21395 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21396 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21401 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21406 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21408 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21415 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxColour
const &arg1_defvalue
= wxNullColour
;
21418 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21419 wxColour
const &arg2_defvalue
= wxNullColour
;
21420 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21421 wxFont
const &arg3_defvalue
= wxNullFont
;
21422 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21423 wxListItemAttr
*result
;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 PyObject
* obj2
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21437 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21448 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21449 if (SWIG_arg_fail(3)) SWIG_fail
;
21450 if (arg3
== NULL
) {
21451 SWIG_null_ref("wxFont");
21453 if (SWIG_arg_fail(3)) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21470 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21473 wxColour
*arg2
= 0 ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "colText", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21483 if (SWIG_arg_fail(1)) SWIG_fail
;
21486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 Py_INCREF(Py_None
); resultobj
= Py_None
;
21502 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21505 wxColour
*arg2
= 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "colBack", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail
;
21518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 Py_INCREF(Py_None
); resultobj
= Py_None
;
21534 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "font", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21549 if (SWIG_arg_fail(2)) SWIG_fail
;
21550 if (arg2
== NULL
) {
21551 SWIG_null_ref("wxFont");
21553 if (SWIG_arg_fail(2)) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 (arg1
)->SetFont((wxFont
const &)*arg2
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 Py_INCREF(Py_None
); resultobj
= Py_None
;
21569 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21573 PyObject
* obj0
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21580 if (SWIG_arg_fail(1)) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (bool)(arg1
)->HasTextColour();
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21597 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21608 if (SWIG_arg_fail(1)) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (bool)(arg1
)->HasBackgroundColour();
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21625 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (bool)(arg1
)->HasFont();
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21653 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21664 if (SWIG_arg_fail(1)) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (arg1
)->GetTextColour();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 wxColour
* resultptr
;
21674 resultptr
= new wxColour((wxColour
&)(result
));
21675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21683 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (arg1
)->GetBackgroundColour();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 wxColour
* resultptr
;
21704 resultptr
= new wxColour((wxColour
&)(result
));
21705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21713 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (arg1
)->GetFont();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 wxFont
* resultptr
;
21734 resultptr
= new wxFont((wxFont
&)(result
));
21735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21743 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 wxListItemAttr_Destroy(arg1
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 Py_INCREF(Py_None
); resultobj
= Py_None
;
21768 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21771 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21773 return Py_BuildValue((char *)"");
21775 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxListItem
*result
;
21778 char *kwnames
[] = {
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (wxListItem
*)new wxListItem();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= wxPyMake_wxObject(result
, 1);
21799 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxListItem
*arg1
= (wxListItem
*) 0 ;
21802 PyObject
* obj0
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21809 if (SWIG_arg_fail(1)) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 Py_INCREF(Py_None
); resultobj
= Py_None
;
21824 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxListItem
*arg1
= (wxListItem
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxListItem
*arg1
= (wxListItem
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 (arg1
)->ClearAttributes();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 Py_INCREF(Py_None
); resultobj
= Py_None
;
21874 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxListItem
*arg1
= (wxListItem
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "mask", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21886 if (SWIG_arg_fail(1)) SWIG_fail
;
21888 arg2
= (long)(SWIG_As_long(obj1
));
21889 if (SWIG_arg_fail(2)) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 (arg1
)->SetMask(arg2
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 Py_INCREF(Py_None
); resultobj
= Py_None
;
21905 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxListItem
*arg1
= (wxListItem
*) 0 ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "id", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21917 if (SWIG_arg_fail(1)) SWIG_fail
;
21919 arg2
= (long)(SWIG_As_long(obj1
));
21920 if (SWIG_arg_fail(2)) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 (arg1
)->SetId(arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 Py_INCREF(Py_None
); resultobj
= Py_None
;
21936 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxListItem
*arg1
= (wxListItem
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "col", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 arg2
= (int)(SWIG_As_int(obj1
));
21951 if (SWIG_arg_fail(2)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 (arg1
)->SetColumn(arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 Py_INCREF(Py_None
); resultobj
= Py_None
;
21967 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxListItem
*arg1
= (wxListItem
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "state", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21979 if (SWIG_arg_fail(1)) SWIG_fail
;
21981 arg2
= (long)(SWIG_As_long(obj1
));
21982 if (SWIG_arg_fail(2)) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->SetState(arg2
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
21998 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxListItem
*arg1
= (wxListItem
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "stateMask", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
22009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22010 if (SWIG_arg_fail(1)) SWIG_fail
;
22012 arg2
= (long)(SWIG_As_long(obj1
));
22013 if (SWIG_arg_fail(2)) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->SetStateMask(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 Py_INCREF(Py_None
); resultobj
= Py_None
;
22029 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxListItem
*arg1
= (wxListItem
*) 0 ;
22032 wxString
*arg2
= 0 ;
22033 bool temp2
= false ;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "text", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail
;
22044 arg2
= wxString_in_helper(obj1
);
22045 if (arg2
== NULL
) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->SetText((wxString
const &)*arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 Py_INCREF(Py_None
); resultobj
= Py_None
;
22070 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxListItem
*arg1
= (wxListItem
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "image", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22082 if (SWIG_arg_fail(1)) SWIG_fail
;
22084 arg2
= (int)(SWIG_As_int(obj1
));
22085 if (SWIG_arg_fail(2)) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->SetImage(arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxListItem
*arg1
= (wxListItem
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self",(char *) "data", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail
;
22115 arg2
= (long)(SWIG_As_long(obj1
));
22116 if (SWIG_arg_fail(2)) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 (arg1
)->SetData(arg2
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 Py_INCREF(Py_None
); resultobj
= Py_None
;
22132 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxListItem
*arg1
= (wxListItem
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self",(char *) "width", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 arg2
= (int)(SWIG_As_int(obj1
));
22147 if (SWIG_arg_fail(2)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 (arg1
)->SetWidth(arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 Py_INCREF(Py_None
); resultobj
= Py_None
;
22163 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxListItem
*arg1
= (wxListItem
*) 0 ;
22166 wxListColumnFormat arg2
;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "align", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail
;
22177 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22178 if (SWIG_arg_fail(2)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxListItem
*arg1
= (wxListItem
*) 0 ;
22197 wxColour
*arg2
= 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "colText", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail
;
22210 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxListItem
*arg1
= (wxListItem
*) 0 ;
22229 wxColour
*arg2
= 0 ;
22231 PyObject
* obj0
= 0 ;
22232 PyObject
* obj1
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "colBack", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 Py_INCREF(Py_None
); resultobj
= Py_None
;
22258 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxListItem
*arg1
= (wxListItem
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "font", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(1)) SWIG_fail
;
22272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22273 if (SWIG_arg_fail(2)) SWIG_fail
;
22274 if (arg2
== NULL
) {
22275 SWIG_null_ref("wxFont");
22277 if (SWIG_arg_fail(2)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->SetFont((wxFont
const &)*arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxListItem
*arg1
= (wxListItem
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22304 if (SWIG_arg_fail(1)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (long)(arg1
)->GetMask();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_From_long((long)(result
));
22321 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxListItem
*arg1
= (wxListItem
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (long)(arg1
)->GetId();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_From_long((long)(result
));
22349 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxListItem
*arg1
= (wxListItem
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (int)(arg1
)->GetColumn();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_From_int((int)(result
));
22377 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxListItem
*arg1
= (wxListItem
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (long)(arg1
)->GetState();
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_From_long((long)(result
));
22405 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxListItem
*arg1
= (wxListItem
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 wxString
const &_result_ref
= (arg1
)->GetText();
22421 result
= (wxString
*) &_result_ref
;
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22431 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22440 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxListItem
*arg1
= (wxListItem
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= (int)(arg1
)->GetImage();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_From_int((int)(result
));
22468 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxListItem
*arg1
= (wxListItem
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 char *kwnames
[] = {
22474 (char *) "self", NULL
22477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 result
= (long)(arg1
)->GetData();
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= SWIG_From_long((long)(result
));
22496 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxListItem
*arg1
= (wxListItem
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (int)(arg1
)->GetWidth();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_From_int((int)(result
));
22524 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxListItem
*arg1
= (wxListItem
*) 0 ;
22527 wxListColumnFormat result
;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_From_int((result
));
22550 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxListItem
*arg1
= (wxListItem
*) 0 ;
22553 wxListItemAttr
*result
;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22576 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxListItem
*arg1
= (wxListItem
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (bool)(arg1
)->HasAttributes();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22604 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxListItem
*arg1
= (wxListItem
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 wxColour
* resultptr
;
22625 resultptr
= new wxColour((wxColour
&)(result
));
22626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22634 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxListItem
*arg1
= (wxListItem
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 wxColour
* resultptr
;
22655 resultptr
= new wxColour((wxColour
&)(result
));
22656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22664 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxListItem
*arg1
= (wxListItem
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= ((wxListItem
const *)arg1
)->GetFont();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22684 wxFont
* resultptr
;
22685 resultptr
= new wxFont((wxFont
&)(result
));
22686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22694 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxListItem
*arg1
= (wxListItem
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self",(char *) "m_mask", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 arg2
= (long)(SWIG_As_long(obj1
));
22709 if (SWIG_arg_fail(2)) SWIG_fail
;
22711 if (arg1
) (arg1
)->m_mask
= arg2
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxListItem
*arg1
= (wxListItem
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22732 result
= (long) ((arg1
)->m_mask
);
22735 resultobj
= SWIG_From_long((long)(result
));
22743 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxListItem
*arg1
= (wxListItem
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "m_itemId", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22755 if (SWIG_arg_fail(1)) SWIG_fail
;
22757 arg2
= (long)(SWIG_As_long(obj1
));
22758 if (SWIG_arg_fail(2)) SWIG_fail
;
22760 if (arg1
) (arg1
)->m_itemId
= arg2
;
22762 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxListItem
*arg1
= (wxListItem
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22781 result
= (long) ((arg1
)->m_itemId
);
22784 resultobj
= SWIG_From_long((long)(result
));
22792 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxListItem
*arg1
= (wxListItem
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "m_col", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 arg2
= (int)(SWIG_As_int(obj1
));
22807 if (SWIG_arg_fail(2)) SWIG_fail
;
22809 if (arg1
) (arg1
)->m_col
= arg2
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxListItem
*arg1
= (wxListItem
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail
;
22830 result
= (int) ((arg1
)->m_col
);
22833 resultobj
= SWIG_From_int((int)(result
));
22841 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxListItem
*arg1
= (wxListItem
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "m_state", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22855 arg2
= (long)(SWIG_As_long(obj1
));
22856 if (SWIG_arg_fail(2)) SWIG_fail
;
22858 if (arg1
) (arg1
)->m_state
= arg2
;
22860 Py_INCREF(Py_None
); resultobj
= Py_None
;
22867 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxListItem
*arg1
= (wxListItem
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail
;
22879 result
= (long) ((arg1
)->m_state
);
22882 resultobj
= SWIG_From_long((long)(result
));
22890 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxListItem
*arg1
= (wxListItem
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self",(char *) "m_stateMask", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22902 if (SWIG_arg_fail(1)) SWIG_fail
;
22904 arg2
= (long)(SWIG_As_long(obj1
));
22905 if (SWIG_arg_fail(2)) SWIG_fail
;
22907 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22909 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxListItem
*arg1
= (wxListItem
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 result
= (long) ((arg1
)->m_stateMask
);
22931 resultobj
= SWIG_From_long((long)(result
));
22939 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxListItem
*arg1
= (wxListItem
*) 0 ;
22942 wxString
*arg2
= (wxString
*) 0 ;
22943 bool temp2
= false ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "m_text", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail
;
22954 arg2
= wxString_in_helper(obj1
);
22955 if (arg2
== NULL
) SWIG_fail
;
22958 if (arg1
) (arg1
)->m_text
= *arg2
;
22960 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxListItem
*arg1
= (wxListItem
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 result
= (wxString
*)& ((arg1
)->m_text
);
22991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23002 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxListItem
*arg1
= (wxListItem
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "m_image", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 arg2
= (int)(SWIG_As_int(obj1
));
23017 if (SWIG_arg_fail(2)) SWIG_fail
;
23019 if (arg1
) (arg1
)->m_image
= arg2
;
23021 Py_INCREF(Py_None
); resultobj
= Py_None
;
23028 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxListItem
*arg1
= (wxListItem
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23040 result
= (int) ((arg1
)->m_image
);
23043 resultobj
= SWIG_From_int((int)(result
));
23051 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxListItem
*arg1
= (wxListItem
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "m_data", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail
;
23065 arg2
= (long)(SWIG_As_long(obj1
));
23066 if (SWIG_arg_fail(2)) SWIG_fail
;
23068 if (arg1
) (arg1
)->m_data
= arg2
;
23070 Py_INCREF(Py_None
); resultobj
= Py_None
;
23077 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxListItem
*arg1
= (wxListItem
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
23087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23088 if (SWIG_arg_fail(1)) SWIG_fail
;
23089 result
= (long) ((arg1
)->m_data
);
23092 resultobj
= SWIG_From_long((long)(result
));
23100 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxListItem
*arg1
= (wxListItem
*) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "m_format", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23112 if (SWIG_arg_fail(1)) SWIG_fail
;
23114 arg2
= (int)(SWIG_As_int(obj1
));
23115 if (SWIG_arg_fail(2)) SWIG_fail
;
23117 if (arg1
) (arg1
)->m_format
= arg2
;
23119 Py_INCREF(Py_None
); resultobj
= Py_None
;
23126 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxListItem
*arg1
= (wxListItem
*) 0 ;
23130 PyObject
* obj0
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23137 if (SWIG_arg_fail(1)) SWIG_fail
;
23138 result
= (int) ((arg1
)->m_format
);
23141 resultobj
= SWIG_From_int((int)(result
));
23149 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxListItem
*arg1
= (wxListItem
*) 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "m_width", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail
;
23163 arg2
= (int)(SWIG_As_int(obj1
));
23164 if (SWIG_arg_fail(2)) SWIG_fail
;
23166 if (arg1
) (arg1
)->m_width
= arg2
;
23168 Py_INCREF(Py_None
); resultobj
= Py_None
;
23175 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxListItem
*arg1
= (wxListItem
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail
;
23187 result
= (int) ((arg1
)->m_width
);
23190 resultobj
= SWIG_From_int((int)(result
));
23198 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23201 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23203 return Py_BuildValue((char *)"");
23205 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23208 int arg2
= (int) 0 ;
23209 wxListEvent
*result
;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "commandType",(char *) "id", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23219 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23220 if (SWIG_arg_fail(1)) SWIG_fail
;
23225 arg2
= (int)(SWIG_As_int(obj1
));
23226 if (SWIG_arg_fail(2)) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23243 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "m_code", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail
;
23257 arg2
= (int)(SWIG_As_int(obj1
));
23258 if (SWIG_arg_fail(2)) SWIG_fail
;
23260 if (arg1
) (arg1
)->m_code
= arg2
;
23262 Py_INCREF(Py_None
); resultobj
= Py_None
;
23269 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23281 result
= (int) ((arg1
)->m_code
);
23284 resultobj
= SWIG_From_int((int)(result
));
23292 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self",(char *) "m_oldItemIndex", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23304 if (SWIG_arg_fail(1)) SWIG_fail
;
23306 arg2
= (long)(SWIG_As_long(obj1
));
23307 if (SWIG_arg_fail(2)) SWIG_fail
;
23309 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23311 Py_INCREF(Py_None
); resultobj
= Py_None
;
23318 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail
;
23330 result
= (long) ((arg1
)->m_oldItemIndex
);
23333 resultobj
= SWIG_From_long((long)(result
));
23341 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "m_itemIndex", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail
;
23355 arg2
= (long)(SWIG_As_long(obj1
));
23356 if (SWIG_arg_fail(2)) SWIG_fail
;
23358 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23360 Py_INCREF(Py_None
); resultobj
= Py_None
;
23367 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 result
= (long) ((arg1
)->m_itemIndex
);
23382 resultobj
= SWIG_From_long((long)(result
));
23390 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self",(char *) "m_col", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 arg2
= (int)(SWIG_As_int(obj1
));
23405 if (SWIG_arg_fail(2)) SWIG_fail
;
23407 if (arg1
) (arg1
)->m_col
= arg2
;
23409 Py_INCREF(Py_None
); resultobj
= Py_None
;
23416 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail
;
23428 result
= (int) ((arg1
)->m_col
);
23431 resultobj
= SWIG_From_int((int)(result
));
23439 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23442 wxPoint
*arg2
= (wxPoint
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "m_pointDrag", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail
;
23452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(2)) SWIG_fail
;
23454 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23463 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23474 if (SWIG_arg_fail(1)) SWIG_fail
;
23475 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23484 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23487 wxListItem
*result
;
23488 PyObject
* obj0
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23495 if (SWIG_arg_fail(1)) SWIG_fail
;
23496 result
= (wxListItem
*)& ((arg1
)->m_item
);
23499 resultobj
= wxPyMake_wxObject(result
, 0);
23507 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)(arg1
)->GetKeyCode();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int((int)(result
));
23535 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (long)(arg1
)->GetIndex();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_From_long((long)(result
));
23563 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23574 if (SWIG_arg_fail(1)) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (int)(arg1
)->GetColumn();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_From_int((int)(result
));
23591 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (arg1
)->GetPoint();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 wxPoint
* resultptr
;
23612 resultptr
= new wxPoint((wxPoint
&)(result
));
23613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23621 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 wxString
const &_result_ref
= (arg1
)->GetLabel();
23637 result
= (wxString
*) &_result_ref
;
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23647 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23656 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
;
23658 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23660 PyObject
* obj0
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23667 if (SWIG_arg_fail(1)) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 wxString
const &_result_ref
= (arg1
)->GetText();
23672 result
= (wxString
*) &_result_ref
;
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23682 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23691 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23702 if (SWIG_arg_fail(1)) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (int)(arg1
)->GetImage();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= SWIG_From_int((int)(result
));
23719 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23723 PyObject
* obj0
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23730 if (SWIG_arg_fail(1)) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (long)(arg1
)->GetData();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_From_long((long)(result
));
23747 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (long)(arg1
)->GetMask();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_From_long((long)(result
));
23775 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23778 wxListItem
*result
;
23779 PyObject
* obj0
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23786 if (SWIG_arg_fail(1)) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23791 result
= (wxListItem
*) &_result_ref
;
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23804 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23815 if (SWIG_arg_fail(1)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (long)(arg1
)->GetCacheFrom();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_From_long((long)(result
));
23832 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (long)(arg1
)->GetCacheTo();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_From_long((long)(result
));
23860 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23888 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "editCancelled", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23900 if (SWIG_arg_fail(1)) SWIG_fail
;
23902 arg2
= (bool)(SWIG_As_bool(obj1
));
23903 if (SWIG_arg_fail(2)) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->SetEditCanceled(arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 Py_INCREF(Py_None
); resultobj
= Py_None
;
23919 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23922 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23924 return Py_BuildValue((char *)"");
23926 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxWindow
*arg1
= (wxWindow
*) 0 ;
23929 int arg2
= (int) -1 ;
23930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23934 long arg5
= (long) wxLC_ICON
;
23935 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23936 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23937 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23939 wxPyListCtrl
*result
;
23942 bool temp7
= false ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 PyObject
* obj2
= 0 ;
23946 PyObject
* obj3
= 0 ;
23947 PyObject
* obj4
= 0 ;
23948 PyObject
* obj5
= 0 ;
23949 PyObject
* obj6
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail
;
23959 arg2
= (int)(SWIG_As_int(obj1
));
23960 if (SWIG_arg_fail(2)) SWIG_fail
;
23966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23977 arg5
= (long)(SWIG_As_long(obj4
));
23978 if (SWIG_arg_fail(5)) SWIG_fail
;
23983 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23984 if (SWIG_arg_fail(6)) SWIG_fail
;
23985 if (arg6
== NULL
) {
23986 SWIG_null_ref("wxValidator");
23988 if (SWIG_arg_fail(6)) SWIG_fail
;
23993 arg7
= wxString_in_helper(obj6
);
23994 if (arg7
== NULL
) SWIG_fail
;
23999 if (!wxPyCheckForApp()) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24021 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPyListCtrl
*result
;
24024 char *kwnames
[] = {
24028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
24030 if (!wxPyCheckForApp()) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxPyListCtrl
*)new wxPyListCtrl();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
24044 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24047 wxWindow
*arg2
= (wxWindow
*) 0 ;
24048 int arg3
= (int) -1 ;
24049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24053 long arg6
= (long) wxLC_ICON
;
24054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24056 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24061 bool temp8
= false ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 PyObject
* obj2
= 0 ;
24065 PyObject
* obj3
= 0 ;
24066 PyObject
* obj4
= 0 ;
24067 PyObject
* obj5
= 0 ;
24068 PyObject
* obj6
= 0 ;
24069 PyObject
* obj7
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24078 if (SWIG_arg_fail(2)) SWIG_fail
;
24081 arg3
= (int)(SWIG_As_int(obj2
));
24082 if (SWIG_arg_fail(3)) SWIG_fail
;
24088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24099 arg6
= (long)(SWIG_As_long(obj5
));
24100 if (SWIG_arg_fail(6)) SWIG_fail
;
24105 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(7)) SWIG_fail
;
24107 if (arg7
== NULL
) {
24108 SWIG_null_ref("wxValidator");
24110 if (SWIG_arg_fail(7)) SWIG_fail
;
24115 arg8
= wxString_in_helper(obj7
);
24116 if (arg8
== NULL
) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24144 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24147 PyObject
*arg2
= (PyObject
*) 0 ;
24148 PyObject
*arg3
= (PyObject
*) 0 ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 PyObject
* obj2
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self",(char *) "self",(char *) "_class", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 Py_INCREF(Py_None
); resultobj
= Py_None
;
24175 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24178 wxColour
*arg2
= 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "col", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24189 if (SWIG_arg_fail(1)) SWIG_fail
;
24192 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24210 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24213 wxColour
*arg2
= 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self",(char *) "col", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24224 if (SWIG_arg_fail(1)) SWIG_fail
;
24227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24245 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24249 wxListItem
*result
;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "col", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24258 if (SWIG_arg_fail(1)) SWIG_fail
;
24260 arg2
= (int)(SWIG_As_int(obj1
));
24261 if (SWIG_arg_fail(2)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= wxPyMake_wxObject(result
, 0);
24279 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24283 wxListItem
*arg3
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 PyObject
* obj2
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "col",(char *) "item", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24294 if (SWIG_arg_fail(1)) SWIG_fail
;
24296 arg2
= (int)(SWIG_As_int(obj1
));
24297 if (SWIG_arg_fail(2)) SWIG_fail
;
24300 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24301 if (SWIG_arg_fail(3)) SWIG_fail
;
24302 if (arg3
== NULL
) {
24303 SWIG_null_ref("wxListItem");
24305 if (SWIG_arg_fail(3)) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24323 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self",(char *) "col", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24336 if (SWIG_arg_fail(1)) SWIG_fail
;
24338 arg2
= (int)(SWIG_As_int(obj1
));
24339 if (SWIG_arg_fail(2)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_From_int((int)(result
));
24357 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 PyObject
* obj2
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self",(char *) "col",(char *) "width", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 arg2
= (int)(SWIG_As_int(obj1
));
24375 if (SWIG_arg_fail(2)) SWIG_fail
;
24378 arg3
= (int)(SWIG_As_int(obj2
));
24379 if (SWIG_arg_fail(3)) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24397 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_From_int((int)(result
));
24425 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24436 if (SWIG_arg_fail(1)) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24445 wxRect
* resultptr
;
24446 resultptr
= new wxRect((wxRect
&)(result
));
24447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24455 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24458 wxTextCtrl
*result
;
24459 PyObject
* obj0
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= wxPyMake_wxObject(result
, 0);
24483 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24487 int arg3
= (int) 0 ;
24488 wxListItem
*result
;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 PyObject
* obj2
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "itemId",(char *) "col", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24498 if (SWIG_arg_fail(1)) SWIG_fail
;
24500 arg2
= (long)(SWIG_As_long(obj1
));
24501 if (SWIG_arg_fail(2)) SWIG_fail
;
24505 arg3
= (int)(SWIG_As_int(obj2
));
24506 if (SWIG_arg_fail(3)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= wxPyMake_wxObject(result
, 0);
24525 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24528 wxListItem
*arg2
= 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "info", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail
;
24540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24541 if (SWIG_arg_fail(2)) SWIG_fail
;
24542 if (arg2
== NULL
) {
24543 SWIG_null_ref("wxListItem");
24545 if (SWIG_arg_fail(2)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->SetItem(*arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24563 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24568 wxString
*arg4
= 0 ;
24569 int arg5
= (int) -1 ;
24571 bool temp4
= false ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 PyObject
* obj2
= 0 ;
24575 PyObject
* obj3
= 0 ;
24576 PyObject
* obj4
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24583 if (SWIG_arg_fail(1)) SWIG_fail
;
24585 arg2
= (long)(SWIG_As_long(obj1
));
24586 if (SWIG_arg_fail(2)) SWIG_fail
;
24589 arg3
= (int)(SWIG_As_int(obj2
));
24590 if (SWIG_arg_fail(3)) SWIG_fail
;
24593 arg4
= wxString_in_helper(obj3
);
24594 if (arg4
== NULL
) SWIG_fail
;
24599 arg5
= (int)(SWIG_As_int(obj4
));
24600 if (SWIG_arg_fail(5)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_From_long((long)(result
));
24627 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 PyObject
* obj2
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail
;
24644 arg2
= (long)(SWIG_As_long(obj1
));
24645 if (SWIG_arg_fail(2)) SWIG_fail
;
24648 arg3
= (long)(SWIG_As_long(obj2
));
24649 if (SWIG_arg_fail(3)) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_From_int((int)(result
));
24667 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 PyObject
* obj3
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= (long)(SWIG_As_long(obj1
));
24687 if (SWIG_arg_fail(2)) SWIG_fail
;
24690 arg3
= (long)(SWIG_As_long(obj2
));
24691 if (SWIG_arg_fail(3)) SWIG_fail
;
24694 arg4
= (long)(SWIG_As_long(obj3
));
24695 if (SWIG_arg_fail(4)) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24713 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24718 int arg4
= (int) -1 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 PyObject
* obj2
= 0 ;
24723 PyObject
* obj3
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24730 if (SWIG_arg_fail(1)) SWIG_fail
;
24732 arg2
= (long)(SWIG_As_long(obj1
));
24733 if (SWIG_arg_fail(2)) SWIG_fail
;
24736 arg3
= (int)(SWIG_As_int(obj2
));
24737 if (SWIG_arg_fail(3)) SWIG_fail
;
24741 arg4
= (int)(SWIG_As_int(obj3
));
24742 if (SWIG_arg_fail(4)) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24761 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "item", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail
;
24776 arg2
= (long)(SWIG_As_long(obj1
));
24777 if (SWIG_arg_fail(2)) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24799 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24803 wxString
*arg3
= 0 ;
24804 bool temp3
= false ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 PyObject
* obj2
= 0 ;
24808 char *kwnames
[] = {
24809 (char *) "self",(char *) "item",(char *) "str", NULL
24812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail
;
24816 arg2
= (long)(SWIG_As_long(obj1
));
24817 if (SWIG_arg_fail(2)) SWIG_fail
;
24820 arg3
= wxString_in_helper(obj2
);
24821 if (arg3
== NULL
) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "item", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail
;
24861 arg2
= (long)(SWIG_As_long(obj1
));
24862 if (SWIG_arg_fail(2)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_From_long((long)(result
));
24880 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 PyObject
* obj2
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "item",(char *) "data", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24895 if (SWIG_arg_fail(1)) SWIG_fail
;
24897 arg2
= (long)(SWIG_As_long(obj1
));
24898 if (SWIG_arg_fail(2)) SWIG_fail
;
24901 arg3
= (long)(SWIG_As_long(obj2
));
24902 if (SWIG_arg_fail(3)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24920 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "item", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24933 if (SWIG_arg_fail(1)) SWIG_fail
;
24935 arg2
= (long)(SWIG_As_long(obj1
));
24936 if (SWIG_arg_fail(2)) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24946 wxPoint
* resultptr
;
24947 resultptr
= new wxPoint((wxPoint
&)(result
));
24948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24956 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24960 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 PyObject
* obj2
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "item",(char *) "code", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24971 if (SWIG_arg_fail(1)) SWIG_fail
;
24973 arg2
= (long)(SWIG_As_long(obj1
));
24974 if (SWIG_arg_fail(2)) SWIG_fail
;
24978 arg3
= (int)(SWIG_As_int(obj2
));
24979 if (SWIG_arg_fail(3)) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 wxRect
* resultptr
;
24991 resultptr
= new wxRect((wxRect
&)(result
));
24992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25000 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25004 wxPoint
*arg3
= 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 PyObject
* obj2
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "item",(char *) "pos", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail
;
25018 arg2
= (long)(SWIG_As_long(obj1
));
25019 if (SWIG_arg_fail(2)) SWIG_fail
;
25023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25041 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25045 PyObject
* obj0
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
25051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25052 if (SWIG_arg_fail(1)) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_From_int((int)(result
));
25069 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
25079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25080 if (SWIG_arg_fail(1)) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_From_int((int)(result
));
25097 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
25107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 wxSize
* resultptr
;
25118 resultptr
= new wxSize((wxSize
&)(result
));
25119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25127 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25138 if (SWIG_arg_fail(1)) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_From_int((int)(result
));
25155 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25169 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25175 wxColour
* resultptr
;
25176 resultptr
= new wxColour((wxColour
&)(result
));
25177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25185 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25188 wxColour
*arg2
= 0 ;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "col", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail
;
25201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25228 if (SWIG_arg_fail(1)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_From_long((long)(result
));
25245 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25249 bool arg3
= (bool) true ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "style",(char *) "add", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25259 if (SWIG_arg_fail(1)) SWIG_fail
;
25261 arg2
= (long)(SWIG_As_long(obj1
));
25262 if (SWIG_arg_fail(2)) SWIG_fail
;
25266 arg3
= (bool)(SWIG_As_bool(obj2
));
25267 if (SWIG_arg_fail(3)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->SetSingleStyle(arg2
,arg3
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 Py_INCREF(Py_None
); resultobj
= Py_None
;
25284 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "style", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25296 if (SWIG_arg_fail(1)) SWIG_fail
;
25298 arg2
= (long)(SWIG_As_long(obj1
));
25299 if (SWIG_arg_fail(2)) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 (arg1
)->SetWindowStyleFlag(arg2
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 Py_INCREF(Py_None
); resultobj
= Py_None
;
25315 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25319 int arg3
= (int) wxLIST_NEXT_ALL
;
25320 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25322 PyObject
* obj0
= 0 ;
25323 PyObject
* obj1
= 0 ;
25324 PyObject
* obj2
= 0 ;
25325 PyObject
* obj3
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail
;
25334 arg2
= (long)(SWIG_As_long(obj1
));
25335 if (SWIG_arg_fail(2)) SWIG_fail
;
25339 arg3
= (int)(SWIG_As_int(obj2
));
25340 if (SWIG_arg_fail(3)) SWIG_fail
;
25345 arg4
= (int)(SWIG_As_int(obj3
));
25346 if (SWIG_arg_fail(4)) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= SWIG_From_long((long)(result
));
25365 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25369 wxImageList
*result
;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "which", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25378 if (SWIG_arg_fail(1)) SWIG_fail
;
25380 arg2
= (int)(SWIG_As_int(obj1
));
25381 if (SWIG_arg_fail(2)) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= wxPyMake_wxObject(result
, 0);
25399 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25402 wxImageList
*arg2
= (wxImageList
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "imageList",(char *) "which", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(2)) SWIG_fail
;
25417 arg3
= (int)(SWIG_As_int(obj2
));
25418 if (SWIG_arg_fail(3)) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->SetImageList(arg2
,arg3
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25437 wxImageList
*arg2
= (wxImageList
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 PyObject
* obj2
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "imageList",(char *) "which", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail
;
25449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25450 if (SWIG_arg_fail(2)) SWIG_fail
;
25452 arg3
= (int)(SWIG_As_int(obj2
));
25453 if (SWIG_arg_fail(3)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->AssignImageList(arg2
,arg3
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail
;
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25497 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "item", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail
;
25539 arg2
= (long)(SWIG_As_long(obj1
));
25540 if (SWIG_arg_fail(2)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->RefreshItem(arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 PyObject
* obj2
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail
;
25572 arg2
= (long)(SWIG_As_long(obj1
));
25573 if (SWIG_arg_fail(2)) SWIG_fail
;
25576 arg3
= (long)(SWIG_As_long(obj2
));
25577 if (SWIG_arg_fail(3)) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 (arg1
)->RefreshItems(arg2
,arg3
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 Py_INCREF(Py_None
); resultobj
= Py_None
;
25593 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25596 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self",(char *) "flag", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 arg2
= (int)(SWIG_As_int(obj1
));
25610 if (SWIG_arg_fail(2)) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (bool)(arg1
)->Arrange(arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25629 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self",(char *) "item", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25642 if (SWIG_arg_fail(1)) SWIG_fail
;
25644 arg2
= (long)(SWIG_As_long(obj1
));
25645 if (SWIG_arg_fail(2)) SWIG_fail
;
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (bool)(arg1
)->DeleteItem(arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25663 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25667 PyObject
* obj0
= 0 ;
25668 char *kwnames
[] = {
25669 (char *) "self", NULL
25672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25674 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (bool)(arg1
)->DeleteAllItems();
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25691 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self",(char *) "col", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail
;
25706 arg2
= (int)(SWIG_As_int(obj1
));
25707 if (SWIG_arg_fail(2)) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25725 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (bool)(arg1
)->DeleteAllColumns();
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25753 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->ClearAll();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 Py_INCREF(Py_None
); resultobj
= Py_None
;
25778 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25782 wxTextCtrl
*result
;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "item", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail
;
25793 arg2
= (long)(SWIG_As_long(obj1
));
25794 if (SWIG_arg_fail(2)) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= wxPyMake_wxObject(result
, 0);
25812 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "cancel", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail
;
25827 arg2
= (bool)(SWIG_As_bool(obj1
));
25828 if (SWIG_arg_fail(2)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25846 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj1
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self",(char *) "item", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail
;
25861 arg2
= (long)(SWIG_As_long(obj1
));
25862 if (SWIG_arg_fail(2)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25880 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25884 wxString
*arg3
= 0 ;
25885 bool arg4
= (bool) false ;
25887 bool temp3
= false ;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 PyObject
* obj2
= 0 ;
25891 PyObject
* obj3
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25898 if (SWIG_arg_fail(1)) SWIG_fail
;
25900 arg2
= (long)(SWIG_As_long(obj1
));
25901 if (SWIG_arg_fail(2)) SWIG_fail
;
25904 arg3
= wxString_in_helper(obj2
);
25905 if (arg3
== NULL
) SWIG_fail
;
25910 arg4
= (bool)(SWIG_As_bool(obj3
));
25911 if (SWIG_arg_fail(4)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= SWIG_From_long((long)(result
));
25938 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 PyObject
* obj2
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "start",(char *) "data", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25953 if (SWIG_arg_fail(1)) SWIG_fail
;
25955 arg2
= (long)(SWIG_As_long(obj1
));
25956 if (SWIG_arg_fail(2)) SWIG_fail
;
25959 arg3
= (long)(SWIG_As_long(obj2
));
25960 if (SWIG_arg_fail(3)) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_From_long((long)(result
));
25978 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25982 wxPoint
*arg3
= 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 PyObject
* obj2
= 0 ;
25989 PyObject
* obj3
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 arg2
= (long)(SWIG_As_long(obj1
));
25999 if (SWIG_arg_fail(2)) SWIG_fail
;
26003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26006 arg4
= (int)(SWIG_As_int(obj3
));
26007 if (SWIG_arg_fail(4)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_From_long((long)(result
));
26025 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26028 wxPoint
*arg2
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char *kwnames
[] = {
26037 (char *) "self",(char *) "point", NULL
26040 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail
;
26046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_From_long((long)(result
));
26058 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26059 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26066 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26069 wxListItem
*arg2
= 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "info", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26082 if (SWIG_arg_fail(2)) SWIG_fail
;
26083 if (arg2
== NULL
) {
26084 SWIG_null_ref("wxListItem");
26086 if (SWIG_arg_fail(2)) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (long)(arg1
)->InsertItem(*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_From_long((long)(result
));
26104 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26108 wxString
*arg3
= 0 ;
26110 bool temp3
= false ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 PyObject
* obj2
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "index",(char *) "label", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(1)) SWIG_fail
;
26122 arg2
= (long)(SWIG_As_long(obj1
));
26123 if (SWIG_arg_fail(2)) SWIG_fail
;
26126 arg3
= wxString_in_helper(obj2
);
26127 if (arg3
== NULL
) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_From_long((long)(result
));
26154 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 PyObject
* obj1
= 0 ;
26162 PyObject
* obj2
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail
;
26171 arg2
= (long)(SWIG_As_long(obj1
));
26172 if (SWIG_arg_fail(2)) SWIG_fail
;
26175 arg3
= (int)(SWIG_As_int(obj2
));
26176 if (SWIG_arg_fail(3)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 resultobj
= SWIG_From_long((long)(result
));
26194 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26198 wxString
*arg3
= 0 ;
26201 bool temp3
= false ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 PyObject
* obj2
= 0 ;
26205 PyObject
* obj3
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 arg2
= (long)(SWIG_As_long(obj1
));
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26218 arg3
= wxString_in_helper(obj2
);
26219 if (arg3
== NULL
) SWIG_fail
;
26223 arg4
= (int)(SWIG_As_int(obj3
));
26224 if (SWIG_arg_fail(4)) SWIG_fail
;
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_From_long((long)(result
));
26250 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26254 wxListItem
*arg3
= 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 PyObject
* obj2
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "col",(char *) "info", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26265 if (SWIG_arg_fail(1)) SWIG_fail
;
26267 arg2
= (long)(SWIG_As_long(obj1
));
26268 if (SWIG_arg_fail(2)) SWIG_fail
;
26271 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26272 if (SWIG_arg_fail(3)) SWIG_fail
;
26273 if (arg3
== NULL
) {
26274 SWIG_null_ref("wxListItem");
26276 if (SWIG_arg_fail(3)) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_From_long((long)(result
));
26294 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26298 wxString
*arg3
= 0 ;
26299 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26300 int arg5
= (int) -1 ;
26302 bool temp3
= false ;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 PyObject
* obj2
= 0 ;
26306 PyObject
* obj3
= 0 ;
26307 PyObject
* obj4
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26314 if (SWIG_arg_fail(1)) SWIG_fail
;
26316 arg2
= (long)(SWIG_As_long(obj1
));
26317 if (SWIG_arg_fail(2)) SWIG_fail
;
26320 arg3
= wxString_in_helper(obj2
);
26321 if (arg3
== NULL
) SWIG_fail
;
26326 arg4
= (int)(SWIG_As_int(obj3
));
26327 if (SWIG_arg_fail(4)) SWIG_fail
;
26332 arg5
= (int)(SWIG_As_int(obj4
));
26333 if (SWIG_arg_fail(5)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_From_long((long)(result
));
26360 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self",(char *) "count", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail
;
26374 arg2
= (long)(SWIG_As_long(obj1
));
26375 if (SWIG_arg_fail(2)) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->SetItemCount(arg2
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 PyObject
* obj2
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "dx",(char *) "dy", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 arg2
= (int)(SWIG_As_int(obj1
));
26409 if (SWIG_arg_fail(2)) SWIG_fail
;
26412 arg3
= (int)(SWIG_As_int(obj2
));
26413 if (SWIG_arg_fail(3)) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26431 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26435 wxColour
*arg3
= 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "item",(char *) "col", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26448 arg2
= (long)(SWIG_As_long(obj1
));
26449 if (SWIG_arg_fail(2)) SWIG_fail
;
26453 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self",(char *) "item", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26482 if (SWIG_arg_fail(1)) SWIG_fail
;
26484 arg2
= (long)(SWIG_As_long(obj1
));
26485 if (SWIG_arg_fail(2)) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26495 wxColour
* resultptr
;
26496 resultptr
= new wxColour((wxColour
&)(result
));
26497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26505 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26509 wxColour
*arg3
= 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 PyObject
* obj2
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self",(char *) "item",(char *) "col", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 arg2
= (long)(SWIG_As_long(obj1
));
26523 if (SWIG_arg_fail(2)) SWIG_fail
;
26527 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 PyObject
* obj1
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self",(char *) "item", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26556 if (SWIG_arg_fail(1)) SWIG_fail
;
26558 arg2
= (long)(SWIG_As_long(obj1
));
26559 if (SWIG_arg_fail(2)) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxColour
* resultptr
;
26570 resultptr
= new wxColour((wxColour
&)(result
));
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26579 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26582 PyObject
*arg2
= (PyObject
*) 0 ;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self",(char *) "func", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26592 if (SWIG_arg_fail(1)) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26610 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26621 if (SWIG_arg_fail(1)) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= wxPyMake_wxObject(result
, 0);
26638 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26639 PyObject
*resultobj
;
26640 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26641 wxVisualAttributes result
;
26642 PyObject
* obj0
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "variant", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26650 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26655 if (!wxPyCheckForApp()) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26663 wxVisualAttributes
* resultptr
;
26664 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26673 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26676 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26678 return Py_BuildValue((char *)"");
26680 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxWindow
*arg1
= (wxWindow
*) 0 ;
26683 int arg2
= (int) -1 ;
26684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26688 long arg5
= (long) wxLC_REPORT
;
26689 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26690 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26691 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26693 wxListView
*result
;
26696 bool temp7
= false ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 PyObject
* obj2
= 0 ;
26700 PyObject
* obj3
= 0 ;
26701 PyObject
* obj4
= 0 ;
26702 PyObject
* obj5
= 0 ;
26703 PyObject
* obj6
= 0 ;
26704 char *kwnames
[] = {
26705 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26710 if (SWIG_arg_fail(1)) SWIG_fail
;
26713 arg2
= (int)(SWIG_As_int(obj1
));
26714 if (SWIG_arg_fail(2)) SWIG_fail
;
26720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26726 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26731 arg5
= (long)(SWIG_As_long(obj4
));
26732 if (SWIG_arg_fail(5)) SWIG_fail
;
26737 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26738 if (SWIG_arg_fail(6)) SWIG_fail
;
26739 if (arg6
== NULL
) {
26740 SWIG_null_ref("wxValidator");
26742 if (SWIG_arg_fail(6)) SWIG_fail
;
26747 arg7
= wxString_in_helper(obj6
);
26748 if (arg7
== NULL
) SWIG_fail
;
26753 if (!wxPyCheckForApp()) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26775 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxListView
*result
;
26778 char *kwnames
[] = {
26782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26784 if (!wxPyCheckForApp()) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (wxListView
*)new wxListView();
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26798 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxListView
*arg1
= (wxListView
*) 0 ;
26801 wxWindow
*arg2
= (wxWindow
*) 0 ;
26802 int arg3
= (int) -1 ;
26803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26807 long arg6
= (long) wxLC_REPORT
;
26808 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26809 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26810 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26811 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26815 bool temp8
= false ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 PyObject
* obj2
= 0 ;
26819 PyObject
* obj3
= 0 ;
26820 PyObject
* obj4
= 0 ;
26821 PyObject
* obj5
= 0 ;
26822 PyObject
* obj6
= 0 ;
26823 PyObject
* obj7
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail
;
26831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(2)) SWIG_fail
;
26835 arg3
= (int)(SWIG_As_int(obj2
));
26836 if (SWIG_arg_fail(3)) SWIG_fail
;
26842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26853 arg6
= (long)(SWIG_As_long(obj5
));
26854 if (SWIG_arg_fail(6)) SWIG_fail
;
26859 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26860 if (SWIG_arg_fail(7)) SWIG_fail
;
26861 if (arg7
== NULL
) {
26862 SWIG_null_ref("wxValidator");
26864 if (SWIG_arg_fail(7)) SWIG_fail
;
26869 arg8
= wxString_in_helper(obj7
);
26870 if (arg8
== NULL
) SWIG_fail
;
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26898 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxListView
*arg1
= (wxListView
*) 0 ;
26902 bool arg3
= (bool) true ;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 PyObject
* obj2
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "n",(char *) "on", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 arg2
= (long)(SWIG_As_long(obj1
));
26915 if (SWIG_arg_fail(2)) SWIG_fail
;
26919 arg3
= (bool)(SWIG_As_bool(obj2
));
26920 if (SWIG_arg_fail(3)) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 (arg1
)->Select(arg2
,arg3
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 Py_INCREF(Py_None
); resultobj
= Py_None
;
26937 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxListView
*arg1
= (wxListView
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "index", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 arg2
= (long)(SWIG_As_long(obj1
));
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->Focus(arg2
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 Py_INCREF(Py_None
); resultobj
= Py_None
;
26968 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxListView
*arg1
= (wxListView
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_long((long)(result
));
26996 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxListView
*arg1
= (wxListView
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self",(char *) "item", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail
;
27011 arg2
= (long)(SWIG_As_long(obj1
));
27012 if (SWIG_arg_fail(2)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= SWIG_From_long((long)(result
));
27030 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxListView
*arg1
= (wxListView
*) 0 ;
27034 PyObject
* obj0
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
27040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27041 if (SWIG_arg_fail(1)) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= SWIG_From_long((long)(result
));
27058 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxListView
*arg1
= (wxListView
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "index", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 arg2
= (long)(SWIG_As_long(obj1
));
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (bool)(arg1
)->IsSelected(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27092 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxListView
*arg1
= (wxListView
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "col",(char *) "image", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 arg2
= (int)(SWIG_As_int(obj1
));
27109 if (SWIG_arg_fail(2)) SWIG_fail
;
27112 arg3
= (int)(SWIG_As_int(obj2
));
27113 if (SWIG_arg_fail(3)) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->SetColumnImage(arg2
,arg3
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 Py_INCREF(Py_None
); resultobj
= Py_None
;
27129 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxListView
*arg1
= (wxListView
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "col", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail
;
27143 arg2
= (int)(SWIG_As_int(obj1
));
27144 if (SWIG_arg_fail(2)) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 (arg1
)->ClearColumnImage(arg2
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 Py_INCREF(Py_None
); resultobj
= Py_None
;
27160 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27163 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27165 return Py_BuildValue((char *)"");
27167 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27168 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27173 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27178 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27180 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27187 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxTreeItemId
*result
;
27190 char *kwnames
[] = {
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= (wxTreeItemId
*)new wxTreeItemId();
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27209 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 Py_INCREF(Py_None
); resultobj
= Py_None
;
27234 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27235 PyObject
*resultobj
;
27236 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27245 if (SWIG_arg_fail(1)) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27262 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27265 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "other", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27294 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27297 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "other", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail
;
27308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(2)) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27326 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27329 void *arg2
= (void *) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self",(char *) "m_pItem", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27338 if (SWIG_arg_fail(1)) SWIG_fail
;
27340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27341 SWIG_arg_fail(2);SWIG_fail
;
27344 if (arg1
) (arg1
)->m_pItem
= arg2
;
27346 Py_INCREF(Py_None
); resultobj
= Py_None
;
27353 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail
;
27365 result
= (void *) ((arg1
)->m_pItem
);
27367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27374 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27377 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27379 return Py_BuildValue((char *)"");
27381 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 PyObject
*arg1
= (PyObject
*) NULL
;
27384 wxPyTreeItemData
*result
;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "obj", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27408 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27412 PyObject
* obj0
= 0 ;
27413 char *kwnames
[] = {
27414 (char *) "self", NULL
27417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27419 if (SWIG_arg_fail(1)) SWIG_fail
;
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= (PyObject
*)(arg1
)->GetData();
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= result
;
27434 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27437 PyObject
*arg2
= (PyObject
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "obj", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27446 if (SWIG_arg_fail(1)) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->SetData(arg2
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27462 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27465 wxTreeItemId
*result
;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27478 result
= (wxTreeItemId
*) &_result_ref
;
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27491 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27494 wxTreeItemId
*arg2
= 0 ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self",(char *) "id", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27503 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27506 if (SWIG_arg_fail(2)) SWIG_fail
;
27507 if (arg2
== NULL
) {
27508 SWIG_null_ref("wxTreeItemId");
27510 if (SWIG_arg_fail(2)) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 Py_INCREF(Py_None
); resultobj
= Py_None
;
27526 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
;
27528 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27536 if (SWIG_arg_fail(1)) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 wxPyTreeItemData_Destroy(arg1
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27556 return Py_BuildValue((char *)"");
27558 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27561 int arg2
= (int) 0 ;
27562 wxTreeEvent
*result
;
27563 PyObject
* obj0
= 0 ;
27564 PyObject
* obj1
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "commandType",(char *) "id", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27572 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27573 if (SWIG_arg_fail(1)) SWIG_fail
;
27578 arg2
= (int)(SWIG_As_int(obj1
));
27579 if (SWIG_arg_fail(2)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27596 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27599 wxTreeItemId result
;
27600 PyObject
* obj0
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27607 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 wxTreeItemId
* resultptr
;
27617 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27626 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27629 wxTreeItemId
*arg2
= 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "item", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27638 if (SWIG_arg_fail(1)) SWIG_fail
;
27640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27641 if (SWIG_arg_fail(2)) SWIG_fail
;
27642 if (arg2
== NULL
) {
27643 SWIG_null_ref("wxTreeItemId");
27645 if (SWIG_arg_fail(2)) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 Py_INCREF(Py_None
); resultobj
= Py_None
;
27661 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27662 PyObject
*resultobj
;
27663 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27664 wxTreeItemId result
;
27665 PyObject
* obj0
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "self", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27672 if (SWIG_arg_fail(1)) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27681 wxTreeItemId
* resultptr
;
27682 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27691 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27694 wxTreeItemId
*arg2
= 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "item", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27703 if (SWIG_arg_fail(1)) SWIG_fail
;
27705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27706 if (SWIG_arg_fail(2)) SWIG_fail
;
27707 if (arg2
== NULL
) {
27708 SWIG_null_ref("wxTreeItemId");
27710 if (SWIG_arg_fail(2)) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27719 Py_INCREF(Py_None
); resultobj
= Py_None
;
27726 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail
;
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 wxPoint
* resultptr
;
27747 resultptr
= new wxPoint((wxPoint
&)(result
));
27748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27756 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27759 wxPoint
*arg2
= 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self",(char *) "pt", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail
;
27772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27788 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27791 wxKeyEvent
*result
;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27799 if (SWIG_arg_fail(1)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27804 result
= (wxKeyEvent
*) &_result_ref
;
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27817 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27828 if (SWIG_arg_fail(1)) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_From_int((int)(result
));
27845 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27848 wxKeyEvent
*arg2
= 0 ;
27849 PyObject
* obj0
= 0 ;
27850 PyObject
* obj1
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self",(char *) "evt", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27857 if (SWIG_arg_fail(1)) SWIG_fail
;
27859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27860 if (SWIG_arg_fail(2)) SWIG_fail
;
27861 if (arg2
== NULL
) {
27862 SWIG_null_ref("wxKeyEvent");
27864 if (SWIG_arg_fail(2)) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 Py_INCREF(Py_None
); resultobj
= Py_None
;
27880 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27891 if (SWIG_arg_fail(1)) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27896 result
= (wxString
*) &_result_ref
;
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27906 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27915 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
;
27917 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27918 wxString
*arg2
= 0 ;
27919 bool temp2
= false ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "label", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27928 if (SWIG_arg_fail(1)) SWIG_fail
;
27930 arg2
= wxString_in_helper(obj1
);
27931 if (arg2
== NULL
) SWIG_fail
;
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 (arg1
)->SetLabel((wxString
const &)*arg2
);
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 Py_INCREF(Py_None
); resultobj
= Py_None
;
27956 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27960 PyObject
* obj0
= 0 ;
27961 char *kwnames
[] = {
27962 (char *) "self", NULL
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27967 if (SWIG_arg_fail(1)) SWIG_fail
;
27969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27984 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "editCancelled", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27996 if (SWIG_arg_fail(1)) SWIG_fail
;
27998 arg2
= (bool)(SWIG_As_bool(obj1
));
27999 if (SWIG_arg_fail(2)) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 (arg1
)->SetEditCanceled(arg2
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 Py_INCREF(Py_None
); resultobj
= Py_None
;
28015 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
28018 wxString
*arg2
= 0 ;
28019 bool temp2
= false ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 char *kwnames
[] = {
28023 (char *) "self",(char *) "toolTip", NULL
28026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail
;
28030 arg2
= wxString_in_helper(obj1
);
28031 if (arg2
== NULL
) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 Py_INCREF(Py_None
); resultobj
= Py_None
;
28056 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
28058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28059 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
28061 return Py_BuildValue((char *)"");
28063 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxWindow
*arg1
= (wxWindow
*) 0 ;
28066 int arg2
= (int) -1 ;
28067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28071 long arg5
= (long) wxTR_DEFAULT_STYLE
;
28072 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28073 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28074 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
28075 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28076 wxPyTreeCtrl
*result
;
28079 bool temp7
= false ;
28080 PyObject
* obj0
= 0 ;
28081 PyObject
* obj1
= 0 ;
28082 PyObject
* obj2
= 0 ;
28083 PyObject
* obj3
= 0 ;
28084 PyObject
* obj4
= 0 ;
28085 PyObject
* obj5
= 0 ;
28086 PyObject
* obj6
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail
;
28096 arg2
= (int)(SWIG_As_int(obj1
));
28097 if (SWIG_arg_fail(2)) SWIG_fail
;
28103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28114 arg5
= (long)(SWIG_As_long(obj4
));
28115 if (SWIG_arg_fail(5)) SWIG_fail
;
28120 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28121 if (SWIG_arg_fail(6)) SWIG_fail
;
28122 if (arg6
== NULL
) {
28123 SWIG_null_ref("wxValidator");
28125 if (SWIG_arg_fail(6)) SWIG_fail
;
28130 arg7
= wxString_in_helper(obj6
);
28131 if (arg7
== NULL
) SWIG_fail
;
28136 if (!wxPyCheckForApp()) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28158 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxPyTreeCtrl
*result
;
28161 char *kwnames
[] = {
28165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28167 if (!wxPyCheckForApp()) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28181 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28184 wxWindow
*arg2
= (wxWindow
*) 0 ;
28185 int arg3
= (int) -1 ;
28186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28190 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28191 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28192 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28193 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28198 bool temp8
= false ;
28199 PyObject
* obj0
= 0 ;
28200 PyObject
* obj1
= 0 ;
28201 PyObject
* obj2
= 0 ;
28202 PyObject
* obj3
= 0 ;
28203 PyObject
* obj4
= 0 ;
28204 PyObject
* obj5
= 0 ;
28205 PyObject
* obj6
= 0 ;
28206 PyObject
* obj7
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail
;
28214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28215 if (SWIG_arg_fail(2)) SWIG_fail
;
28218 arg3
= (int)(SWIG_As_int(obj2
));
28219 if (SWIG_arg_fail(3)) SWIG_fail
;
28225 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28231 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28236 arg6
= (long)(SWIG_As_long(obj5
));
28237 if (SWIG_arg_fail(6)) SWIG_fail
;
28242 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(7)) SWIG_fail
;
28244 if (arg7
== NULL
) {
28245 SWIG_null_ref("wxValidator");
28247 if (SWIG_arg_fail(7)) SWIG_fail
;
28252 arg8
= wxString_in_helper(obj7
);
28253 if (arg8
== NULL
) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28281 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28284 PyObject
*arg2
= (PyObject
*) 0 ;
28285 PyObject
*arg3
= (PyObject
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 PyObject
* obj1
= 0 ;
28288 PyObject
* obj2
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self",(char *) "self",(char *) "_class", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28295 if (SWIG_arg_fail(1)) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 Py_INCREF(Py_None
); resultobj
= Py_None
;
28312 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28340 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28343 unsigned int result
;
28344 PyObject
* obj0
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self", NULL
28349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28351 if (SWIG_arg_fail(1)) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28368 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28371 unsigned int arg2
;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self",(char *) "indent", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28380 if (SWIG_arg_fail(1)) SWIG_fail
;
28382 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28383 if (SWIG_arg_fail(2)) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->SetIndent(arg2
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 Py_INCREF(Py_None
); resultobj
= Py_None
;
28399 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28402 unsigned int result
;
28403 PyObject
* obj0
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28427 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28430 unsigned int arg2
;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self",(char *) "spacing", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28439 if (SWIG_arg_fail(1)) SWIG_fail
;
28441 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28442 if (SWIG_arg_fail(2)) SWIG_fail
;
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 (arg1
)->SetSpacing(arg2
);
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 Py_INCREF(Py_None
); resultobj
= Py_None
;
28458 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28461 wxImageList
*result
;
28462 PyObject
* obj0
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(1)) SWIG_fail
;
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= wxPyMake_wxObject(result
, 0);
28486 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28489 wxImageList
*result
;
28490 PyObject
* obj0
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28497 if (SWIG_arg_fail(1)) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= wxPyMake_wxObject(result
, 0);
28514 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
;
28516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28517 wxImageList
*arg2
= (wxImageList
*) 0 ;
28518 PyObject
* obj0
= 0 ;
28519 PyObject
* obj1
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self",(char *) "imageList", NULL
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28526 if (SWIG_arg_fail(1)) SWIG_fail
;
28527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(2)) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->SetImageList(arg2
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 Py_INCREF(Py_None
); resultobj
= Py_None
;
28543 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28546 wxImageList
*arg2
= (wxImageList
*) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char *kwnames
[] = {
28550 (char *) "self",(char *) "imageList", NULL
28553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(1)) SWIG_fail
;
28556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(2)) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 (arg1
)->SetStateImageList(arg2
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 Py_INCREF(Py_None
); resultobj
= Py_None
;
28572 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28575 wxImageList
*arg2
= (wxImageList
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "imageList", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28584 if (SWIG_arg_fail(1)) SWIG_fail
;
28585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28586 if (SWIG_arg_fail(2)) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 (arg1
)->AssignImageList(arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 Py_INCREF(Py_None
); resultobj
= Py_None
;
28601 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28604 wxImageList
*arg2
= (wxImageList
*) 0 ;
28605 PyObject
* obj0
= 0 ;
28606 PyObject
* obj1
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self",(char *) "imageList", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28613 if (SWIG_arg_fail(1)) SWIG_fail
;
28614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28615 if (SWIG_arg_fail(2)) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 (arg1
)->AssignStateImageList(arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 Py_INCREF(Py_None
); resultobj
= Py_None
;
28630 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28633 wxTreeItemId
*arg2
= 0 ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self",(char *) "item", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28643 if (SWIG_arg_fail(1)) SWIG_fail
;
28645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28646 if (SWIG_arg_fail(2)) SWIG_fail
;
28647 if (arg2
== NULL
) {
28648 SWIG_null_ref("wxTreeItemId");
28650 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28672 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28675 wxTreeItemId
*arg2
= 0 ;
28676 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self",(char *) "item",(char *) "which", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28690 if (SWIG_arg_fail(2)) SWIG_fail
;
28691 if (arg2
== NULL
) {
28692 SWIG_null_ref("wxTreeItemId");
28694 if (SWIG_arg_fail(2)) SWIG_fail
;
28698 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28699 if (SWIG_arg_fail(3)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_From_int((int)(result
));
28718 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
;
28720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28721 wxTreeItemId
*arg2
= 0 ;
28722 wxPyTreeItemData
*result
;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "item", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail
;
28733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28734 if (SWIG_arg_fail(2)) SWIG_fail
;
28735 if (arg2
== NULL
) {
28736 SWIG_null_ref("wxTreeItemId");
28738 if (SWIG_arg_fail(2)) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28754 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
;
28756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28757 wxTreeItemId
*arg2
= 0 ;
28759 PyObject
* obj0
= 0 ;
28760 PyObject
* obj1
= 0 ;
28761 char *kwnames
[] = {
28762 (char *) "self",(char *) "item", NULL
28765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail
;
28769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28770 if (SWIG_arg_fail(2)) SWIG_fail
;
28771 if (arg2
== NULL
) {
28772 SWIG_null_ref("wxTreeItemId");
28774 if (SWIG_arg_fail(2)) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= result
;
28790 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28793 wxTreeItemId
*arg2
= 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "item", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28806 if (SWIG_arg_fail(2)) SWIG_fail
;
28807 if (arg2
== NULL
) {
28808 SWIG_null_ref("wxTreeItemId");
28810 if (SWIG_arg_fail(2)) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 wxColour
* resultptr
;
28821 resultptr
= new wxColour((wxColour
&)(result
));
28822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28830 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28833 wxTreeItemId
*arg2
= 0 ;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self",(char *) "item", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail
;
28845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28846 if (SWIG_arg_fail(2)) SWIG_fail
;
28847 if (arg2
== NULL
) {
28848 SWIG_null_ref("wxTreeItemId");
28850 if (SWIG_arg_fail(2)) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 wxColour
* resultptr
;
28861 resultptr
= new wxColour((wxColour
&)(result
));
28862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28870 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
;
28872 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28873 wxTreeItemId
*arg2
= 0 ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "item", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28886 if (SWIG_arg_fail(2)) SWIG_fail
;
28887 if (arg2
== NULL
) {
28888 SWIG_null_ref("wxTreeItemId");
28890 if (SWIG_arg_fail(2)) SWIG_fail
;
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28900 wxFont
* resultptr
;
28901 resultptr
= new wxFont((wxFont
&)(result
));
28902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28910 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28913 wxTreeItemId
*arg2
= 0 ;
28914 wxString
*arg3
= 0 ;
28915 bool temp3
= false ;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 PyObject
* obj2
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "item",(char *) "text", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28925 if (SWIG_arg_fail(1)) SWIG_fail
;
28927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28928 if (SWIG_arg_fail(2)) SWIG_fail
;
28929 if (arg2
== NULL
) {
28930 SWIG_null_ref("wxTreeItemId");
28932 if (SWIG_arg_fail(2)) SWIG_fail
;
28935 arg3
= wxString_in_helper(obj2
);
28936 if (arg3
== NULL
) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 Py_INCREF(Py_None
); resultobj
= Py_None
;
28961 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28964 wxTreeItemId
*arg2
= 0 ;
28966 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 PyObject
* obj3
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28977 if (SWIG_arg_fail(1)) SWIG_fail
;
28979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28980 if (SWIG_arg_fail(2)) SWIG_fail
;
28981 if (arg2
== NULL
) {
28982 SWIG_null_ref("wxTreeItemId");
28984 if (SWIG_arg_fail(2)) SWIG_fail
;
28987 arg3
= (int)(SWIG_As_int(obj2
));
28988 if (SWIG_arg_fail(3)) SWIG_fail
;
28992 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28993 if (SWIG_arg_fail(4)) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 Py_INCREF(Py_None
); resultobj
= Py_None
;
29010 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29013 wxTreeItemId
*arg2
= 0 ;
29014 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 PyObject
* obj2
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self",(char *) "item",(char *) "data", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29024 if (SWIG_arg_fail(1)) SWIG_fail
;
29026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29027 if (SWIG_arg_fail(2)) SWIG_fail
;
29028 if (arg2
== NULL
) {
29029 SWIG_null_ref("wxTreeItemId");
29031 if (SWIG_arg_fail(2)) SWIG_fail
;
29033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29034 if (SWIG_arg_fail(3)) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 Py_INCREF(Py_None
); resultobj
= Py_None
;
29049 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
;
29051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29052 wxTreeItemId
*arg2
= 0 ;
29053 PyObject
*arg3
= (PyObject
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 PyObject
* obj2
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self",(char *) "item",(char *) "obj", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29063 if (SWIG_arg_fail(1)) SWIG_fail
;
29065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29066 if (SWIG_arg_fail(2)) SWIG_fail
;
29067 if (arg2
== NULL
) {
29068 SWIG_null_ref("wxTreeItemId");
29070 if (SWIG_arg_fail(2)) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 Py_INCREF(Py_None
); resultobj
= Py_None
;
29087 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29090 wxTreeItemId
*arg2
= 0 ;
29091 bool arg3
= (bool) true ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self",(char *) "item",(char *) "has", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29104 if (SWIG_arg_fail(2)) SWIG_fail
;
29105 if (arg2
== NULL
) {
29106 SWIG_null_ref("wxTreeItemId");
29108 if (SWIG_arg_fail(2)) SWIG_fail
;
29112 arg3
= (bool)(SWIG_As_bool(obj2
));
29113 if (SWIG_arg_fail(3)) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29133 wxTreeItemId
*arg2
= 0 ;
29134 bool arg3
= (bool) true ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 PyObject
* obj2
= 0 ;
29138 char *kwnames
[] = {
29139 (char *) "self",(char *) "item",(char *) "bold", NULL
29142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29144 if (SWIG_arg_fail(1)) SWIG_fail
;
29146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29147 if (SWIG_arg_fail(2)) SWIG_fail
;
29148 if (arg2
== NULL
) {
29149 SWIG_null_ref("wxTreeItemId");
29151 if (SWIG_arg_fail(2)) SWIG_fail
;
29155 arg3
= (bool)(SWIG_As_bool(obj2
));
29156 if (SWIG_arg_fail(3)) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 Py_INCREF(Py_None
); resultobj
= Py_None
;
29173 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29176 wxTreeItemId
*arg2
= 0 ;
29177 bool arg3
= (bool) true ;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 PyObject
* obj2
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self",(char *) "item",(char *) "highlight", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29187 if (SWIG_arg_fail(1)) SWIG_fail
;
29189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29190 if (SWIG_arg_fail(2)) SWIG_fail
;
29191 if (arg2
== NULL
) {
29192 SWIG_null_ref("wxTreeItemId");
29194 if (SWIG_arg_fail(2)) SWIG_fail
;
29198 arg3
= (bool)(SWIG_As_bool(obj2
));
29199 if (SWIG_arg_fail(3)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 Py_INCREF(Py_None
); resultobj
= Py_None
;
29216 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29219 wxTreeItemId
*arg2
= 0 ;
29220 wxColour
*arg3
= 0 ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 PyObject
* obj2
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "item",(char *) "col", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail
;
29233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail
;
29235 if (arg2
== NULL
) {
29236 SWIG_null_ref("wxTreeItemId");
29238 if (SWIG_arg_fail(2)) SWIG_fail
;
29242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29261 wxTreeItemId
*arg2
= 0 ;
29262 wxColour
*arg3
= 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 PyObject
* obj2
= 0 ;
29267 char *kwnames
[] = {
29268 (char *) "self",(char *) "item",(char *) "col", NULL
29271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail
;
29275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(2)) SWIG_fail
;
29277 if (arg2
== NULL
) {
29278 SWIG_null_ref("wxTreeItemId");
29280 if (SWIG_arg_fail(2)) SWIG_fail
;
29284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 Py_INCREF(Py_None
); resultobj
= Py_None
;
29300 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
;
29302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29303 wxTreeItemId
*arg2
= 0 ;
29305 PyObject
* obj0
= 0 ;
29306 PyObject
* obj1
= 0 ;
29307 PyObject
* obj2
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self",(char *) "item",(char *) "font", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29314 if (SWIG_arg_fail(1)) SWIG_fail
;
29316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29317 if (SWIG_arg_fail(2)) SWIG_fail
;
29318 if (arg2
== NULL
) {
29319 SWIG_null_ref("wxTreeItemId");
29321 if (SWIG_arg_fail(2)) SWIG_fail
;
29324 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29325 if (SWIG_arg_fail(3)) SWIG_fail
;
29326 if (arg3
== NULL
) {
29327 SWIG_null_ref("wxFont");
29329 if (SWIG_arg_fail(3)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 Py_INCREF(Py_None
); resultobj
= Py_None
;
29345 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29348 wxTreeItemId
*arg2
= 0 ;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 char *kwnames
[] = {
29353 (char *) "self",(char *) "item", NULL
29356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29358 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(2)) SWIG_fail
;
29362 if (arg2
== NULL
) {
29363 SWIG_null_ref("wxTreeItemId");
29365 if (SWIG_arg_fail(2)) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29383 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29386 wxTreeItemId
*arg2
= 0 ;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 char *kwnames
[] = {
29391 (char *) "self",(char *) "item", NULL
29394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29396 if (SWIG_arg_fail(1)) SWIG_fail
;
29398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29399 if (SWIG_arg_fail(2)) SWIG_fail
;
29400 if (arg2
== NULL
) {
29401 SWIG_null_ref("wxTreeItemId");
29403 if (SWIG_arg_fail(2)) SWIG_fail
;
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29421 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
;
29423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29424 wxTreeItemId
*arg2
= 0 ;
29426 PyObject
* obj0
= 0 ;
29427 PyObject
* obj1
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self",(char *) "item", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29434 if (SWIG_arg_fail(1)) SWIG_fail
;
29436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29437 if (SWIG_arg_fail(2)) SWIG_fail
;
29438 if (arg2
== NULL
) {
29439 SWIG_null_ref("wxTreeItemId");
29441 if (SWIG_arg_fail(2)) SWIG_fail
;
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29459 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29462 wxTreeItemId
*arg2
= 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self",(char *) "item", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29475 if (SWIG_arg_fail(2)) SWIG_fail
;
29476 if (arg2
== NULL
) {
29477 SWIG_null_ref("wxTreeItemId");
29479 if (SWIG_arg_fail(2)) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29497 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29500 wxTreeItemId
*arg2
= 0 ;
29502 PyObject
* obj0
= 0 ;
29503 PyObject
* obj1
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self",(char *) "item", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29510 if (SWIG_arg_fail(1)) SWIG_fail
;
29512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29513 if (SWIG_arg_fail(2)) SWIG_fail
;
29514 if (arg2
== NULL
) {
29515 SWIG_null_ref("wxTreeItemId");
29517 if (SWIG_arg_fail(2)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29535 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29538 wxTreeItemId
*arg2
= 0 ;
29539 bool arg3
= (bool) true ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 char *kwnames
[] = {
29545 (char *) "self",(char *) "item",(char *) "recursively", NULL
29548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(1)) SWIG_fail
;
29552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29554 if (arg2
== NULL
) {
29555 SWIG_null_ref("wxTreeItemId");
29557 if (SWIG_arg_fail(2)) SWIG_fail
;
29561 arg3
= (bool)(SWIG_As_bool(obj2
));
29562 if (SWIG_arg_fail(3)) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29581 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29584 wxTreeItemId result
;
29585 PyObject
* obj0
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29592 if (SWIG_arg_fail(1)) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 wxTreeItemId
* resultptr
;
29602 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29611 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29614 wxTreeItemId result
;
29615 PyObject
* obj0
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 wxTreeItemId
* resultptr
;
29632 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29641 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= result
;
29667 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29670 wxTreeItemId
*arg2
= 0 ;
29671 wxTreeItemId result
;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "item", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29680 if (SWIG_arg_fail(1)) SWIG_fail
;
29682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29683 if (SWIG_arg_fail(2)) SWIG_fail
;
29684 if (arg2
== NULL
) {
29685 SWIG_null_ref("wxTreeItemId");
29687 if (SWIG_arg_fail(2)) SWIG_fail
;
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 wxTreeItemId
* resultptr
;
29698 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29707 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
;
29709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29710 wxTreeItemId
*arg2
= 0 ;
29712 PyObject
* obj0
= 0 ;
29713 PyObject
* obj1
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self",(char *) "item", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29720 if (SWIG_arg_fail(1)) SWIG_fail
;
29722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29723 if (SWIG_arg_fail(2)) SWIG_fail
;
29724 if (arg2
== NULL
) {
29725 SWIG_null_ref("wxTreeItemId");
29727 if (SWIG_arg_fail(2)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= result
;
29743 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
;
29745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29746 wxTreeItemId
*arg2
= 0 ;
29747 void *arg3
= (void *) 0 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 PyObject
* obj2
= 0 ;
29752 char *kwnames
[] = {
29753 (char *) "self",(char *) "item",(char *) "cookie", NULL
29756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29758 if (SWIG_arg_fail(1)) SWIG_fail
;
29760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29762 if (arg2
== NULL
) {
29763 SWIG_null_ref("wxTreeItemId");
29765 if (SWIG_arg_fail(2)) SWIG_fail
;
29768 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29769 SWIG_arg_fail(3);SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
;
29786 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29789 wxTreeItemId
*arg2
= 0 ;
29790 wxTreeItemId result
;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 char *kwnames
[] = {
29794 (char *) "self",(char *) "item", NULL
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29799 if (SWIG_arg_fail(1)) SWIG_fail
;
29801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29802 if (SWIG_arg_fail(2)) SWIG_fail
;
29803 if (arg2
== NULL
) {
29804 SWIG_null_ref("wxTreeItemId");
29806 if (SWIG_arg_fail(2)) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 wxTreeItemId
* resultptr
;
29817 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29826 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29829 wxTreeItemId
*arg2
= 0 ;
29830 wxTreeItemId result
;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "item", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29839 if (SWIG_arg_fail(1)) SWIG_fail
;
29841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29842 if (SWIG_arg_fail(2)) SWIG_fail
;
29843 if (arg2
== NULL
) {
29844 SWIG_null_ref("wxTreeItemId");
29846 if (SWIG_arg_fail(2)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 wxTreeItemId
* resultptr
;
29857 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29866 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29869 wxTreeItemId
*arg2
= 0 ;
29870 wxTreeItemId result
;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self",(char *) "item", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail
;
29881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail
;
29883 if (arg2
== NULL
) {
29884 SWIG_null_ref("wxTreeItemId");
29886 if (SWIG_arg_fail(2)) SWIG_fail
;
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29896 wxTreeItemId
* resultptr
;
29897 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29906 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29909 wxTreeItemId result
;
29910 PyObject
* obj0
= 0 ;
29911 char *kwnames
[] = {
29912 (char *) "self", NULL
29915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29917 if (SWIG_arg_fail(1)) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 wxTreeItemId
* resultptr
;
29927 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29936 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29939 wxTreeItemId
*arg2
= 0 ;
29940 wxTreeItemId result
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "item", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail
;
29951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29953 if (arg2
== NULL
) {
29954 SWIG_null_ref("wxTreeItemId");
29956 if (SWIG_arg_fail(2)) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 wxTreeItemId
* resultptr
;
29967 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29976 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
;
29978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29979 wxTreeItemId
*arg2
= 0 ;
29980 wxTreeItemId result
;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "item", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29992 if (SWIG_arg_fail(2)) SWIG_fail
;
29993 if (arg2
== NULL
) {
29994 SWIG_null_ref("wxTreeItemId");
29996 if (SWIG_arg_fail(2)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 wxTreeItemId
* resultptr
;
30007 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30016 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30019 wxString
*arg2
= 0 ;
30020 int arg3
= (int) -1 ;
30021 int arg4
= (int) -1 ;
30022 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
30023 wxTreeItemId result
;
30024 bool temp2
= false ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 PyObject
* obj2
= 0 ;
30028 PyObject
* obj3
= 0 ;
30029 PyObject
* obj4
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail
;
30038 arg2
= wxString_in_helper(obj1
);
30039 if (arg2
== NULL
) SWIG_fail
;
30044 arg3
= (int)(SWIG_As_int(obj2
));
30045 if (SWIG_arg_fail(3)) SWIG_fail
;
30050 arg4
= (int)(SWIG_As_int(obj3
));
30051 if (SWIG_arg_fail(4)) SWIG_fail
;
30055 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(5)) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30066 wxTreeItemId
* resultptr
;
30067 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30084 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30087 wxTreeItemId
*arg2
= 0 ;
30088 wxString
*arg3
= 0 ;
30089 int arg4
= (int) -1 ;
30090 int arg5
= (int) -1 ;
30091 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30092 wxTreeItemId result
;
30093 bool temp3
= false ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 PyObject
* obj2
= 0 ;
30097 PyObject
* obj3
= 0 ;
30098 PyObject
* obj4
= 0 ;
30099 PyObject
* obj5
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail
;
30108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30109 if (SWIG_arg_fail(2)) SWIG_fail
;
30110 if (arg2
== NULL
) {
30111 SWIG_null_ref("wxTreeItemId");
30113 if (SWIG_arg_fail(2)) SWIG_fail
;
30116 arg3
= wxString_in_helper(obj2
);
30117 if (arg3
== NULL
) SWIG_fail
;
30122 arg4
= (int)(SWIG_As_int(obj3
));
30123 if (SWIG_arg_fail(4)) SWIG_fail
;
30128 arg5
= (int)(SWIG_As_int(obj4
));
30129 if (SWIG_arg_fail(5)) SWIG_fail
;
30133 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30134 if (SWIG_arg_fail(6)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30144 wxTreeItemId
* resultptr
;
30145 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30162 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30165 wxTreeItemId
*arg2
= 0 ;
30166 wxTreeItemId
*arg3
= 0 ;
30167 wxString
*arg4
= 0 ;
30168 int arg5
= (int) -1 ;
30169 int arg6
= (int) -1 ;
30170 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30171 wxTreeItemId result
;
30172 bool temp4
= false ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 PyObject
* obj2
= 0 ;
30176 PyObject
* obj3
= 0 ;
30177 PyObject
* obj4
= 0 ;
30178 PyObject
* obj5
= 0 ;
30179 PyObject
* obj6
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30186 if (SWIG_arg_fail(1)) SWIG_fail
;
30188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30189 if (SWIG_arg_fail(2)) SWIG_fail
;
30190 if (arg2
== NULL
) {
30191 SWIG_null_ref("wxTreeItemId");
30193 if (SWIG_arg_fail(2)) SWIG_fail
;
30196 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30197 if (SWIG_arg_fail(3)) SWIG_fail
;
30198 if (arg3
== NULL
) {
30199 SWIG_null_ref("wxTreeItemId");
30201 if (SWIG_arg_fail(3)) SWIG_fail
;
30204 arg4
= wxString_in_helper(obj3
);
30205 if (arg4
== NULL
) SWIG_fail
;
30210 arg5
= (int)(SWIG_As_int(obj4
));
30211 if (SWIG_arg_fail(5)) SWIG_fail
;
30216 arg6
= (int)(SWIG_As_int(obj5
));
30217 if (SWIG_arg_fail(6)) SWIG_fail
;
30221 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30222 if (SWIG_arg_fail(7)) SWIG_fail
;
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30232 wxTreeItemId
* resultptr
;
30233 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30250 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30253 wxTreeItemId
*arg2
= 0 ;
30255 wxString
*arg4
= 0 ;
30256 int arg5
= (int) -1 ;
30257 int arg6
= (int) -1 ;
30258 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30259 wxTreeItemId result
;
30260 bool temp4
= false ;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 PyObject
* obj2
= 0 ;
30264 PyObject
* obj3
= 0 ;
30265 PyObject
* obj4
= 0 ;
30266 PyObject
* obj5
= 0 ;
30267 PyObject
* obj6
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30274 if (SWIG_arg_fail(1)) SWIG_fail
;
30276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30277 if (SWIG_arg_fail(2)) SWIG_fail
;
30278 if (arg2
== NULL
) {
30279 SWIG_null_ref("wxTreeItemId");
30281 if (SWIG_arg_fail(2)) SWIG_fail
;
30284 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30285 if (SWIG_arg_fail(3)) SWIG_fail
;
30288 arg4
= wxString_in_helper(obj3
);
30289 if (arg4
== NULL
) SWIG_fail
;
30294 arg5
= (int)(SWIG_As_int(obj4
));
30295 if (SWIG_arg_fail(5)) SWIG_fail
;
30300 arg6
= (int)(SWIG_As_int(obj5
));
30301 if (SWIG_arg_fail(6)) SWIG_fail
;
30305 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30306 if (SWIG_arg_fail(7)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30316 wxTreeItemId
* resultptr
;
30317 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30334 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
;
30336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30337 wxTreeItemId
*arg2
= 0 ;
30338 wxString
*arg3
= 0 ;
30339 int arg4
= (int) -1 ;
30340 int arg5
= (int) -1 ;
30341 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30342 wxTreeItemId result
;
30343 bool temp3
= false ;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 PyObject
* obj2
= 0 ;
30347 PyObject
* obj3
= 0 ;
30348 PyObject
* obj4
= 0 ;
30349 PyObject
* obj5
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30356 if (SWIG_arg_fail(1)) SWIG_fail
;
30358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30359 if (SWIG_arg_fail(2)) SWIG_fail
;
30360 if (arg2
== NULL
) {
30361 SWIG_null_ref("wxTreeItemId");
30363 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 arg3
= wxString_in_helper(obj2
);
30367 if (arg3
== NULL
) SWIG_fail
;
30372 arg4
= (int)(SWIG_As_int(obj3
));
30373 if (SWIG_arg_fail(4)) SWIG_fail
;
30378 arg5
= (int)(SWIG_As_int(obj4
));
30379 if (SWIG_arg_fail(5)) SWIG_fail
;
30383 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30384 if (SWIG_arg_fail(6)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 wxTreeItemId
* resultptr
;
30395 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30412 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
;
30414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30415 wxTreeItemId
*arg2
= 0 ;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char *kwnames
[] = {
30419 (char *) "self",(char *) "item", NULL
30422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30424 if (SWIG_arg_fail(1)) SWIG_fail
;
30426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30427 if (SWIG_arg_fail(2)) SWIG_fail
;
30428 if (arg2
== NULL
) {
30429 SWIG_null_ref("wxTreeItemId");
30431 if (SWIG_arg_fail(2)) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30450 wxTreeItemId
*arg2
= 0 ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self",(char *) "item", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30459 if (SWIG_arg_fail(1)) SWIG_fail
;
30461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30463 if (arg2
== NULL
) {
30464 SWIG_null_ref("wxTreeItemId");
30466 if (SWIG_arg_fail(2)) SWIG_fail
;
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail
;
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 (arg1
)->DeleteAllItems();
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 Py_INCREF(Py_None
); resultobj
= Py_None
;
30507 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
;
30509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30510 wxTreeItemId
*arg2
= 0 ;
30511 PyObject
* obj0
= 0 ;
30512 PyObject
* obj1
= 0 ;
30513 char *kwnames
[] = {
30514 (char *) "self",(char *) "item", NULL
30517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30519 if (SWIG_arg_fail(1)) SWIG_fail
;
30521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30522 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 if (arg2
== NULL
) {
30524 SWIG_null_ref("wxTreeItemId");
30526 if (SWIG_arg_fail(2)) SWIG_fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 Py_INCREF(Py_None
); resultobj
= Py_None
;
30542 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30545 wxTreeItemId
*arg2
= 0 ;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 char *kwnames
[] = {
30549 (char *) "self",(char *) "item", NULL
30552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30554 if (SWIG_arg_fail(1)) SWIG_fail
;
30556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30557 if (SWIG_arg_fail(2)) SWIG_fail
;
30558 if (arg2
== NULL
) {
30559 SWIG_null_ref("wxTreeItemId");
30561 if (SWIG_arg_fail(2)) SWIG_fail
;
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 Py_INCREF(Py_None
); resultobj
= Py_None
;
30577 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30580 wxTreeItemId
*arg2
= 0 ;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 char *kwnames
[] = {
30584 (char *) "self",(char *) "item", NULL
30587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30589 if (SWIG_arg_fail(1)) SWIG_fail
;
30591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(2)) SWIG_fail
;
30593 if (arg2
== NULL
) {
30594 SWIG_null_ref("wxTreeItemId");
30596 if (SWIG_arg_fail(2)) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 Py_INCREF(Py_None
); resultobj
= Py_None
;
30612 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
;
30614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30615 wxTreeItemId
*arg2
= 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 char *kwnames
[] = {
30619 (char *) "self",(char *) "item", NULL
30622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30624 if (SWIG_arg_fail(1)) SWIG_fail
;
30626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30628 if (arg2
== NULL
) {
30629 SWIG_null_ref("wxTreeItemId");
30631 if (SWIG_arg_fail(2)) SWIG_fail
;
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30637 wxPyEndAllowThreads(__tstate
);
30638 if (PyErr_Occurred()) SWIG_fail
;
30640 Py_INCREF(Py_None
); resultobj
= Py_None
;
30647 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 char *kwnames
[] = {
30652 (char *) "self", NULL
30655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30657 if (SWIG_arg_fail(1)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 (arg1
)->Unselect();
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 Py_INCREF(Py_None
); resultobj
= Py_None
;
30672 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30675 wxTreeItemId
*arg2
= 0 ;
30676 PyObject
* obj0
= 0 ;
30677 PyObject
* obj1
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self",(char *) "item", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30684 if (SWIG_arg_fail(1)) SWIG_fail
;
30686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30688 if (arg2
== NULL
) {
30689 SWIG_null_ref("wxTreeItemId");
30691 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30700 Py_INCREF(Py_None
); resultobj
= Py_None
;
30707 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30708 PyObject
*resultobj
;
30709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30710 PyObject
* obj0
= 0 ;
30711 char *kwnames
[] = {
30712 (char *) "self", NULL
30715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30717 if (SWIG_arg_fail(1)) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->UnselectAll();
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 Py_INCREF(Py_None
); resultobj
= Py_None
;
30732 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30735 wxTreeItemId
*arg2
= 0 ;
30736 bool arg3
= (bool) true ;
30737 PyObject
* obj0
= 0 ;
30738 PyObject
* obj1
= 0 ;
30739 PyObject
* obj2
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "item",(char *) "select", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30746 if (SWIG_arg_fail(1)) SWIG_fail
;
30748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30749 if (SWIG_arg_fail(2)) SWIG_fail
;
30750 if (arg2
== NULL
) {
30751 SWIG_null_ref("wxTreeItemId");
30753 if (SWIG_arg_fail(2)) SWIG_fail
;
30757 arg3
= (bool)(SWIG_As_bool(obj2
));
30758 if (SWIG_arg_fail(3)) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30778 wxTreeItemId
*arg2
= 0 ;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self",(char *) "item", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30790 if (SWIG_arg_fail(2)) SWIG_fail
;
30791 if (arg2
== NULL
) {
30792 SWIG_null_ref("wxTreeItemId");
30794 if (SWIG_arg_fail(2)) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 Py_INCREF(Py_None
); resultobj
= Py_None
;
30810 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30811 PyObject
*resultobj
;
30812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30813 wxTreeItemId
*arg2
= 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self",(char *) "item", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail
;
30824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30825 if (SWIG_arg_fail(2)) SWIG_fail
;
30826 if (arg2
== NULL
) {
30827 SWIG_null_ref("wxTreeItemId");
30829 if (SWIG_arg_fail(2)) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 Py_INCREF(Py_None
); resultobj
= Py_None
;
30845 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30848 wxTreeItemId
*arg2
= 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "item", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail
;
30859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30860 if (SWIG_arg_fail(2)) SWIG_fail
;
30861 if (arg2
== NULL
) {
30862 SWIG_null_ref("wxTreeItemId");
30864 if (SWIG_arg_fail(2)) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 Py_INCREF(Py_None
); resultobj
= Py_None
;
30880 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30883 wxTreeItemId
*arg2
= 0 ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self",(char *) "item", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30895 if (SWIG_arg_fail(2)) SWIG_fail
;
30896 if (arg2
== NULL
) {
30897 SWIG_null_ref("wxTreeItemId");
30899 if (SWIG_arg_fail(2)) SWIG_fail
;
30902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30903 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30908 Py_INCREF(Py_None
); resultobj
= Py_None
;
30915 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30918 wxTextCtrl
*result
;
30919 PyObject
* obj0
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= wxPyMake_wxObject(result
, 0);
30943 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30946 wxTreeItemId
*arg2
= 0 ;
30947 bool arg3
= (bool) false ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 PyObject
* obj2
= 0 ;
30951 char *kwnames
[] = {
30952 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30957 if (SWIG_arg_fail(1)) SWIG_fail
;
30959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30960 if (SWIG_arg_fail(2)) SWIG_fail
;
30961 if (arg2
== NULL
) {
30962 SWIG_null_ref("wxTreeItemId");
30964 if (SWIG_arg_fail(2)) SWIG_fail
;
30968 arg3
= (bool)(SWIG_As_bool(obj2
));
30969 if (SWIG_arg_fail(3)) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 Py_INCREF(Py_None
); resultobj
= Py_None
;
30986 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30987 PyObject
*resultobj
;
30988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30989 wxTreeItemId
*arg2
= 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self",(char *) "item", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30998 if (SWIG_arg_fail(1)) SWIG_fail
;
31000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(2)) SWIG_fail
;
31002 if (arg2
== NULL
) {
31003 SWIG_null_ref("wxTreeItemId");
31005 if (SWIG_arg_fail(2)) SWIG_fail
;
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 Py_INCREF(Py_None
); resultobj
= Py_None
;
31021 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31024 wxPoint
*arg2
= 0 ;
31026 wxTreeItemId result
;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self",(char *) "point", NULL
31036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
31038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail
;
31042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31052 wxTreeItemId
* resultptr
;
31053 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31056 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
31057 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
31064 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31065 PyObject
*resultobj
;
31066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31067 wxTreeItemId
*arg2
= 0 ;
31068 bool arg3
= (bool) false ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 PyObject
* obj2
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31079 if (SWIG_arg_fail(1)) SWIG_fail
;
31081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31082 if (SWIG_arg_fail(2)) SWIG_fail
;
31083 if (arg2
== NULL
) {
31084 SWIG_null_ref("wxTreeItemId");
31086 if (SWIG_arg_fail(2)) SWIG_fail
;
31090 arg3
= (bool)(SWIG_As_bool(obj2
));
31091 if (SWIG_arg_fail(3)) SWIG_fail
;
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= result
;
31108 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31111 wxTreeItemId
*arg2
= 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 PyObject
* obj2
= 0 ;
31116 char *kwnames
[] = {
31117 (char *) "self",(char *) "node",(char *) "state", NULL
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31122 if (SWIG_arg_fail(1)) SWIG_fail
;
31124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31125 if (SWIG_arg_fail(2)) SWIG_fail
;
31126 if (arg2
== NULL
) {
31127 SWIG_null_ref("wxTreeItemId");
31129 if (SWIG_arg_fail(2)) SWIG_fail
;
31132 arg3
= (int)(SWIG_As_int(obj2
));
31133 if (SWIG_arg_fail(3)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31142 Py_INCREF(Py_None
); resultobj
= Py_None
;
31149 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
;
31151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31152 wxTreeItemId
*arg2
= 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "node", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31162 if (SWIG_arg_fail(1)) SWIG_fail
;
31164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31165 if (SWIG_arg_fail(2)) SWIG_fail
;
31166 if (arg2
== NULL
) {
31167 SWIG_null_ref("wxTreeItemId");
31169 if (SWIG_arg_fail(2)) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_From_int((int)(result
));
31187 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31190 wxVisualAttributes result
;
31191 PyObject
* obj0
= 0 ;
31192 char *kwnames
[] = {
31193 (char *) "variant", NULL
31196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31199 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31204 if (!wxPyCheckForApp()) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31212 wxVisualAttributes
* resultptr
;
31213 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31222 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31225 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31227 return Py_BuildValue((char *)"");
31229 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31230 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31235 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31240 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31242 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31249 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 wxWindow
*arg1
= (wxWindow
*) 0 ;
31252 int arg2
= (int) (int)-1 ;
31253 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31259 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31260 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31262 int arg8
= (int) 0 ;
31263 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31264 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31265 wxGenericDirCtrl
*result
;
31266 bool temp3
= false ;
31269 bool temp7
= false ;
31270 bool temp9
= false ;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 PyObject
* obj3
= 0 ;
31275 PyObject
* obj4
= 0 ;
31276 PyObject
* obj5
= 0 ;
31277 PyObject
* obj6
= 0 ;
31278 PyObject
* obj7
= 0 ;
31279 PyObject
* obj8
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31286 if (SWIG_arg_fail(1)) SWIG_fail
;
31289 arg2
= (int const)(SWIG_As_int(obj1
));
31290 if (SWIG_arg_fail(2)) SWIG_fail
;
31295 arg3
= wxString_in_helper(obj2
);
31296 if (arg3
== NULL
) SWIG_fail
;
31303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31314 arg6
= (long)(SWIG_As_long(obj5
));
31315 if (SWIG_arg_fail(6)) SWIG_fail
;
31320 arg7
= wxString_in_helper(obj6
);
31321 if (arg7
== NULL
) SWIG_fail
;
31327 arg8
= (int)(SWIG_As_int(obj7
));
31328 if (SWIG_arg_fail(8)) SWIG_fail
;
31333 arg9
= wxString_in_helper(obj8
);
31334 if (arg9
== NULL
) SWIG_fail
;
31339 if (!wxPyCheckForApp()) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31377 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxGenericDirCtrl
*result
;
31380 char *kwnames
[] = {
31384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31386 if (!wxPyCheckForApp()) SWIG_fail
;
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31400 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31403 wxWindow
*arg2
= (wxWindow
*) 0 ;
31404 int arg3
= (int) (int)-1 ;
31405 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31407 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31408 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31409 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31410 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31411 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31412 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31413 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31414 int arg9
= (int) 0 ;
31415 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31416 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31418 bool temp4
= false ;
31421 bool temp8
= false ;
31422 bool temp10
= false ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 PyObject
* obj2
= 0 ;
31426 PyObject
* obj3
= 0 ;
31427 PyObject
* obj4
= 0 ;
31428 PyObject
* obj5
= 0 ;
31429 PyObject
* obj6
= 0 ;
31430 PyObject
* obj7
= 0 ;
31431 PyObject
* obj8
= 0 ;
31432 PyObject
* obj9
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail
;
31440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31441 if (SWIG_arg_fail(2)) SWIG_fail
;
31444 arg3
= (int const)(SWIG_As_int(obj2
));
31445 if (SWIG_arg_fail(3)) SWIG_fail
;
31450 arg4
= wxString_in_helper(obj3
);
31451 if (arg4
== NULL
) SWIG_fail
;
31458 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31464 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31469 arg7
= (long)(SWIG_As_long(obj6
));
31470 if (SWIG_arg_fail(7)) SWIG_fail
;
31475 arg8
= wxString_in_helper(obj7
);
31476 if (arg8
== NULL
) SWIG_fail
;
31482 arg9
= (int)(SWIG_As_int(obj8
));
31483 if (SWIG_arg_fail(9)) SWIG_fail
;
31488 arg10
= wxString_in_helper(obj9
);
31489 if (arg10
== NULL
) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31533 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
;
31535 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31536 wxString
*arg2
= 0 ;
31538 bool temp2
= false ;
31539 PyObject
* obj0
= 0 ;
31540 PyObject
* obj1
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self",(char *) "path", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 arg2
= wxString_in_helper(obj1
);
31550 if (arg2
== NULL
) SWIG_fail
;
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31577 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31581 PyObject
* obj0
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31588 if (SWIG_arg_fail(1)) SWIG_fail
;
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31609 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31612 wxString
*arg2
= 0 ;
31613 bool temp2
= false ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 char *kwnames
[] = {
31617 (char *) "self",(char *) "path", NULL
31620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31622 if (SWIG_arg_fail(1)) SWIG_fail
;
31624 arg2
= wxString_in_helper(obj1
);
31625 if (arg2
== NULL
) SWIG_fail
;
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 Py_INCREF(Py_None
); resultobj
= Py_None
;
31650 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
;
31652 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 char *kwnames
[] = {
31656 (char *) "self", NULL
31659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31661 if (SWIG_arg_fail(1)) SWIG_fail
;
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31682 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
;
31684 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31686 PyObject
* obj0
= 0 ;
31687 char *kwnames
[] = {
31688 (char *) "self", NULL
31691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31693 if (SWIG_arg_fail(1)) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31714 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31717 wxString
*arg2
= 0 ;
31718 bool temp2
= false ;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "self",(char *) "path", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail
;
31729 arg2
= wxString_in_helper(obj1
);
31730 if (arg2
== NULL
) SWIG_fail
;
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 (arg1
)->SetPath((wxString
const &)*arg2
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31740 Py_INCREF(Py_None
); resultobj
= Py_None
;
31755 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
;
31757 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "show", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail
;
31769 arg2
= (bool)(SWIG_As_bool(obj1
));
31770 if (SWIG_arg_fail(2)) SWIG_fail
;
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 (arg1
)->ShowHidden(arg2
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 Py_INCREF(Py_None
); resultobj
= Py_None
;
31786 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
;
31788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31790 PyObject
* obj0
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31797 if (SWIG_arg_fail(1)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 result
= (bool)(arg1
)->GetShowHidden();
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31814 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail
;
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31846 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
;
31848 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31849 wxString
*arg2
= 0 ;
31850 bool temp2
= false ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 char *kwnames
[] = {
31854 (char *) "self",(char *) "filter", NULL
31857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31859 if (SWIG_arg_fail(1)) SWIG_fail
;
31861 arg2
= wxString_in_helper(obj1
);
31862 if (arg2
== NULL
) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->SetFilter((wxString
const &)*arg2
);
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 Py_INCREF(Py_None
); resultobj
= Py_None
;
31887 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "self", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31898 if (SWIG_arg_fail(1)) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_From_int((int)(result
));
31915 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
;
31917 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "n", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31929 arg2
= (int)(SWIG_As_int(obj1
));
31930 if (SWIG_arg_fail(2)) SWIG_fail
;
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 (arg1
)->SetFilterIndex(arg2
);
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 Py_INCREF(Py_None
); resultobj
= Py_None
;
31946 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
;
31948 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31949 wxTreeItemId result
;
31950 PyObject
* obj0
= 0 ;
31951 char *kwnames
[] = {
31952 (char *) "self", NULL
31955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31957 if (SWIG_arg_fail(1)) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (arg1
)->GetRootId();
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31966 wxTreeItemId
* resultptr
;
31967 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31976 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31979 wxPyTreeCtrl
*result
;
31980 PyObject
* obj0
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31987 if (SWIG_arg_fail(1)) SWIG_fail
;
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= wxPyMake_wxObject(result
, 0);
32004 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
;
32006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32007 wxDirFilterListCtrl
*result
;
32008 PyObject
* obj0
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
32014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32015 if (SWIG_arg_fail(1)) SWIG_fail
;
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
32030 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
;
32032 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32033 wxTreeItemId arg2
;
32034 wxString
*arg3
= 0 ;
32036 wxTreeItemId result
;
32037 bool temp3
= false ;
32040 PyObject
* obj0
= 0 ;
32041 PyObject
* obj1
= 0 ;
32042 PyObject
* obj2
= 0 ;
32043 char *kwnames
[] = {
32044 (char *) "self",(char *) "parentId",(char *) "path", NULL
32047 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32050 if (SWIG_arg_fail(1)) SWIG_fail
;
32052 wxTreeItemId
* argp
;
32053 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
32054 if (SWIG_arg_fail(2)) SWIG_fail
;
32055 if (argp
== NULL
) {
32056 SWIG_null_ref("wxTreeItemId");
32058 if (SWIG_arg_fail(2)) SWIG_fail
;
32062 arg3
= wxString_in_helper(obj2
);
32063 if (arg3
== NULL
) SWIG_fail
;
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32074 wxTreeItemId
* resultptr
;
32075 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
32076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
32078 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
32079 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
32094 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32097 PyObject
* obj0
= 0 ;
32098 char *kwnames
[] = {
32099 (char *) "self", NULL
32102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
32103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32104 if (SWIG_arg_fail(1)) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->DoResize();
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 Py_INCREF(Py_None
); resultobj
= Py_None
;
32119 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 char *kwnames
[] = {
32124 (char *) "self", NULL
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32129 if (SWIG_arg_fail(1)) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->ReCreateTree();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 Py_INCREF(Py_None
); resultobj
= Py_None
;
32144 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32149 return Py_BuildValue((char *)"");
32151 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32154 int arg2
= (int) (int)-1 ;
32155 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32156 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32157 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32158 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32159 long arg5
= (long) 0 ;
32160 wxDirFilterListCtrl
*result
;
32163 PyObject
* obj0
= 0 ;
32164 PyObject
* obj1
= 0 ;
32165 PyObject
* obj2
= 0 ;
32166 PyObject
* obj3
= 0 ;
32167 PyObject
* obj4
= 0 ;
32168 char *kwnames
[] = {
32169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32174 if (SWIG_arg_fail(1)) SWIG_fail
;
32177 arg2
= (int const)(SWIG_As_int(obj1
));
32178 if (SWIG_arg_fail(2)) SWIG_fail
;
32184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32195 arg5
= (long)(SWIG_As_long(obj4
));
32196 if (SWIG_arg_fail(5)) SWIG_fail
;
32200 if (!wxPyCheckForApp()) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32214 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32215 PyObject
*resultobj
;
32216 wxDirFilterListCtrl
*result
;
32217 char *kwnames
[] = {
32221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32223 if (!wxPyCheckForApp()) SWIG_fail
;
32224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32225 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32227 wxPyEndAllowThreads(__tstate
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32237 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32238 PyObject
*resultobj
;
32239 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32240 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32241 int arg3
= (int) (int)-1 ;
32242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32246 long arg6
= (long) 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 PyObject
* obj2
= 0 ;
32253 PyObject
* obj3
= 0 ;
32254 PyObject
* obj4
= 0 ;
32255 PyObject
* obj5
= 0 ;
32256 char *kwnames
[] = {
32257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32262 if (SWIG_arg_fail(1)) SWIG_fail
;
32263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32264 if (SWIG_arg_fail(2)) SWIG_fail
;
32267 arg3
= (int const)(SWIG_As_int(obj2
));
32268 if (SWIG_arg_fail(3)) SWIG_fail
;
32274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32285 arg6
= (long)(SWIG_As_long(obj5
));
32286 if (SWIG_arg_fail(6)) SWIG_fail
;
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32305 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32308 wxString
*arg2
= 0 ;
32310 bool temp2
= false ;
32311 PyObject
* obj0
= 0 ;
32312 PyObject
* obj1
= 0 ;
32313 PyObject
* obj2
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32320 if (SWIG_arg_fail(1)) SWIG_fail
;
32322 arg2
= wxString_in_helper(obj1
);
32323 if (arg2
== NULL
) SWIG_fail
;
32327 arg3
= (int)(SWIG_As_int(obj2
));
32328 if (SWIG_arg_fail(3)) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 Py_INCREF(Py_None
); resultobj
= Py_None
;
32352 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32355 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32357 return Py_BuildValue((char *)"");
32359 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxWindow
*arg1
= (wxWindow
*) 0 ;
32362 int arg2
= (int) (int)-1 ;
32363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32367 long arg5
= (long) 0 ;
32368 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32369 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32370 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32372 wxPyControl
*result
;
32375 bool temp7
= false ;
32376 PyObject
* obj0
= 0 ;
32377 PyObject
* obj1
= 0 ;
32378 PyObject
* obj2
= 0 ;
32379 PyObject
* obj3
= 0 ;
32380 PyObject
* obj4
= 0 ;
32381 PyObject
* obj5
= 0 ;
32382 PyObject
* obj6
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail
;
32392 arg2
= (int const)(SWIG_As_int(obj1
));
32393 if (SWIG_arg_fail(2)) SWIG_fail
;
32399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32405 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32410 arg5
= (long)(SWIG_As_long(obj4
));
32411 if (SWIG_arg_fail(5)) SWIG_fail
;
32416 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32417 if (SWIG_arg_fail(6)) SWIG_fail
;
32418 if (arg6
== NULL
) {
32419 SWIG_null_ref("wxValidator");
32421 if (SWIG_arg_fail(6)) SWIG_fail
;
32426 arg7
= wxString_in_helper(obj6
);
32427 if (arg7
== NULL
) SWIG_fail
;
32432 if (!wxPyCheckForApp()) SWIG_fail
;
32433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32434 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32454 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 wxPyControl
*result
;
32457 char *kwnames
[] = {
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32463 if (!wxPyCheckForApp()) SWIG_fail
;
32464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 result
= (wxPyControl
*)new wxPyControl();
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32477 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
;
32479 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32480 PyObject
*arg2
= (PyObject
*) 0 ;
32481 PyObject
*arg3
= (PyObject
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self",(char *) "self",(char *) "_class", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail
;
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32498 wxPyEndAllowThreads(__tstate
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32501 Py_INCREF(Py_None
); resultobj
= Py_None
;
32508 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32509 PyObject
*resultobj
;
32510 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32513 PyObject
* obj0
= 0 ;
32514 PyObject
* obj1
= 0 ;
32515 char *kwnames
[] = {
32516 (char *) "self",(char *) "size", NULL
32519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32521 if (SWIG_arg_fail(1)) SWIG_fail
;
32524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 Py_INCREF(Py_None
); resultobj
= Py_None
;
32540 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
;
32542 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 PyObject
* obj1
= 0 ;
32549 PyObject
* obj2
= 0 ;
32550 PyObject
* obj3
= 0 ;
32551 PyObject
* obj4
= 0 ;
32552 char *kwnames
[] = {
32553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32558 if (SWIG_arg_fail(1)) SWIG_fail
;
32560 arg2
= (int)(SWIG_As_int(obj1
));
32561 if (SWIG_arg_fail(2)) SWIG_fail
;
32564 arg3
= (int)(SWIG_As_int(obj2
));
32565 if (SWIG_arg_fail(3)) SWIG_fail
;
32568 arg4
= (int)(SWIG_As_int(obj3
));
32569 if (SWIG_arg_fail(4)) SWIG_fail
;
32572 arg5
= (int)(SWIG_As_int(obj4
));
32573 if (SWIG_arg_fail(5)) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32579 wxPyEndAllowThreads(__tstate
);
32580 if (PyErr_Occurred()) SWIG_fail
;
32582 Py_INCREF(Py_None
); resultobj
= Py_None
;
32589 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32590 PyObject
*resultobj
;
32591 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32596 int arg6
= (int) wxSIZE_AUTO
;
32597 PyObject
* obj0
= 0 ;
32598 PyObject
* obj1
= 0 ;
32599 PyObject
* obj2
= 0 ;
32600 PyObject
* obj3
= 0 ;
32601 PyObject
* obj4
= 0 ;
32602 PyObject
* obj5
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32609 if (SWIG_arg_fail(1)) SWIG_fail
;
32611 arg2
= (int)(SWIG_As_int(obj1
));
32612 if (SWIG_arg_fail(2)) SWIG_fail
;
32615 arg3
= (int)(SWIG_As_int(obj2
));
32616 if (SWIG_arg_fail(3)) SWIG_fail
;
32619 arg4
= (int)(SWIG_As_int(obj3
));
32620 if (SWIG_arg_fail(4)) SWIG_fail
;
32623 arg5
= (int)(SWIG_As_int(obj4
));
32624 if (SWIG_arg_fail(5)) SWIG_fail
;
32628 arg6
= (int)(SWIG_As_int(obj5
));
32629 if (SWIG_arg_fail(6)) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32639 Py_INCREF(Py_None
); resultobj
= Py_None
;
32646 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
;
32648 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 PyObject
* obj2
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self",(char *) "width",(char *) "height", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32660 if (SWIG_arg_fail(1)) SWIG_fail
;
32662 arg2
= (int)(SWIG_As_int(obj1
));
32663 if (SWIG_arg_fail(2)) SWIG_fail
;
32666 arg3
= (int)(SWIG_As_int(obj2
));
32667 if (SWIG_arg_fail(3)) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 Py_INCREF(Py_None
); resultobj
= Py_None
;
32683 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32684 PyObject
*resultobj
;
32685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32688 PyObject
* obj0
= 0 ;
32689 PyObject
* obj1
= 0 ;
32690 PyObject
* obj2
= 0 ;
32691 char *kwnames
[] = {
32692 (char *) "self",(char *) "x",(char *) "y", NULL
32695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32697 if (SWIG_arg_fail(1)) SWIG_fail
;
32699 arg2
= (int)(SWIG_As_int(obj1
));
32700 if (SWIG_arg_fail(2)) SWIG_fail
;
32703 arg3
= (int)(SWIG_As_int(obj2
));
32704 if (SWIG_arg_fail(3)) SWIG_fail
;
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32710 wxPyEndAllowThreads(__tstate
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32713 Py_INCREF(Py_None
); resultobj
= Py_None
;
32720 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32721 PyObject
*resultobj
;
32722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32723 int *arg2
= (int *) 0 ;
32724 int *arg3
= (int *) 0 ;
32729 PyObject
* obj0
= 0 ;
32730 char *kwnames
[] = {
32731 (char *) "self", NULL
32734 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32735 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32738 if (SWIG_arg_fail(1)) SWIG_fail
;
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 Py_INCREF(Py_None
); resultobj
= Py_None
;
32747 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32748 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32749 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32750 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32757 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32758 PyObject
*resultobj
;
32759 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32760 int *arg2
= (int *) 0 ;
32761 int *arg3
= (int *) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 char *kwnames
[] = {
32768 (char *) "self", NULL
32771 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32772 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32775 if (SWIG_arg_fail(1)) SWIG_fail
;
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 Py_INCREF(Py_None
); resultobj
= Py_None
;
32784 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32785 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32786 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32787 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32794 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32797 int *arg2
= (int *) 0 ;
32798 int *arg3
= (int *) 0 ;
32803 PyObject
* obj0
= 0 ;
32804 char *kwnames
[] = {
32805 (char *) "self", NULL
32808 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32809 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32812 if (SWIG_arg_fail(1)) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32820 Py_INCREF(Py_None
); resultobj
= Py_None
;
32821 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32822 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32823 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32824 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32831 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32851 wxSize
* resultptr
;
32852 resultptr
= new wxSize((wxSize
&)(result
));
32853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32861 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
;
32863 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32865 PyObject
* obj0
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail
;
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32881 wxSize
* resultptr
;
32882 resultptr
= new wxSize((wxSize
&)(result
));
32883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32891 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
;
32893 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32894 PyObject
* obj0
= 0 ;
32895 char *kwnames
[] = {
32896 (char *) "self", NULL
32899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32901 if (SWIG_arg_fail(1)) SWIG_fail
;
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 (arg1
)->base_InitDialog();
32906 wxPyEndAllowThreads(__tstate
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32909 Py_INCREF(Py_None
); resultobj
= Py_None
;
32916 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
;
32918 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32920 PyObject
* obj0
= 0 ;
32921 char *kwnames
[] = {
32922 (char *) "self", NULL
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32927 if (SWIG_arg_fail(1)) SWIG_fail
;
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 result
= (bool)(arg1
)->base_TransferDataToWindow();
32932 wxPyEndAllowThreads(__tstate
);
32933 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32944 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32945 PyObject
*resultobj
;
32946 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 char *kwnames
[] = {
32950 (char *) "self", NULL
32953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32955 if (SWIG_arg_fail(1)) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32972 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (bool)(arg1
)->base_Validate();
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33000 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33001 PyObject
*resultobj
;
33002 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "self", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
33010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33011 if (SWIG_arg_fail(1)) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33028 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33029 PyObject
*resultobj
;
33030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33032 PyObject
* obj0
= 0 ;
33033 char *kwnames
[] = {
33034 (char *) "self", NULL
33037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
33038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33039 if (SWIG_arg_fail(1)) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33056 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
;
33058 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33060 PyObject
* obj0
= 0 ;
33061 char *kwnames
[] = {
33062 (char *) "self", NULL
33065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
33066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33067 if (SWIG_arg_fail(1)) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33076 wxSize
* resultptr
;
33077 resultptr
= new wxSize((wxSize
&)(result
));
33078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33086 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33087 PyObject
*resultobj
;
33088 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33089 wxWindow
*arg2
= (wxWindow
*) 0 ;
33090 PyObject
* obj0
= 0 ;
33091 PyObject
* obj1
= 0 ;
33092 char *kwnames
[] = {
33093 (char *) "self",(char *) "child", NULL
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33098 if (SWIG_arg_fail(1)) SWIG_fail
;
33099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33100 if (SWIG_arg_fail(2)) SWIG_fail
;
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 (arg1
)->base_AddChild(arg2
);
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33108 Py_INCREF(Py_None
); resultobj
= Py_None
;
33115 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
;
33117 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33118 wxWindow
*arg2
= (wxWindow
*) 0 ;
33119 PyObject
* obj0
= 0 ;
33120 PyObject
* obj1
= 0 ;
33121 char *kwnames
[] = {
33122 (char *) "self",(char *) "child", NULL
33125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33127 if (SWIG_arg_fail(1)) SWIG_fail
;
33128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33129 if (SWIG_arg_fail(2)) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 (arg1
)->base_RemoveChild(arg2
);
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 Py_INCREF(Py_None
); resultobj
= Py_None
;
33144 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 char *kwnames
[] = {
33150 (char *) "self", NULL
33153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33155 if (SWIG_arg_fail(1)) SWIG_fail
;
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33172 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
;
33174 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33175 wxColour
*arg2
= 0 ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self",(char *) "c", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
33184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33185 if (SWIG_arg_fail(1)) SWIG_fail
;
33188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 Py_INCREF(Py_None
); resultobj
= Py_None
;
33204 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
;
33206 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33207 wxVisualAttributes result
;
33208 PyObject
* obj0
= 0 ;
33209 char *kwnames
[] = {
33210 (char *) "self", NULL
33213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33215 if (SWIG_arg_fail(1)) SWIG_fail
;
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 result
= (arg1
)->base_GetDefaultAttributes();
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33224 wxVisualAttributes
* resultptr
;
33225 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33234 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33237 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33239 return Py_BuildValue((char *)"");
33241 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
;
33243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33244 int arg2
= (int) 0 ;
33245 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33246 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33247 wxHelpEvent
*result
;
33249 PyObject
* obj0
= 0 ;
33250 PyObject
* obj1
= 0 ;
33251 PyObject
* obj2
= 0 ;
33252 char *kwnames
[] = {
33253 (char *) "type",(char *) "winid",(char *) "pt", NULL
33256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33259 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33260 if (SWIG_arg_fail(1)) SWIG_fail
;
33265 arg2
= (int)(SWIG_As_int(obj1
));
33266 if (SWIG_arg_fail(2)) SWIG_fail
;
33272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33289 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
;
33291 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33293 PyObject
* obj0
= 0 ;
33294 char *kwnames
[] = {
33295 (char *) "self", NULL
33298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33300 if (SWIG_arg_fail(1)) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33309 wxPoint
* resultptr
;
33310 resultptr
= new wxPoint((wxPoint
const &)(result
));
33311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33319 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33320 PyObject
*resultobj
;
33321 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33322 wxPoint
*arg2
= 0 ;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 char *kwnames
[] = {
33327 (char *) "self",(char *) "pos", NULL
33330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33332 if (SWIG_arg_fail(1)) SWIG_fail
;
33335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33341 wxPyEndAllowThreads(__tstate
);
33342 if (PyErr_Occurred()) SWIG_fail
;
33344 Py_INCREF(Py_None
); resultobj
= Py_None
;
33351 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
;
33353 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33355 PyObject
* obj0
= 0 ;
33356 char *kwnames
[] = {
33357 (char *) "self", NULL
33360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33362 if (SWIG_arg_fail(1)) SWIG_fail
;
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33367 result
= (wxString
*) &_result_ref
;
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33386 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
;
33388 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33389 wxString
*arg2
= 0 ;
33390 bool temp2
= false ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char *kwnames
[] = {
33394 (char *) "self",(char *) "link", NULL
33397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33399 if (SWIG_arg_fail(1)) SWIG_fail
;
33401 arg2
= wxString_in_helper(obj1
);
33402 if (arg2
== NULL
) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->SetLink((wxString
const &)*arg2
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 Py_INCREF(Py_None
); resultobj
= Py_None
;
33427 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33428 PyObject
*resultobj
;
33429 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33431 PyObject
* obj0
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "self", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail
;
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33443 result
= (wxString
*) &_result_ref
;
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33453 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33462 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
;
33464 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33465 wxString
*arg2
= 0 ;
33466 bool temp2
= false ;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 char *kwnames
[] = {
33470 (char *) "self",(char *) "target", NULL
33473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33475 if (SWIG_arg_fail(1)) SWIG_fail
;
33477 arg2
= wxString_in_helper(obj1
);
33478 if (arg2
== NULL
) SWIG_fail
;
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 (arg1
)->SetTarget((wxString
const &)*arg2
);
33485 wxPyEndAllowThreads(__tstate
);
33486 if (PyErr_Occurred()) SWIG_fail
;
33488 Py_INCREF(Py_None
); resultobj
= Py_None
;
33503 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33506 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33508 return Py_BuildValue((char *)"");
33510 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33511 PyObject
*resultobj
;
33512 wxWindow
*arg1
= (wxWindow
*) NULL
;
33513 bool arg2
= (bool) true ;
33514 wxContextHelp
*result
;
33515 PyObject
* obj0
= 0 ;
33516 PyObject
* obj1
= 0 ;
33517 char *kwnames
[] = {
33518 (char *) "window",(char *) "doNow", NULL
33521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33524 if (SWIG_arg_fail(1)) SWIG_fail
;
33528 arg2
= (bool)(SWIG_As_bool(obj1
));
33529 if (SWIG_arg_fail(2)) SWIG_fail
;
33533 if (!wxPyCheckForApp()) SWIG_fail
;
33534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33535 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33547 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33548 PyObject
*resultobj
;
33549 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33550 PyObject
* obj0
= 0 ;
33551 char *kwnames
[] = {
33552 (char *) "self", NULL
33555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33557 if (SWIG_arg_fail(1)) SWIG_fail
;
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 wxPyEndAllowThreads(__tstate
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33565 Py_INCREF(Py_None
); resultobj
= Py_None
;
33572 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33573 PyObject
*resultobj
;
33574 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33575 wxWindow
*arg2
= (wxWindow
*) NULL
;
33577 PyObject
* obj0
= 0 ;
33578 PyObject
* obj1
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self",(char *) "window", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33585 if (SWIG_arg_fail(1)) SWIG_fail
;
33587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33588 if (SWIG_arg_fail(2)) SWIG_fail
;
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33606 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
;
33608 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33610 PyObject
* obj0
= 0 ;
33611 char *kwnames
[] = {
33612 (char *) "self", NULL
33615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33617 if (SWIG_arg_fail(1)) SWIG_fail
;
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 result
= (bool)(arg1
)->EndContextHelp();
33622 wxPyEndAllowThreads(__tstate
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33634 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33637 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33639 return Py_BuildValue((char *)"");
33641 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33642 PyObject
*resultobj
;
33643 wxWindow
*arg1
= (wxWindow
*) 0 ;
33644 int arg2
= (int) wxID_CONTEXT_HELP
;
33645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33649 long arg5
= (long) wxBU_AUTODRAW
;
33650 wxContextHelpButton
*result
;
33653 PyObject
* obj0
= 0 ;
33654 PyObject
* obj1
= 0 ;
33655 PyObject
* obj2
= 0 ;
33656 PyObject
* obj3
= 0 ;
33657 PyObject
* obj4
= 0 ;
33658 char *kwnames
[] = {
33659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33664 if (SWIG_arg_fail(1)) SWIG_fail
;
33667 arg2
= (int)(SWIG_As_int(obj1
));
33668 if (SWIG_arg_fail(2)) SWIG_fail
;
33674 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33680 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33685 arg5
= (long)(SWIG_As_long(obj4
));
33686 if (SWIG_arg_fail(5)) SWIG_fail
;
33690 if (!wxPyCheckForApp()) SWIG_fail
;
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33692 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33704 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33707 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33709 return Py_BuildValue((char *)"");
33711 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33712 PyObject
*resultobj
;
33713 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33714 wxHelpProvider
*result
;
33715 PyObject
* obj0
= 0 ;
33716 char *kwnames
[] = {
33717 (char *) "helpProvider", NULL
33720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33722 if (SWIG_arg_fail(1)) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33737 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
;
33739 wxHelpProvider
*result
;
33740 char *kwnames
[] = {
33744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33759 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
;
33761 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33762 wxWindow
*arg2
= (wxWindow
*) 0 ;
33764 PyObject
* obj0
= 0 ;
33765 PyObject
* obj1
= 0 ;
33766 char *kwnames
[] = {
33767 (char *) "self",(char *) "window", NULL
33770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33772 if (SWIG_arg_fail(1)) SWIG_fail
;
33773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33774 if (SWIG_arg_fail(2)) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33795 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
;
33797 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33798 wxWindow
*arg2
= (wxWindow
*) 0 ;
33800 PyObject
* obj0
= 0 ;
33801 PyObject
* obj1
= 0 ;
33802 char *kwnames
[] = {
33803 (char *) "self",(char *) "window", NULL
33806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33808 if (SWIG_arg_fail(1)) SWIG_fail
;
33809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33810 if (SWIG_arg_fail(2)) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (bool)(arg1
)->ShowHelp(arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33827 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
;
33829 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33830 wxWindow
*arg2
= (wxWindow
*) 0 ;
33831 wxString
*arg3
= 0 ;
33832 bool temp3
= false ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 PyObject
* obj2
= 0 ;
33836 char *kwnames
[] = {
33837 (char *) "self",(char *) "window",(char *) "text", NULL
33840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33842 if (SWIG_arg_fail(1)) SWIG_fail
;
33843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33844 if (SWIG_arg_fail(2)) SWIG_fail
;
33846 arg3
= wxString_in_helper(obj2
);
33847 if (arg3
== NULL
) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 Py_INCREF(Py_None
); resultobj
= Py_None
;
33872 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33876 wxString
*arg3
= 0 ;
33877 bool temp3
= false ;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 PyObject
* obj2
= 0 ;
33881 char *kwnames
[] = {
33882 (char *) "self",(char *) "id",(char *) "text", NULL
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33887 if (SWIG_arg_fail(1)) SWIG_fail
;
33889 arg2
= (int)(SWIG_As_int(obj1
));
33890 if (SWIG_arg_fail(2)) SWIG_fail
;
33893 arg3
= wxString_in_helper(obj2
);
33894 if (arg3
== NULL
) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33922 wxWindow
*arg2
= (wxWindow
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 PyObject
* obj1
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self",(char *) "window", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33931 if (SWIG_arg_fail(1)) SWIG_fail
;
33932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33933 if (SWIG_arg_fail(2)) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->RemoveHelp(arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 Py_INCREF(Py_None
); resultobj
= Py_None
;
33948 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 char *kwnames
[] = {
33953 (char *) "self", NULL
33956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33958 if (SWIG_arg_fail(1)) SWIG_fail
;
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 wxHelpProvider_Destroy(arg1
);
33963 wxPyEndAllowThreads(__tstate
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33966 Py_INCREF(Py_None
); resultobj
= Py_None
;
33973 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33976 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33978 return Py_BuildValue((char *)"");
33980 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxSimpleHelpProvider
*result
;
33983 char *kwnames
[] = {
33987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
34002 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
34004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34005 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
34007 return Py_BuildValue((char *)"");
34009 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
;
34011 wxBitmap
*arg1
= 0 ;
34012 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34013 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34014 wxGenericDragImage
*result
;
34015 PyObject
* obj0
= 0 ;
34016 PyObject
* obj1
= 0 ;
34017 char *kwnames
[] = {
34018 (char *) "image",(char *) "cursor", NULL
34021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
34023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34024 if (SWIG_arg_fail(1)) SWIG_fail
;
34025 if (arg1
== NULL
) {
34026 SWIG_null_ref("wxBitmap");
34028 if (SWIG_arg_fail(1)) SWIG_fail
;
34032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34033 if (SWIG_arg_fail(2)) SWIG_fail
;
34034 if (arg2
== NULL
) {
34035 SWIG_null_ref("wxCursor");
34037 if (SWIG_arg_fail(2)) SWIG_fail
;
34041 if (!wxPyCheckForApp()) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34055 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
;
34058 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34059 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34060 wxGenericDragImage
*result
;
34061 PyObject
* obj0
= 0 ;
34062 PyObject
* obj1
= 0 ;
34063 char *kwnames
[] = {
34064 (char *) "image",(char *) "cursor", NULL
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
34069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
34070 if (SWIG_arg_fail(1)) SWIG_fail
;
34071 if (arg1
== NULL
) {
34072 SWIG_null_ref("wxIcon");
34074 if (SWIG_arg_fail(1)) SWIG_fail
;
34078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34079 if (SWIG_arg_fail(2)) SWIG_fail
;
34080 if (arg2
== NULL
) {
34081 SWIG_null_ref("wxCursor");
34083 if (SWIG_arg_fail(2)) SWIG_fail
;
34087 if (!wxPyCheckForApp()) SWIG_fail
;
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34101 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
;
34103 wxString
*arg1
= 0 ;
34104 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34105 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34106 wxGenericDragImage
*result
;
34107 bool temp1
= false ;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 char *kwnames
[] = {
34111 (char *) "str",(char *) "cursor", NULL
34114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34116 arg1
= wxString_in_helper(obj0
);
34117 if (arg1
== NULL
) SWIG_fail
;
34122 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34123 if (SWIG_arg_fail(2)) SWIG_fail
;
34124 if (arg2
== NULL
) {
34125 SWIG_null_ref("wxCursor");
34127 if (SWIG_arg_fail(2)) SWIG_fail
;
34131 if (!wxPyCheckForApp()) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34153 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34154 PyObject
*resultobj
;
34155 wxPyTreeCtrl
*arg1
= 0 ;
34156 wxTreeItemId
*arg2
= 0 ;
34157 wxGenericDragImage
*result
;
34158 PyObject
* obj0
= 0 ;
34159 PyObject
* obj1
= 0 ;
34160 char *kwnames
[] = {
34161 (char *) "treeCtrl",(char *) "id", NULL
34164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34167 if (SWIG_arg_fail(1)) SWIG_fail
;
34168 if (arg1
== NULL
) {
34169 SWIG_null_ref("wxPyTreeCtrl");
34171 if (SWIG_arg_fail(1)) SWIG_fail
;
34174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34175 if (SWIG_arg_fail(2)) SWIG_fail
;
34176 if (arg2
== NULL
) {
34177 SWIG_null_ref("wxTreeItemId");
34179 if (SWIG_arg_fail(2)) SWIG_fail
;
34182 if (!wxPyCheckForApp()) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34196 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
;
34198 wxPyListCtrl
*arg1
= 0 ;
34200 wxGenericDragImage
*result
;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 char *kwnames
[] = {
34204 (char *) "listCtrl",(char *) "id", NULL
34207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34210 if (SWIG_arg_fail(1)) SWIG_fail
;
34211 if (arg1
== NULL
) {
34212 SWIG_null_ref("wxPyListCtrl");
34214 if (SWIG_arg_fail(1)) SWIG_fail
;
34217 arg2
= (long)(SWIG_As_long(obj1
));
34218 if (SWIG_arg_fail(2)) SWIG_fail
;
34221 if (!wxPyCheckForApp()) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34235 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34238 PyObject
* obj0
= 0 ;
34239 char *kwnames
[] = {
34240 (char *) "self", NULL
34243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34245 if (SWIG_arg_fail(1)) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 Py_INCREF(Py_None
); resultobj
= Py_None
;
34260 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34263 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 char *kwnames
[] = {
34267 (char *) "self",(char *) "bitmap", NULL
34270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34272 if (SWIG_arg_fail(1)) SWIG_fail
;
34273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34274 if (SWIG_arg_fail(2)) SWIG_fail
;
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 (arg1
)->SetBackingBitmap(arg2
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 Py_INCREF(Py_None
); resultobj
= Py_None
;
34289 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
;
34291 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34292 wxPoint
*arg2
= 0 ;
34293 wxWindow
*arg3
= (wxWindow
*) 0 ;
34294 bool arg4
= (bool) false ;
34295 wxRect
*arg5
= (wxRect
*) NULL
;
34298 PyObject
* obj0
= 0 ;
34299 PyObject
* obj1
= 0 ;
34300 PyObject
* obj2
= 0 ;
34301 PyObject
* obj3
= 0 ;
34302 PyObject
* obj4
= 0 ;
34303 char *kwnames
[] = {
34304 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34309 if (SWIG_arg_fail(1)) SWIG_fail
;
34312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34314 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34315 if (SWIG_arg_fail(3)) SWIG_fail
;
34318 arg4
= (bool)(SWIG_As_bool(obj3
));
34319 if (SWIG_arg_fail(4)) SWIG_fail
;
34323 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34324 if (SWIG_arg_fail(5)) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34342 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34343 PyObject
*resultobj
;
34344 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34345 wxPoint
*arg2
= 0 ;
34346 wxWindow
*arg3
= (wxWindow
*) 0 ;
34347 wxWindow
*arg4
= (wxWindow
*) 0 ;
34350 PyObject
* obj0
= 0 ;
34351 PyObject
* obj1
= 0 ;
34352 PyObject
* obj2
= 0 ;
34353 PyObject
* obj3
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34365 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34366 if (SWIG_arg_fail(3)) SWIG_fail
;
34367 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34368 if (SWIG_arg_fail(4)) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34385 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34389 PyObject
* obj0
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail
;
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 result
= (bool)(arg1
)->EndDrag();
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34413 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
;
34415 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34416 wxPoint
*arg2
= 0 ;
34419 PyObject
* obj0
= 0 ;
34420 PyObject
* obj1
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self",(char *) "pt", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34427 if (SWIG_arg_fail(1)) SWIG_fail
;
34430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34448 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 char *kwnames
[] = {
34454 (char *) "self", NULL
34457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34459 if (SWIG_arg_fail(1)) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 result
= (bool)(arg1
)->Show();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34476 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
;
34478 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34480 PyObject
* obj0
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= (bool)(arg1
)->Hide();
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34504 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
;
34506 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34507 wxPoint
*arg2
= 0 ;
34510 PyObject
* obj0
= 0 ;
34511 PyObject
* obj1
= 0 ;
34512 char *kwnames
[] = {
34513 (char *) "self",(char *) "pos", NULL
34516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34518 if (SWIG_arg_fail(1)) SWIG_fail
;
34521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34531 wxRect
* resultptr
;
34532 resultptr
= new wxRect((wxRect
&)(result
));
34533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34541 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34542 PyObject
*resultobj
;
34543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34545 wxPoint
*arg3
= 0 ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 PyObject
* obj2
= 0 ;
34551 char *kwnames
[] = {
34552 (char *) "self",(char *) "dc",(char *) "pos", NULL
34555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34557 if (SWIG_arg_fail(1)) SWIG_fail
;
34559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34561 if (arg2
== NULL
) {
34562 SWIG_null_ref("wxDC");
34564 if (SWIG_arg_fail(2)) SWIG_fail
;
34568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34586 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
;
34588 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34590 wxMemoryDC
*arg3
= 0 ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 PyObject
* obj2
= 0 ;
34599 PyObject
* obj3
= 0 ;
34600 PyObject
* obj4
= 0 ;
34601 char *kwnames
[] = {
34602 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34607 if (SWIG_arg_fail(1)) SWIG_fail
;
34609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34610 if (SWIG_arg_fail(2)) SWIG_fail
;
34611 if (arg2
== NULL
) {
34612 SWIG_null_ref("wxDC");
34614 if (SWIG_arg_fail(2)) SWIG_fail
;
34617 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34618 if (SWIG_arg_fail(3)) SWIG_fail
;
34619 if (arg3
== NULL
) {
34620 SWIG_null_ref("wxMemoryDC");
34622 if (SWIG_arg_fail(3)) SWIG_fail
;
34626 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34630 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34648 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
;
34650 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34651 wxPoint
*arg2
= 0 ;
34652 wxPoint
*arg3
= 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 PyObject
* obj2
= 0 ;
34661 PyObject
* obj3
= 0 ;
34662 PyObject
* obj4
= 0 ;
34663 char *kwnames
[] = {
34664 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34669 if (SWIG_arg_fail(1)) SWIG_fail
;
34672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34679 arg4
= (bool)(SWIG_As_bool(obj3
));
34680 if (SWIG_arg_fail(4)) SWIG_fail
;
34683 arg5
= (bool)(SWIG_As_bool(obj4
));
34684 if (SWIG_arg_fail(5)) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34702 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34705 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34707 return Py_BuildValue((char *)"");
34709 static PyMethodDef SwigMethods
[] = {
34710 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34717 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34732 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34744 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34752 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34783 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34797 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34802 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34809 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34814 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34822 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34845 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34885 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34943 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34948 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34960 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34973 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34985 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34989 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35007 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35014 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35040 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35048 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35076 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35086 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35088 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35094 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35096 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35102 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35104 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35109 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35114 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35144 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35189 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35195 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35259 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35286 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35358 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35370 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35378 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35385 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35401 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35480 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35502 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35507 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35533 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35541 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35546 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35548 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35557 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35559 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35577 { NULL
, NULL
, 0, NULL
}
35581 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35583 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35584 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35586 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35587 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35589 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35590 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35592 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35593 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35595 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35596 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35598 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35599 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35601 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35602 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35604 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35605 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35607 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35608 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35610 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35611 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35613 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35614 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35616 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35617 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35619 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35620 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35622 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35623 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35625 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35626 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35628 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35629 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35631 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35632 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35634 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35635 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35637 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35640 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35643 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35644 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35646 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35649 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35650 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35652 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35653 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35655 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35656 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35658 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35659 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35661 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35664 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35665 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35667 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35670 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35671 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35673 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35674 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35676 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35677 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35679 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35680 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35682 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35683 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35685 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35686 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35688 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35689 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35691 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35692 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35694 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35697 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35698 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35700 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35701 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35703 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35704 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35706 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35707 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35709 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35710 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35712 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35713 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35715 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35718 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35719 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35721 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35722 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35724 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35725 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35727 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35730 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35731 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35733 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35734 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35736 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35737 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35739 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35740 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35742 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35743 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35745 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35746 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35748 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35749 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35751 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35752 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35754 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35755 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35757 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35758 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35760 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35761 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35763 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35764 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35766 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35767 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35769 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35770 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35772 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35773 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35775 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35776 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35778 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35779 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35781 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35782 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35784 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35785 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35787 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35788 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35790 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35791 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35793 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35794 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35796 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35797 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35799 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35800 return (void *)((wxControl
*) ((wxGauge
*) x
));
35802 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35803 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35805 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35806 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35808 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35809 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35811 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35812 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35814 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35815 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35817 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35818 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35820 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35821 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35823 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35824 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35826 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35827 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35829 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35830 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35832 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35833 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35835 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35836 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35838 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35839 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35841 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35842 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35844 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35845 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35847 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35848 return (void *)((wxControl
*) ((wxSlider
*) x
));
35850 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35851 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35853 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35854 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35856 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35857 return (void *)((wxControl
*) ((wxButton
*) x
));
35859 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35860 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35862 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35863 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35865 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35866 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35868 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
35869 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
35871 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35872 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35874 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35875 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35877 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35878 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35880 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35881 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35883 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35884 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35886 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35887 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35889 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35890 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35892 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35893 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35895 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35896 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35898 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35899 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35901 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35902 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35904 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35905 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35907 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35910 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35911 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35913 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35914 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35916 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35919 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35920 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35922 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35925 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35928 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35929 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35931 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35932 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35934 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35937 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
35940 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35943 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35946 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35949 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35950 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35952 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35955 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35958 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35961 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35964 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35967 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35970 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35973 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35976 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35979 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35982 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35985 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35988 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35991 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35994 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35997 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35998 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36000 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36003 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36006 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36009 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36012 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36015 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36018 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36021 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36024 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36027 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36028 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36030 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36031 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36033 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36034 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36036 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36037 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36039 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36040 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36042 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36043 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36045 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36046 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36048 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36049 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36051 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36054 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36055 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36057 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36060 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36061 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36063 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36064 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36066 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36067 return (void *)((wxObject
*) ((wxSizer
*) x
));
36069 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36070 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36072 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36075 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36078 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36081 static void *_p_wxEventTo_p_wxObject(void *x
) {
36082 return (void *)((wxObject
*) ((wxEvent
*) x
));
36084 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36085 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36087 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36088 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36090 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36091 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36093 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36096 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36099 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36102 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36103 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36105 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36106 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36108 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36109 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36111 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36112 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36114 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36115 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36117 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36118 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36120 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36123 static void *_p_wxControlTo_p_wxObject(void *x
) {
36124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36126 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36129 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36132 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36135 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36138 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36142 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36144 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36147 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36148 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36150 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36151 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36153 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36156 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36159 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36162 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36165 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36168 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36171 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36174 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36177 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36180 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36183 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36186 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36189 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36192 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36195 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36198 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36201 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36204 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36207 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36210 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36213 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36216 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36219 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36222 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36225 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36228 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36231 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36234 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36237 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36240 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36243 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36246 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36249 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36252 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36255 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36258 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36261 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36264 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36267 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36270 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36273 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36276 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36279 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36282 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36285 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36288 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36291 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36294 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36297 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) ((wxListItem
*) x
));
36300 static void *_p_wxImageTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) ((wxImage
*) x
));
36303 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36306 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36309 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36312 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36315 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36318 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36321 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36324 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36327 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36330 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36333 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36336 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36339 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36342 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36345 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36348 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36351 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36354 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36357 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36360 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36363 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36366 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36369 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36372 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36375 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36378 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36381 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36384 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36387 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36390 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36393 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36396 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36399 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36402 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36405 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36408 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36409 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36411 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36412 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36414 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36415 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36417 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36418 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36420 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36421 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36423 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36424 return (void *)((wxWindow
*) ((wxControl
*) x
));
36426 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36427 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36429 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36430 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36432 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36433 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36435 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36436 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36438 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36439 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36441 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36442 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36444 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36445 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36447 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36448 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36450 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36451 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36453 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36454 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36456 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36457 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36459 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36460 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36462 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36463 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36465 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36466 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36468 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36469 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36471 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36472 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36474 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36475 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36477 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36478 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36480 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36481 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36483 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36484 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36486 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36487 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36489 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36490 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36492 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36493 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36495 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36496 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36498 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36499 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36501 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36502 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36504 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36505 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36507 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36508 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36510 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36511 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36513 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36514 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36516 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36517 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36519 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36520 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36522 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36523 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36525 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36526 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36528 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36529 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36531 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36532 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36534 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36535 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36537 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36538 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36540 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36541 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36543 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36544 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36546 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36547 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36549 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36550 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36552 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36553 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36555 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36556 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36558 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36559 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36561 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36562 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36564 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36565 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36567 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36568 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36570 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36571 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36573 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36574 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36576 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36577 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36579 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36580 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36582 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36583 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36585 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36586 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36588 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36589 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36591 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36592 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36594 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36595 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36596 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36597 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36598 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36599 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36600 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36601 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36602 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36603 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36604 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36605 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36606 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36607 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36608 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36609 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36610 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36611 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36612 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36613 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36614 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36615 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36616 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36617 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36618 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36619 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36620 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36621 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36622 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36623 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36624 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36625 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36626 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36627 static swig_type_info _swigt__p_wxChoicebook
[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36628 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36629 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36630 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36631 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36632 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36633 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36634 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36635 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36636 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36637 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36638 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36639 static swig_type_info _swigt__p_wxBookCtrlBase
[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36640 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36641 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36642 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36643 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36644 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36645 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36646 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36647 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36648 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36649 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36650 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36651 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36652 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36653 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36654 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36655 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36656 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36657 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36658 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36659 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36660 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36661 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36662 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36663 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36664 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36665 static swig_type_info _swigt__p_wxChoicebookEvent
[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36666 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36667 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36668 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36669 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36670 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36671 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36672 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36673 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36674 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36675 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36676 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36677 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36678 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36679 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36680 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36681 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36682 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36683 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36684 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36685 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36686 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36687 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36688 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36689 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36691 static swig_type_info
*swig_types_initial
[] = {
36692 _swigt__p_wxTextUrlEvent
,
36694 _swigt__p_wxCheckBox
,
36695 _swigt__p_wxPyTreeCtrl
,
36697 _swigt__p_wxGenericDirCtrl
,
36699 _swigt__p_wxItemContainer
,
36700 _swigt__p_wxPyListCtrl
,
36701 _swigt__p_wxPyTreeItemData
,
36702 _swigt__p_wxDirFilterListCtrl
,
36703 _swigt__p_wxStaticLine
,
36704 _swigt__p_wxControl
,
36705 _swigt__p_wxPyControl
,
36707 _swigt__p_wxToolBarBase
,
36709 _swigt__p_wxToggleButton
,
36710 _swigt__p_wxRadioButton
,
36711 _swigt__p_wxChoice
,
36712 _swigt__p_wxMemoryDC
,
36714 _swigt__std__ptrdiff_t
,
36715 _swigt__p_wxListItemAttr
,
36720 _swigt__p_wxListView
,
36722 _swigt__p_wxVisualAttributes
,
36723 _swigt__p_wxTextCtrl
,
36724 _swigt__p_wxNotebook
,
36725 _swigt__p_wxChoicebook
,
36726 _swigt__p_wxNotifyEvent
,
36727 _swigt__p_wxArrayString
,
36728 _swigt__p_form_ops_t
,
36729 _swigt__p_wxListbook
,
36730 _swigt__p_wxStaticBitmap
,
36731 _swigt__p_wxSlider
,
36732 _swigt__p_wxStaticBox
,
36733 _swigt__p_wxArrayInt
,
36734 _swigt__p_wxContextHelp
,
36736 _swigt__p_wxDuplexMode
,
36737 _swigt__p_wxBookCtrlBase
,
36738 _swigt__p_wxEvtHandler
,
36739 _swigt__p_wxListEvent
,
36740 _swigt__p_wxCheckListBox
,
36741 _swigt__p_wxListBox
,
36742 _swigt__p_wxSpinButton
,
36743 _swigt__p_wxButton
,
36744 _swigt__p_wxBitmapButton
,
36746 _swigt__p_wxContextHelpButton
,
36747 _swigt__p_wxRadioBox
,
36748 _swigt__p_wxScrollBar
,
36750 _swigt__p_wxComboBox
,
36751 _swigt__p_wxTreeItemId
,
36752 _swigt__p_wxHelpEvent
,
36753 _swigt__p_wxListItem
,
36754 _swigt__p_wxNotebookSizer
,
36755 _swigt__p_wxSpinEvent
,
36756 _swigt__p_wxGenericDragImage
,
36757 _swigt__p_wxSpinCtrl
,
36758 _swigt__p_wxPaperSize
,
36759 _swigt__p_wxImageList
,
36760 _swigt__p_wxHelpProvider
,
36761 _swigt__p_wxTextAttr
,
36762 _swigt__p_wxSimpleHelpProvider
,
36763 _swigt__p_wxChoicebookEvent
,
36764 _swigt__p_wxListbookEvent
,
36765 _swigt__p_wxNotebookEvent
,
36767 _swigt__p_wxObject
,
36768 _swigt__p_wxCursor
,
36769 _swigt__p_wxKeyEvent
,
36770 _swigt__p_unsigned_long
,
36771 _swigt__p_wxWindow
,
36772 _swigt__p_wxString
,
36773 _swigt__p_wxBitmap
,
36774 _swigt__unsigned_int
,
36775 _swigt__p_unsigned_int
,
36776 _swigt__p_unsigned_char
,
36777 _swigt__p_wxMouseEvent
,
36778 _swigt__p_wxBookCtrlBaseEvent
,
36779 _swigt__p_wxTreeEvent
,
36780 _swigt__p_wxCommandEvent
,
36781 _swigt__p_wxStaticText
,
36782 _swigt__p_wxControlWithItems
,
36783 _swigt__p_wxToolBarToolBase
,
36784 _swigt__p_wxColour
,
36785 _swigt__p_wxToolBar
,
36786 _swigt__p_wxBookCtrlSizer
,
36787 _swigt__p_wxValidator
,
36792 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36794 static swig_const_info swig_const_table
[] = {
36795 {0, 0, 0, 0.0, 0, 0}};
36806 /* Python-specific SWIG API */
36807 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36808 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36809 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36811 /* -----------------------------------------------------------------------------
36812 * global variable support code.
36813 * ----------------------------------------------------------------------------- */
36815 typedef struct swig_globalvar
{
36816 char *name
; /* Name of global variable */
36817 PyObject
*(*get_attr
)(); /* Return the current value */
36818 int (*set_attr
)(PyObject
*); /* Set the value */
36819 struct swig_globalvar
*next
;
36822 typedef struct swig_varlinkobject
{
36824 swig_globalvar
*vars
;
36825 } swig_varlinkobject
;
36828 swig_varlink_repr(swig_varlinkobject
*v
) {
36830 return PyString_FromString("<Swig global variables>");
36834 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36835 swig_globalvar
*var
;
36837 fprintf(fp
,"Swig global variables { ");
36838 for (var
= v
->vars
; var
; var
=var
->next
) {
36839 fprintf(fp
,"%s", var
->name
);
36840 if (var
->next
) fprintf(fp
,", ");
36842 fprintf(fp
," }\n");
36847 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36848 swig_globalvar
*var
= v
->vars
;
36850 if (strcmp(var
->name
,n
) == 0) {
36851 return (*var
->get_attr
)();
36855 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36860 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36861 swig_globalvar
*var
= v
->vars
;
36863 if (strcmp(var
->name
,n
) == 0) {
36864 return (*var
->set_attr
)(p
);
36868 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36872 static PyTypeObject varlinktype
= {
36873 PyObject_HEAD_INIT(0)
36874 0, /* Number of items in variable part (ob_size) */
36875 (char *)"swigvarlink", /* Type name (tp_name) */
36876 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36877 0, /* Itemsize (tp_itemsize) */
36878 0, /* Deallocator (tp_dealloc) */
36879 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36880 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36881 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36882 0, /* tp_compare */
36883 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36884 0, /* tp_as_number */
36885 0, /* tp_as_sequence */
36886 0, /* tp_as_mapping */
36890 0, /* tp_getattro */
36891 0, /* tp_setattro */
36892 0, /* tp_as_buffer */
36895 #if PY_VERSION_HEX >= 0x02000000
36896 0, /* tp_traverse */
36899 #if PY_VERSION_HEX >= 0x02010000
36900 0, /* tp_richcompare */
36901 0, /* tp_weaklistoffset */
36903 #if PY_VERSION_HEX >= 0x02020000
36904 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36906 #if PY_VERSION_HEX >= 0x02030000
36909 #ifdef COUNT_ALLOCS
36910 0,0,0,0 /* tp_alloc -> tp_next */
36914 /* Create a variable linking object for use later */
36916 SWIG_Python_newvarlink(void) {
36917 swig_varlinkobject
*result
= 0;
36918 result
= PyMem_NEW(swig_varlinkobject
,1);
36919 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36920 result
->ob_type
= &varlinktype
;
36922 result
->ob_refcnt
= 0;
36923 Py_XINCREF((PyObject
*) result
);
36924 return ((PyObject
*) result
);
36928 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36929 swig_varlinkobject
*v
;
36930 swig_globalvar
*gv
;
36931 v
= (swig_varlinkobject
*) p
;
36932 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36933 gv
->name
= (char *) malloc(strlen(name
)+1);
36934 strcpy(gv
->name
,name
);
36935 gv
->get_attr
= get_attr
;
36936 gv
->set_attr
= set_attr
;
36937 gv
->next
= v
->vars
;
36941 /* -----------------------------------------------------------------------------
36942 * constants/methods manipulation
36943 * ----------------------------------------------------------------------------- */
36945 /* Install Constants */
36947 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36950 for (i
= 0; constants
[i
].type
; i
++) {
36951 switch(constants
[i
].type
) {
36953 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36955 case SWIG_PY_FLOAT
:
36956 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36958 case SWIG_PY_STRING
:
36959 if (constants
[i
].pvalue
) {
36960 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36962 Py_INCREF(Py_None
);
36966 case SWIG_PY_POINTER
:
36967 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36969 case SWIG_PY_BINARY
:
36970 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36977 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36983 /* -----------------------------------------------------------------------------*/
36984 /* Fix SwigMethods to carry the callback ptrs when needed */
36985 /* -----------------------------------------------------------------------------*/
36988 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36989 swig_const_info
*const_table
,
36990 swig_type_info
**types
,
36991 swig_type_info
**types_initial
) {
36993 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36994 char *c
= methods
[i
].ml_doc
;
36995 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36997 swig_const_info
*ci
= 0;
36998 char *name
= c
+ 10;
36999 for (j
= 0; const_table
[j
].type
; j
++) {
37000 if (strncmp(const_table
[j
].name
, name
,
37001 strlen(const_table
[j
].name
)) == 0) {
37002 ci
= &(const_table
[j
]);
37007 size_t shift
= (ci
->ptype
) - types
;
37008 swig_type_info
*ty
= types_initial
[shift
];
37009 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37010 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37011 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37013 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37014 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37016 strncpy(buff
, "swig_ptr: ", 10);
37018 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37019 methods
[i
].ml_doc
= ndoc
;
37025 /* -----------------------------------------------------------------------------*
37026 * Initialize type list
37027 * -----------------------------------------------------------------------------*/
37029 #if PY_MAJOR_VERSION < 2
37030 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37031 is copied out of Python/modsupport.c in python version 2.3.4 */
37033 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37036 if (!PyModule_Check(m
)) {
37037 PyErr_SetString(PyExc_TypeError
,
37038 "PyModule_AddObject() needs module as first arg");
37042 PyErr_SetString(PyExc_TypeError
,
37043 "PyModule_AddObject() needs non-NULL value");
37047 dict
= PyModule_GetDict(m
);
37048 if (dict
== NULL
) {
37049 /* Internal error -- modules must have a dict! */
37050 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37051 PyModule_GetName(m
));
37054 if (PyDict_SetItemString(dict
, name
, o
))
37061 static swig_type_info
**
37062 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37063 static PyMethodDef swig_empty_runtime_method_table
[] = {
37065 NULL
, NULL
, 0, NULL
37069 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37070 swig_empty_runtime_method_table
);
37071 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37072 if (pointer
&& module) {
37073 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37075 return type_list_handle
;
37078 static swig_type_info
**
37079 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37080 swig_type_info
**type_pointer
;
37082 /* first check if module already created */
37083 type_pointer
= SWIG_Python_GetTypeListHandle();
37084 if (type_pointer
) {
37085 return type_pointer
;
37087 /* create a new module and variable */
37088 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37096 /* -----------------------------------------------------------------------------*
37097 * Partial Init method
37098 * -----------------------------------------------------------------------------*/
37100 #ifdef SWIG_LINK_RUNTIME
37104 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37110 SWIGEXPORT(void) SWIG_init(void) {
37111 static PyObject
*SWIG_globals
= 0;
37112 static int typeinit
= 0;
37115 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37117 /* Fix SwigMethods to carry the callback ptrs when needed */
37118 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37120 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37121 d
= PyModule_GetDict(m
);
37124 #ifdef SWIG_LINK_RUNTIME
37125 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37127 # ifndef SWIG_STATIC_RUNTIME
37128 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37131 for (i
= 0; swig_types_initial
[i
]; i
++) {
37132 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37136 SWIG_InstallConstants(d
,swig_const_table
);
37138 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37139 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37141 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37144 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37147 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37150 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37153 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37156 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37159 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37161 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37163 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37166 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37169 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37172 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37175 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37178 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37180 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37181 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37182 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37184 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37187 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37190 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37193 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37195 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37196 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37197 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37198 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37199 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37201 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37204 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37207 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37210 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37213 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37216 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37219 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37222 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37225 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37228 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37231 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37234 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37237 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37240 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37243 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37246 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37249 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37252 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37255 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37258 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37261 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37264 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37267 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37270 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37273 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37276 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37279 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37282 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37285 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37288 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37291 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37294 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37297 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37300 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37303 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37306 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37309 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37312 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37315 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37318 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37321 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37323 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37327 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37328 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37329 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37331 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37334 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37337 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37340 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37342 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37343 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37344 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37345 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37346 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37348 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37350 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37353 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37356 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37359 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37362 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37365 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37368 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37371 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37374 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37377 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37379 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37380 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37382 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37385 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37388 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37391 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37394 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37397 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37399 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37400 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37402 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37405 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37408 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37411 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37414 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37417 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37419 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37420 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37422 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37425 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37428 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37431 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37434 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37437 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37440 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37443 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37446 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37449 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37452 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37455 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37458 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37461 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37463 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37465 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37468 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37471 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37474 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37477 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37480 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37483 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37486 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37489 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37492 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37495 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37498 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37501 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37504 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37507 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37510 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37513 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37516 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37519 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37522 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37525 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37528 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37531 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37534 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37537 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37540 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37543 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37546 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37549 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37552 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37555 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37558 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37561 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37564 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37567 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37570 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37573 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37576 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37579 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37582 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37585 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37588 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37591 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37594 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37597 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37600 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37603 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37606 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37609 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37612 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37615 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37618 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37621 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37624 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37627 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37630 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37633 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37636 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37639 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37642 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37645 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37648 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37651 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37654 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37657 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37660 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37663 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37666 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37668 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37675 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37676 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37680 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37681 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37683 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37684 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37686 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37691 // Map renamed classes back to their common name for OOR
37692 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37694 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37696 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37699 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37702 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37705 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37708 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37711 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37714 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37717 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37720 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37723 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37726 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37729 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37732 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37735 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37738 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37741 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37744 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37747 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37750 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37753 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37756 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37759 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37762 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37765 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37768 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37771 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37774 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37777 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37780 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37783 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37786 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37789 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37792 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37795 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37798 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37810 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37811 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37812 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37813 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37814 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37815 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37818 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37819 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37820 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37822 // Map renamed classes back to their common name for OOR
37823 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37824 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37826 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37828 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37831 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37834 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37837 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37840 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37843 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37846 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37848 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37849 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37851 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");