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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1630 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1631 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1632 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1633 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1635 #include <wx/checklst.h>
1638 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1639 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1641 wxPyClientData
* data
= new wxPyClientData(clientData
);
1642 self
->Insert(item
, pos
, data
);
1644 self
->Insert(item
, pos
);
1646 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1648 self
->GetSelections(lst
);
1649 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1650 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1651 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1655 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1657 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1658 self
->GetItem(item
)->SetTextColour(c
);
1661 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1663 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1664 self
->GetItem(item
)->SetBackgroundColour(c
);
1667 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1669 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1670 self
->GetItem(item
)->SetFont(f
);
1673 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1675 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1681 } else if (target
== Py_None
) {
1685 if (!PyTuple_Check(target
)) {
1687 target
= PyTuple_New(1);
1688 PyTuple_SetItem(target
, 0, o2
);
1690 o3
= PyTuple_New(1);
1691 PyTuple_SetItem(o3
, 0, o
);
1694 target
= PySequence_Concat(o2
, o3
);
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(wxListCtrlNameStr
);
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
){
1927 return (wxWindow
*)self
->m_mainWin
;
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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@/opt/swig/share/swig/1.3.24/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_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4899 wxString
*arg2
= 0 ;
4901 bool temp2
= false ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4905 (char *) "self",(char *) "string", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4910 if (SWIG_arg_fail(1)) SWIG_fail
;
4912 arg2
= wxString_in_helper(obj1
);
4913 if (arg2
== NULL
) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4940 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4944 wxString
*arg3
= 0 ;
4945 bool temp3
= false ;
4946 PyObject
* obj0
= 0 ;
4947 PyObject
* obj1
= 0 ;
4948 PyObject
* obj2
= 0 ;
4950 (char *) "self",(char *) "n",(char *) "string", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail
;
4957 arg2
= (int)(SWIG_As_int(obj1
));
4958 if (SWIG_arg_fail(2)) SWIG_fail
;
4961 arg3
= wxString_in_helper(obj2
);
4962 if (arg3
== NULL
) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "self",(char *) "editable", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail
;
5001 arg2
= (bool)(SWIG_As_bool(obj1
));
5002 if (SWIG_arg_fail(2)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->SetEditable(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->SetInsertionPointEnd();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 Py_INCREF(Py_None
); resultobj
= Py_None
;
5043 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5052 (char *) "self",(char *) "from",(char *) "to", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail
;
5059 arg2
= (long)(SWIG_As_long(obj1
));
5060 if (SWIG_arg_fail(2)) SWIG_fail
;
5063 arg3
= (long)(SWIG_As_long(obj2
));
5064 if (SWIG_arg_fail(3)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->Remove(arg2
,arg3
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5084 PyObject
* obj0
= 0 ;
5086 (char *) "self", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5091 if (SWIG_arg_fail(1)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5108 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SelectAll();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5183 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5217 (char *) "self", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5239 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5245 (char *) "self", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5267 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5295 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5326 wxVisualAttributes result
;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "variant", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5335 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5336 if (SWIG_arg_fail(1)) SWIG_fail
;
5340 if (!wxPyCheckForApp()) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 wxVisualAttributes
* resultptr
;
5349 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5358 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5363 return Py_BuildValue((char *)"");
5365 static int _wrap_GaugeNameStr_set(PyObject
*) {
5366 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5371 static PyObject
*_wrap_GaugeNameStr_get(void) {
5376 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5378 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5385 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxWindow
*arg1
= (wxWindow
*) 0 ;
5388 int arg2
= (int) -1 ;
5389 int arg3
= (int) 100 ;
5390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5394 long arg6
= (long) wxGA_HORIZONTAL
;
5395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5397 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5402 bool temp8
= false ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5406 PyObject
* obj3
= 0 ;
5407 PyObject
* obj4
= 0 ;
5408 PyObject
* obj5
= 0 ;
5409 PyObject
* obj6
= 0 ;
5410 PyObject
* obj7
= 0 ;
5412 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail
;
5420 arg2
= (int)(SWIG_As_int(obj1
));
5421 if (SWIG_arg_fail(2)) SWIG_fail
;
5426 arg3
= (int)(SWIG_As_int(obj2
));
5427 if (SWIG_arg_fail(3)) SWIG_fail
;
5433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5444 arg6
= (long)(SWIG_As_long(obj5
));
5445 if (SWIG_arg_fail(6)) SWIG_fail
;
5450 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5451 if (SWIG_arg_fail(7)) SWIG_fail
;
5453 SWIG_null_ref("wxValidator");
5455 if (SWIG_arg_fail(7)) SWIG_fail
;
5460 arg8
= wxString_in_helper(obj7
);
5461 if (arg8
== NULL
) SWIG_fail
;
5466 if (!wxPyCheckForApp()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5488 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5497 if (!wxPyCheckForApp()) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (wxGauge
*)new wxGauge();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5511 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxGauge
*arg1
= (wxGauge
*) 0 ;
5514 wxWindow
*arg2
= (wxWindow
*) 0 ;
5515 int arg3
= (int) -1 ;
5516 int arg4
= (int) 100 ;
5517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5521 long arg7
= (long) wxGA_HORIZONTAL
;
5522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5524 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5529 bool temp9
= false ;
5530 PyObject
* obj0
= 0 ;
5531 PyObject
* obj1
= 0 ;
5532 PyObject
* obj2
= 0 ;
5533 PyObject
* obj3
= 0 ;
5534 PyObject
* obj4
= 0 ;
5535 PyObject
* obj5
= 0 ;
5536 PyObject
* obj6
= 0 ;
5537 PyObject
* obj7
= 0 ;
5538 PyObject
* obj8
= 0 ;
5540 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5547 if (SWIG_arg_fail(2)) SWIG_fail
;
5550 arg3
= (int)(SWIG_As_int(obj2
));
5551 if (SWIG_arg_fail(3)) SWIG_fail
;
5556 arg4
= (int)(SWIG_As_int(obj3
));
5557 if (SWIG_arg_fail(4)) SWIG_fail
;
5563 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5569 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5574 arg7
= (long)(SWIG_As_long(obj6
));
5575 if (SWIG_arg_fail(7)) SWIG_fail
;
5580 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5581 if (SWIG_arg_fail(8)) SWIG_fail
;
5583 SWIG_null_ref("wxValidator");
5585 if (SWIG_arg_fail(8)) SWIG_fail
;
5590 arg9
= wxString_in_helper(obj8
);
5591 if (arg9
== NULL
) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxGauge
*arg1
= (wxGauge
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "range", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail
;
5633 arg2
= (int)(SWIG_As_int(obj1
));
5634 if (SWIG_arg_fail(2)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->SetRange(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxGauge
*arg1
= (wxGauge
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5656 (char *) "self", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_From_int((int)(result
));
5678 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxGauge
*arg1
= (wxGauge
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5685 (char *) "self",(char *) "pos", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5690 if (SWIG_arg_fail(1)) SWIG_fail
;
5692 arg2
= (int)(SWIG_As_int(obj1
));
5693 if (SWIG_arg_fail(2)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->SetValue(arg2
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxGauge
*arg1
= (wxGauge
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= SWIG_From_int((int)(result
));
5737 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxGauge
*arg1
= (wxGauge
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxGauge
*arg1
= (wxGauge
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "w", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail
;
5779 arg2
= (int)(SWIG_As_int(obj1
));
5780 if (SWIG_arg_fail(2)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetShadowWidth(arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxGauge
*arg1
= (wxGauge
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_From_int((int)(result
));
5824 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxGauge
*arg1
= (wxGauge
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "w", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 arg2
= (int)(SWIG_As_int(obj1
));
5839 if (SWIG_arg_fail(2)) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->SetBezelFace(arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxGauge
*arg1
= (wxGauge
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_From_int((int)(result
));
5883 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5886 wxVisualAttributes result
;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "variant", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5895 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5900 if (!wxPyCheckForApp()) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5908 wxVisualAttributes
* resultptr
;
5909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5918 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5921 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5923 return Py_BuildValue((char *)"");
5925 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5926 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5931 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5936 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5938 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5945 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5946 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5951 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5956 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5958 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5965 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5966 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5971 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5976 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5978 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5985 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxWindow
*arg1
= (wxWindow
*) 0 ;
5988 int arg2
= (int) -1 ;
5989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5995 long arg6
= (long) 0 ;
5996 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5998 wxStaticBox
*result
;
5999 bool temp3
= false ;
6002 bool temp7
= false ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 PyObject
* obj2
= 0 ;
6006 PyObject
* obj3
= 0 ;
6007 PyObject
* obj4
= 0 ;
6008 PyObject
* obj5
= 0 ;
6009 PyObject
* obj6
= 0 ;
6011 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6016 if (SWIG_arg_fail(1)) SWIG_fail
;
6019 arg2
= (int)(SWIG_As_int(obj1
));
6020 if (SWIG_arg_fail(2)) SWIG_fail
;
6025 arg3
= wxString_in_helper(obj2
);
6026 if (arg3
== NULL
) SWIG_fail
;
6033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6044 arg6
= (long)(SWIG_As_long(obj5
));
6045 if (SWIG_arg_fail(6)) SWIG_fail
;
6050 arg7
= wxString_in_helper(obj6
);
6051 if (arg7
== NULL
) SWIG_fail
;
6056 if (!wxPyCheckForApp()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6086 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxStaticBox
*result
;
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6095 if (!wxPyCheckForApp()) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (wxStaticBox
*)new wxStaticBox();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6109 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6112 wxWindow
*arg2
= (wxWindow
*) 0 ;
6113 int arg3
= (int) -1 ;
6114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6120 long arg7
= (long) 0 ;
6121 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6122 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6124 bool temp4
= false ;
6127 bool temp8
= false ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 PyObject
* obj2
= 0 ;
6131 PyObject
* obj3
= 0 ;
6132 PyObject
* obj4
= 0 ;
6133 PyObject
* obj5
= 0 ;
6134 PyObject
* obj6
= 0 ;
6135 PyObject
* obj7
= 0 ;
6137 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6142 if (SWIG_arg_fail(1)) SWIG_fail
;
6143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6144 if (SWIG_arg_fail(2)) SWIG_fail
;
6147 arg3
= (int)(SWIG_As_int(obj2
));
6148 if (SWIG_arg_fail(3)) SWIG_fail
;
6153 arg4
= wxString_in_helper(obj3
);
6154 if (arg4
== NULL
) SWIG_fail
;
6161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6172 arg7
= (long)(SWIG_As_long(obj6
));
6173 if (SWIG_arg_fail(7)) SWIG_fail
;
6178 arg8
= wxString_in_helper(obj7
);
6179 if (arg8
== NULL
) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6215 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6218 wxVisualAttributes result
;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "variant", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6227 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6228 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 if (!wxPyCheckForApp()) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 wxVisualAttributes
* resultptr
;
6241 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6250 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6253 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6255 return Py_BuildValue((char *)"");
6257 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxWindow
*arg1
= (wxWindow
*) 0 ;
6260 int arg2
= (int) -1 ;
6261 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6262 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6263 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6264 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6265 long arg5
= (long) wxLI_HORIZONTAL
;
6266 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6267 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6268 wxStaticLine
*result
;
6271 bool temp6
= false ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 PyObject
* obj2
= 0 ;
6275 PyObject
* obj3
= 0 ;
6276 PyObject
* obj4
= 0 ;
6277 PyObject
* obj5
= 0 ;
6279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6284 if (SWIG_arg_fail(1)) SWIG_fail
;
6287 arg2
= (int)(SWIG_As_int(obj1
));
6288 if (SWIG_arg_fail(2)) SWIG_fail
;
6294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6305 arg5
= (long)(SWIG_As_long(obj4
));
6306 if (SWIG_arg_fail(5)) SWIG_fail
;
6311 arg6
= wxString_in_helper(obj5
);
6312 if (arg6
== NULL
) SWIG_fail
;
6317 if (!wxPyCheckForApp()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6339 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxStaticLine
*result
;
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6348 if (!wxPyCheckForApp()) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (wxStaticLine
*)new wxStaticLine();
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6362 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6365 wxWindow
*arg2
= (wxWindow
*) 0 ;
6366 int arg3
= (int) -1 ;
6367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6371 long arg6
= (long) wxLI_HORIZONTAL
;
6372 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6377 bool temp7
= false ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 PyObject
* obj3
= 0 ;
6382 PyObject
* obj4
= 0 ;
6383 PyObject
* obj5
= 0 ;
6384 PyObject
* obj6
= 0 ;
6386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail
;
6392 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= (int)(SWIG_As_int(obj2
));
6397 if (SWIG_arg_fail(3)) SWIG_fail
;
6403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6414 arg6
= (long)(SWIG_As_long(obj5
));
6415 if (SWIG_arg_fail(6)) SWIG_fail
;
6420 arg7
= wxString_in_helper(obj6
);
6421 if (arg7
== NULL
) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6449 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6455 (char *) "self", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6460 if (SWIG_arg_fail(1)) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (int)wxStaticLine::GetDefaultSize();
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_From_int((int)(result
));
6501 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6504 wxVisualAttributes result
;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "variant", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6513 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6514 if (SWIG_arg_fail(1)) SWIG_fail
;
6518 if (!wxPyCheckForApp()) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 wxVisualAttributes
* resultptr
;
6527 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6536 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6541 return Py_BuildValue((char *)"");
6543 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxWindow
*arg1
= (wxWindow
*) 0 ;
6546 int arg2
= (int) -1 ;
6547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6553 long arg6
= (long) 0 ;
6554 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6556 wxStaticText
*result
;
6557 bool temp3
= false ;
6560 bool temp7
= false ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 PyObject
* obj2
= 0 ;
6564 PyObject
* obj3
= 0 ;
6565 PyObject
* obj4
= 0 ;
6566 PyObject
* obj5
= 0 ;
6567 PyObject
* obj6
= 0 ;
6569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail
;
6577 arg2
= (int)(SWIG_As_int(obj1
));
6578 if (SWIG_arg_fail(2)) SWIG_fail
;
6583 arg3
= wxString_in_helper(obj2
);
6584 if (arg3
== NULL
) SWIG_fail
;
6591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6602 arg6
= (long)(SWIG_As_long(obj5
));
6603 if (SWIG_arg_fail(6)) SWIG_fail
;
6608 arg7
= wxString_in_helper(obj6
);
6609 if (arg7
== NULL
) SWIG_fail
;
6614 if (!wxPyCheckForApp()) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6644 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxStaticText
*result
;
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6653 if (!wxPyCheckForApp()) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxStaticText
*)new wxStaticText();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6667 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6670 wxWindow
*arg2
= (wxWindow
*) 0 ;
6671 int arg3
= (int) -1 ;
6672 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6673 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6674 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6675 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6676 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6677 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6678 long arg7
= (long) 0 ;
6679 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6680 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6682 bool temp4
= false ;
6685 bool temp8
= false ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 PyObject
* obj2
= 0 ;
6689 PyObject
* obj3
= 0 ;
6690 PyObject
* obj4
= 0 ;
6691 PyObject
* obj5
= 0 ;
6692 PyObject
* obj6
= 0 ;
6693 PyObject
* obj7
= 0 ;
6695 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail
;
6701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6702 if (SWIG_arg_fail(2)) SWIG_fail
;
6705 arg3
= (int)(SWIG_As_int(obj2
));
6706 if (SWIG_arg_fail(3)) SWIG_fail
;
6711 arg4
= wxString_in_helper(obj3
);
6712 if (arg4
== NULL
) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6725 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6730 arg7
= (long)(SWIG_As_long(obj6
));
6731 if (SWIG_arg_fail(7)) SWIG_fail
;
6736 arg8
= wxString_in_helper(obj7
);
6737 if (arg8
== NULL
) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6776 wxVisualAttributes result
;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "variant", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6785 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6786 if (SWIG_arg_fail(1)) SWIG_fail
;
6790 if (!wxPyCheckForApp()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 wxVisualAttributes
* resultptr
;
6799 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6808 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6813 return Py_BuildValue((char *)"");
6815 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxWindow
*arg1
= (wxWindow
*) 0 ;
6818 int arg2
= (int) -1 ;
6819 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6820 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6825 long arg6
= (long) 0 ;
6826 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6828 wxStaticBitmap
*result
;
6831 bool temp7
= false ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 PyObject
* obj2
= 0 ;
6835 PyObject
* obj3
= 0 ;
6836 PyObject
* obj4
= 0 ;
6837 PyObject
* obj5
= 0 ;
6838 PyObject
* obj6
= 0 ;
6840 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail
;
6848 arg2
= (int)(SWIG_As_int(obj1
));
6849 if (SWIG_arg_fail(2)) SWIG_fail
;
6854 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(3)) SWIG_fail
;
6857 SWIG_null_ref("wxBitmap");
6859 if (SWIG_arg_fail(3)) SWIG_fail
;
6865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6876 arg6
= (long)(SWIG_As_long(obj5
));
6877 if (SWIG_arg_fail(6)) SWIG_fail
;
6882 arg7
= wxString_in_helper(obj6
);
6883 if (arg7
== NULL
) SWIG_fail
;
6888 if (!wxPyCheckForApp()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6910 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxStaticBitmap
*result
;
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6933 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6936 wxWindow
*arg2
= (wxWindow
*) 0 ;
6937 int arg3
= (int) -1 ;
6938 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6939 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6940 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6941 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6942 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6943 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6944 long arg7
= (long) 0 ;
6945 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6946 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6950 bool temp8
= false ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 PyObject
* obj2
= 0 ;
6954 PyObject
* obj3
= 0 ;
6955 PyObject
* obj4
= 0 ;
6956 PyObject
* obj5
= 0 ;
6957 PyObject
* obj6
= 0 ;
6958 PyObject
* obj7
= 0 ;
6960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail
;
6966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(2)) SWIG_fail
;
6970 arg3
= (int)(SWIG_As_int(obj2
));
6971 if (SWIG_arg_fail(3)) SWIG_fail
;
6976 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6977 if (SWIG_arg_fail(4)) SWIG_fail
;
6979 SWIG_null_ref("wxBitmap");
6981 if (SWIG_arg_fail(4)) SWIG_fail
;
6987 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6993 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6998 arg7
= (long)(SWIG_As_long(obj6
));
6999 if (SWIG_arg_fail(7)) SWIG_fail
;
7004 arg8
= wxString_in_helper(obj7
);
7005 if (arg8
== NULL
) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7033 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (arg1
)->GetBitmap();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 wxBitmap
* resultptr
;
7054 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7063 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7066 wxBitmap
*arg2
= 0 ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7070 (char *) "self",(char *) "bitmap", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7075 if (SWIG_arg_fail(1)) SWIG_fail
;
7077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(2)) SWIG_fail
;
7080 SWIG_null_ref("wxBitmap");
7082 if (SWIG_arg_fail(2)) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7105 (char *) "self",(char *) "icon", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7110 if (SWIG_arg_fail(1)) SWIG_fail
;
7112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(2)) SWIG_fail
;
7115 SWIG_null_ref("wxIcon");
7117 if (SWIG_arg_fail(2)) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7136 wxVisualAttributes result
;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "variant", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7145 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7146 if (SWIG_arg_fail(1)) SWIG_fail
;
7150 if (!wxPyCheckForApp()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7158 wxVisualAttributes
* resultptr
;
7159 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7168 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7171 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7173 return Py_BuildValue((char *)"");
7175 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7176 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7181 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7186 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7188 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7195 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxWindow
*arg1
= (wxWindow
*) 0 ;
7198 int arg2
= (int) -1 ;
7199 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7200 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7201 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7202 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7203 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7204 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7205 long arg6
= (long) 0 ;
7206 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7207 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7208 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7209 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7213 bool temp5
= false ;
7214 bool temp8
= false ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7217 PyObject
* obj2
= 0 ;
7218 PyObject
* obj3
= 0 ;
7219 PyObject
* obj4
= 0 ;
7220 PyObject
* obj5
= 0 ;
7221 PyObject
* obj6
= 0 ;
7222 PyObject
* obj7
= 0 ;
7224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7232 arg2
= (int)(SWIG_As_int(obj1
));
7233 if (SWIG_arg_fail(2)) SWIG_fail
;
7239 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7245 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7250 if (! PySequence_Check(obj4
)) {
7251 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7254 arg5
= new wxArrayString
;
7256 int i
, len
=PySequence_Length(obj4
);
7257 for (i
=0; i
<len
; i
++) {
7258 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7260 PyObject
* str
= PyObject_Unicode(item
);
7262 PyObject
* str
= PyObject_Str(item
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7265 arg5
->Add(Py2wxString(str
));
7273 arg6
= (long)(SWIG_As_long(obj5
));
7274 if (SWIG_arg_fail(6)) SWIG_fail
;
7279 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7280 if (SWIG_arg_fail(7)) SWIG_fail
;
7282 SWIG_null_ref("wxValidator");
7284 if (SWIG_arg_fail(7)) SWIG_fail
;
7289 arg8
= wxString_in_helper(obj7
);
7290 if (arg8
== NULL
) SWIG_fail
;
7295 if (!wxPyCheckForApp()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7304 if (temp5
) delete arg5
;
7313 if (temp5
) delete arg5
;
7323 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7332 if (!wxPyCheckForApp()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (wxListBox
*)new wxListBox();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7346 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxListBox
*arg1
= (wxListBox
*) 0 ;
7349 wxWindow
*arg2
= (wxWindow
*) 0 ;
7350 int arg3
= (int) -1 ;
7351 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7352 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7353 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7354 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7355 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7356 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7357 long arg7
= (long) 0 ;
7358 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7359 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7360 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7361 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7365 bool temp6
= false ;
7366 bool temp9
= false ;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7369 PyObject
* obj2
= 0 ;
7370 PyObject
* obj3
= 0 ;
7371 PyObject
* obj4
= 0 ;
7372 PyObject
* obj5
= 0 ;
7373 PyObject
* obj6
= 0 ;
7374 PyObject
* obj7
= 0 ;
7375 PyObject
* obj8
= 0 ;
7377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail
;
7387 arg3
= (int)(SWIG_As_int(obj2
));
7388 if (SWIG_arg_fail(3)) SWIG_fail
;
7394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7405 if (! PySequence_Check(obj5
)) {
7406 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7409 arg6
= new wxArrayString
;
7411 int i
, len
=PySequence_Length(obj5
);
7412 for (i
=0; i
<len
; i
++) {
7413 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7415 PyObject
* str
= PyObject_Unicode(item
);
7417 PyObject
* str
= PyObject_Str(item
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7420 arg6
->Add(Py2wxString(str
));
7428 arg7
= (long)(SWIG_As_long(obj6
));
7429 if (SWIG_arg_fail(7)) SWIG_fail
;
7434 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(8)) SWIG_fail
;
7437 SWIG_null_ref("wxValidator");
7439 if (SWIG_arg_fail(8)) SWIG_fail
;
7444 arg9
= wxString_in_helper(obj8
);
7445 if (arg9
== NULL
) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7460 if (temp6
) delete arg6
;
7469 if (temp6
) delete arg6
;
7479 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxListBox
*arg1
= (wxListBox
*) 0 ;
7482 wxString
*arg2
= 0 ;
7484 PyObject
*arg4
= (PyObject
*) NULL
;
7485 bool temp2
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7489 PyObject
* obj3
= 0 ;
7491 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail
;
7498 arg2
= wxString_in_helper(obj1
);
7499 if (arg2
== NULL
) SWIG_fail
;
7503 arg3
= (int)(SWIG_As_int(obj2
));
7504 if (SWIG_arg_fail(3)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7531 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxListBox
*arg1
= (wxListBox
*) 0 ;
7534 wxArrayString
*arg2
= 0 ;
7536 bool temp2
= false ;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7541 (char *) "self",(char *) "items",(char *) "pos", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail
;
7548 if (! PySequence_Check(obj1
)) {
7549 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7552 arg2
= new wxArrayString
;
7554 int i
, len
=PySequence_Length(obj1
);
7555 for (i
=0; i
<len
; i
++) {
7556 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7558 PyObject
* str
= PyObject_Unicode(item
);
7560 PyObject
* str
= PyObject_Str(item
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7563 arg2
->Add(Py2wxString(str
));
7569 arg3
= (int)(SWIG_As_int(obj2
));
7570 if (SWIG_arg_fail(3)) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 if (temp2
) delete arg2
;
7586 if (temp2
) delete arg2
;
7592 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxListBox
*arg1
= (wxListBox
*) 0 ;
7595 wxArrayString
*arg2
= 0 ;
7596 bool temp2
= false ;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7600 (char *) "self",(char *) "items", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 if (! PySequence_Check(obj1
)) {
7608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7611 arg2
= new wxArrayString
;
7613 int i
, len
=PySequence_Length(obj1
);
7614 for (i
=0; i
<len
; i
++) {
7615 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7617 PyObject
* str
= PyObject_Unicode(item
);
7619 PyObject
* str
= PyObject_Str(item
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7622 arg2
->Add(Py2wxString(str
));
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 (arg1
)->Set((wxArrayString
const &)*arg2
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 Py_INCREF(Py_None
); resultobj
= Py_None
;
7636 if (temp2
) delete arg2
;
7641 if (temp2
) delete arg2
;
7647 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxListBox
*arg1
= (wxListBox
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7655 (char *) "self",(char *) "n", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 arg2
= (int)(SWIG_As_int(obj1
));
7663 if (SWIG_arg_fail(2)) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7681 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxListBox
*arg1
= (wxListBox
*) 0 ;
7685 bool arg3
= (bool) true ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7688 PyObject
* obj2
= 0 ;
7690 (char *) "self",(char *) "n",(char *) "select", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(1)) SWIG_fail
;
7697 arg2
= (int)(SWIG_As_int(obj1
));
7698 if (SWIG_arg_fail(2)) SWIG_fail
;
7702 arg3
= (bool)(SWIG_As_bool(obj2
));
7703 if (SWIG_arg_fail(3)) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->SetSelection(arg2
,arg3
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxListBox
*arg1
= (wxListBox
*) 0 ;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7727 (char *) "self",(char *) "n", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) 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
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 (arg1
)->Select(arg2
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 Py_INCREF(Py_None
); resultobj
= Py_None
;
7751 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxListBox
*arg1
= (wxListBox
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "n", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 arg2
= (int)(SWIG_As_int(obj1
));
7766 if (SWIG_arg_fail(2)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->Deselect(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxListBox
*arg1
= (wxListBox
*) 0 ;
7785 int arg2
= (int) -1 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "itemToLeaveSelected", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 arg2
= (int)(SWIG_As_int(obj1
));
7798 if (SWIG_arg_fail(2)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->DeselectAll(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxListBox
*arg1
= (wxListBox
*) 0 ;
7818 wxString
*arg2
= 0 ;
7819 bool arg3
= (bool) true ;
7821 bool temp2
= false ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7824 PyObject
* obj2
= 0 ;
7826 (char *) "self",(char *) "s",(char *) "select", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7833 arg2
= wxString_in_helper(obj1
);
7834 if (arg2
== NULL
) SWIG_fail
;
7839 arg3
= (bool)(SWIG_As_bool(obj2
));
7840 if (SWIG_arg_fail(3)) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7867 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxListBox
*arg1
= (wxListBox
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7893 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxListBox
*arg1
= (wxListBox
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7900 (char *) "self",(char *) "n", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 arg2
= (int)(SWIG_As_int(obj1
));
7908 if (SWIG_arg_fail(2)) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 (arg1
)->SetFirstItem(arg2
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 Py_INCREF(Py_None
); resultobj
= Py_None
;
7924 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxListBox
*arg1
= (wxListBox
*) 0 ;
7927 wxString
*arg2
= 0 ;
7928 bool temp2
= false ;
7929 PyObject
* obj0
= 0 ;
7930 PyObject
* obj1
= 0 ;
7932 (char *) "self",(char *) "s", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 arg2
= wxString_in_helper(obj1
);
7940 if (arg2
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxListBox
*arg1
= (wxListBox
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "n", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail
;
7979 arg2
= (int)(SWIG_As_int(obj1
));
7980 if (SWIG_arg_fail(2)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 (arg1
)->EnsureVisible(arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 Py_INCREF(Py_None
); resultobj
= Py_None
;
7996 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxListBox
*arg1
= (wxListBox
*) 0 ;
7999 wxString
*arg2
= 0 ;
8000 bool temp2
= false ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8004 (char *) "self",(char *) "s", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail
;
8011 arg2
= wxString_in_helper(obj1
);
8012 if (arg2
== NULL
) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8037 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxListBox
*arg1
= (wxListBox
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8065 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxListBox
*arg1
= (wxListBox
*) 0 ;
8069 wxColour
*arg3
= 0 ;
8071 PyObject
* obj0
= 0 ;
8072 PyObject
* obj1
= 0 ;
8073 PyObject
* obj2
= 0 ;
8075 (char *) "self",(char *) "item",(char *) "c", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail
;
8082 arg2
= (int)(SWIG_As_int(obj1
));
8083 if (SWIG_arg_fail(2)) SWIG_fail
;
8087 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxListBox
*arg1
= (wxListBox
*) 0 ;
8107 wxColour
*arg3
= 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8111 PyObject
* obj2
= 0 ;
8113 (char *) "self",(char *) "item",(char *) "c", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail
;
8120 arg2
= (int)(SWIG_As_int(obj1
));
8121 if (SWIG_arg_fail(2)) SWIG_fail
;
8125 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxListBox
*arg1
= (wxListBox
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8150 (char *) "self",(char *) "item",(char *) "f", NULL
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",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
;
8161 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(3)) SWIG_fail
;
8164 SWIG_null_ref("wxFont");
8166 if (SWIG_arg_fail(3)) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8185 wxVisualAttributes result
;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "variant", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8194 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8195 if (SWIG_arg_fail(1)) SWIG_fail
;
8199 if (!wxPyCheckForApp()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 wxVisualAttributes
* resultptr
;
8208 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8217 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8222 return Py_BuildValue((char *)"");
8224 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxWindow
*arg1
= (wxWindow
*) 0 ;
8227 int arg2
= (int) -1 ;
8228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8230 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8231 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8232 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8233 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8234 long arg6
= (long) 0 ;
8235 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8236 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8237 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8239 wxCheckListBox
*result
;
8242 bool temp5
= false ;
8243 bool temp8
= false ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8247 PyObject
* obj3
= 0 ;
8248 PyObject
* obj4
= 0 ;
8249 PyObject
* obj5
= 0 ;
8250 PyObject
* obj6
= 0 ;
8251 PyObject
* obj7
= 0 ;
8253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail
;
8261 arg2
= (int)(SWIG_As_int(obj1
));
8262 if (SWIG_arg_fail(2)) SWIG_fail
;
8268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8279 if (! PySequence_Check(obj4
)) {
8280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8283 arg5
= new wxArrayString
;
8285 int i
, len
=PySequence_Length(obj4
);
8286 for (i
=0; i
<len
; i
++) {
8287 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8289 PyObject
* str
= PyObject_Unicode(item
);
8291 PyObject
* str
= PyObject_Str(item
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8294 arg5
->Add(Py2wxString(str
));
8302 arg6
= (long)(SWIG_As_long(obj5
));
8303 if (SWIG_arg_fail(6)) SWIG_fail
;
8308 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8309 if (SWIG_arg_fail(7)) SWIG_fail
;
8311 SWIG_null_ref("wxValidator");
8313 if (SWIG_arg_fail(7)) SWIG_fail
;
8318 arg8
= wxString_in_helper(obj7
);
8319 if (arg8
== NULL
) SWIG_fail
;
8324 if (!wxPyCheckForApp()) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8333 if (temp5
) delete arg5
;
8342 if (temp5
) delete arg5
;
8352 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxCheckListBox
*result
;
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8361 if (!wxPyCheckForApp()) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (wxCheckListBox
*)new wxCheckListBox();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8375 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8378 wxWindow
*arg2
= (wxWindow
*) 0 ;
8379 int arg3
= (int) -1 ;
8380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8384 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8385 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8386 long arg7
= (long) 0 ;
8387 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8388 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8389 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8390 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8394 bool temp6
= false ;
8395 bool temp9
= false ;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8398 PyObject
* obj2
= 0 ;
8399 PyObject
* obj3
= 0 ;
8400 PyObject
* obj4
= 0 ;
8401 PyObject
* obj5
= 0 ;
8402 PyObject
* obj6
= 0 ;
8403 PyObject
* obj7
= 0 ;
8404 PyObject
* obj8
= 0 ;
8406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8413 if (SWIG_arg_fail(2)) SWIG_fail
;
8416 arg3
= (int)(SWIG_As_int(obj2
));
8417 if (SWIG_arg_fail(3)) SWIG_fail
;
8423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8434 if (! PySequence_Check(obj5
)) {
8435 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8438 arg6
= new wxArrayString
;
8440 int i
, len
=PySequence_Length(obj5
);
8441 for (i
=0; i
<len
; i
++) {
8442 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8444 PyObject
* str
= PyObject_Unicode(item
);
8446 PyObject
* str
= PyObject_Str(item
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8449 arg6
->Add(Py2wxString(str
));
8457 arg7
= (long)(SWIG_As_long(obj6
));
8458 if (SWIG_arg_fail(7)) SWIG_fail
;
8463 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8464 if (SWIG_arg_fail(8)) SWIG_fail
;
8466 SWIG_null_ref("wxValidator");
8468 if (SWIG_arg_fail(8)) SWIG_fail
;
8473 arg9
= wxString_in_helper(obj8
);
8474 if (arg9
== NULL
) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 if (temp6
) delete arg6
;
8498 if (temp6
) delete arg6
;
8508 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self",(char *) "index", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 arg2
= (int)(SWIG_As_int(obj1
));
8524 if (SWIG_arg_fail(2)) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->IsChecked(arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8546 int arg3
= (int) true ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8551 (char *) "self",(char *) "index",(char *) "check", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail
;
8558 arg2
= (int)(SWIG_As_int(obj1
));
8559 if (SWIG_arg_fail(2)) SWIG_fail
;
8563 arg3
= (int)(SWIG_As_int(obj2
));
8564 if (SWIG_arg_fail(3)) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 (arg1
)->Check(arg2
,arg3
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8590 (char *) "self",(char *) "pt", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail
;
8598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_From_int((int)(result
));
8616 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8624 PyObject
* obj2
= 0 ;
8626 (char *) "self",(char *) "x",(char *) "y", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8631 if (SWIG_arg_fail(1)) SWIG_fail
;
8633 arg2
= (int)(SWIG_As_int(obj1
));
8634 if (SWIG_arg_fail(2)) SWIG_fail
;
8637 arg3
= (int)(SWIG_As_int(obj2
));
8638 if (SWIG_arg_fail(3)) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_From_int((int)(result
));
8656 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8659 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8661 return Py_BuildValue((char *)"");
8663 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8664 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8669 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8674 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8676 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8683 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8685 wxColour
const &arg1_defvalue
= wxNullColour
;
8686 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8687 wxColour
const &arg2_defvalue
= wxNullColour
;
8688 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8689 wxFont
const &arg3_defvalue
= wxNullFont
;
8690 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8691 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 PyObject
* obj2
= 0 ;
8698 PyObject
* obj3
= 0 ;
8700 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8707 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8713 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8718 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8719 if (SWIG_arg_fail(3)) SWIG_fail
;
8721 SWIG_null_ref("wxFont");
8723 if (SWIG_arg_fail(3)) SWIG_fail
;
8728 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8729 if (SWIG_arg_fail(4)) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8746 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "self", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8776 (char *) "self", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8799 wxColour
*arg2
= 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "colText", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8831 wxColour
*arg2
= 0 ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8836 (char *) "self",(char *) "colBack", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8864 long arg3
= (long) wxTEXT_ATTR_FONT
;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8869 (char *) "self",(char *) "font",(char *) "flags", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8876 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8877 if (SWIG_arg_fail(2)) SWIG_fail
;
8879 SWIG_null_ref("wxFont");
8881 if (SWIG_arg_fail(2)) SWIG_fail
;
8885 arg3
= (long)(SWIG_As_long(obj2
));
8886 if (SWIG_arg_fail(3)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8906 wxTextAttrAlignment arg2
;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8910 (char *) "self",(char *) "alignment", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail
;
8917 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8918 if (SWIG_arg_fail(2)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8937 wxArrayInt
*arg2
= 0 ;
8938 bool temp2
= false ;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8942 (char *) "self",(char *) "tabs", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8947 if (SWIG_arg_fail(1)) SWIG_fail
;
8949 if (! PySequence_Check(obj1
)) {
8950 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8953 arg2
= new wxArrayInt
;
8955 int i
, len
=PySequence_Length(obj1
);
8956 for (i
=0; i
<len
; i
++) {
8957 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8958 PyObject
* number
= PyNumber_Int(item
);
8959 arg2
->Add(PyInt_AS_LONG(number
));
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 if (temp2
) delete arg2
;
8978 if (temp2
) delete arg2
;
8984 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8988 int arg3
= (int) 0 ;
8989 PyObject
* obj0
= 0 ;
8990 PyObject
* obj1
= 0 ;
8991 PyObject
* obj2
= 0 ;
8993 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail
;
9000 arg2
= (int)(SWIG_As_int(obj1
));
9001 if (SWIG_arg_fail(2)) SWIG_fail
;
9005 arg3
= (int)(SWIG_As_int(obj2
));
9006 if (SWIG_arg_fail(3)) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 (arg1
)->SetLeftIndent(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 Py_INCREF(Py_None
); resultobj
= Py_None
;
9023 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9030 (char *) "self",(char *) "indent", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail
;
9037 arg2
= (int)(SWIG_As_int(obj1
));
9038 if (SWIG_arg_fail(2)) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 (arg1
)->SetRightIndent(arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9061 (char *) "self",(char *) "flags", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail
;
9068 arg2
= (long)(SWIG_As_long(obj1
));
9069 if (SWIG_arg_fail(2)) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->SetFlags(arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9085 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9113 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9145 PyObject
* obj0
= 0 ;
9147 (char *) "self", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9169 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9175 (char *) "self", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9197 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9201 PyObject
* obj0
= 0 ;
9203 (char *) "self", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9225 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9253 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9259 (char *) "self", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9264 if (SWIG_arg_fail(1)) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9281 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9289 (char *) "self",(char *) "flag", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9296 arg2
= (long)(SWIG_As_long(obj1
));
9297 if (SWIG_arg_fail(2)) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9331 result
= (wxColour
*) &_result_ref
;
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9344 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9350 (char *) "self", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9360 result
= (wxColour
*) &_result_ref
;
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9373 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9379 (char *) "self", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9389 result
= (wxFont
*) &_result_ref
;
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 wxFont
* resultptr
= new wxFont(*result
);
9397 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9405 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9408 wxTextAttrAlignment result
;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_From_int((result
));
9431 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9447 result
= (wxArrayInt
*) &_result_ref
;
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= PyList_New(0);
9456 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9457 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9458 PyList_Append(resultobj
, val
);
9468 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_From_long((long)(result
));
9496 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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();
9510 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_From_long((long)(result
));
9524 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9530 (char *) "self", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_From_long((long)(result
));
9552 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
;
9554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_From_long((long)(result
));
9580 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9586 (char *) "self", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9591 if (SWIG_arg_fail(1)) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9608 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxTextAttr
*arg1
= 0 ;
9611 wxTextAttr
*arg2
= 0 ;
9612 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9618 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9626 SWIG_null_ref("wxTextAttr");
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9631 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9632 if (SWIG_arg_fail(2)) SWIG_fail
;
9634 SWIG_null_ref("wxTextAttr");
9636 if (SWIG_arg_fail(2)) SWIG_fail
;
9638 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9639 if (SWIG_arg_fail(3)) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 wxTextAttr
* resultptr
;
9649 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9658 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9661 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9663 return Py_BuildValue((char *)"");
9665 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxWindow
*arg1
= (wxWindow
*) 0 ;
9668 int arg2
= (int) -1 ;
9669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9675 long arg6
= (long) 0 ;
9676 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9677 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9678 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9679 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9681 bool temp3
= false ;
9684 bool temp8
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9688 PyObject
* obj3
= 0 ;
9689 PyObject
* obj4
= 0 ;
9690 PyObject
* obj5
= 0 ;
9691 PyObject
* obj6
= 0 ;
9692 PyObject
* obj7
= 0 ;
9694 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9699 if (SWIG_arg_fail(1)) SWIG_fail
;
9702 arg2
= (int)(SWIG_As_int(obj1
));
9703 if (SWIG_arg_fail(2)) SWIG_fail
;
9708 arg3
= wxString_in_helper(obj2
);
9709 if (arg3
== NULL
) SWIG_fail
;
9716 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9722 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9727 arg6
= (long)(SWIG_As_long(obj5
));
9728 if (SWIG_arg_fail(6)) SWIG_fail
;
9733 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9734 if (SWIG_arg_fail(7)) SWIG_fail
;
9736 SWIG_null_ref("wxValidator");
9738 if (SWIG_arg_fail(7)) SWIG_fail
;
9743 arg8
= wxString_in_helper(obj7
);
9744 if (arg8
== NULL
) SWIG_fail
;
9749 if (!wxPyCheckForApp()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9779 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9788 if (!wxPyCheckForApp()) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (wxTextCtrl
*)new wxTextCtrl();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9802 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9805 wxWindow
*arg2
= (wxWindow
*) 0 ;
9806 int arg3
= (int) -1 ;
9807 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9808 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9809 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9810 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9811 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9812 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9813 long arg7
= (long) 0 ;
9814 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9815 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9816 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9817 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9819 bool temp4
= false ;
9822 bool temp9
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 PyObject
* obj3
= 0 ;
9827 PyObject
* obj4
= 0 ;
9828 PyObject
* obj5
= 0 ;
9829 PyObject
* obj6
= 0 ;
9830 PyObject
* obj7
= 0 ;
9831 PyObject
* obj8
= 0 ;
9833 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9840 if (SWIG_arg_fail(2)) SWIG_fail
;
9843 arg3
= (int)(SWIG_As_int(obj2
));
9844 if (SWIG_arg_fail(3)) SWIG_fail
;
9849 arg4
= wxString_in_helper(obj3
);
9850 if (arg4
== NULL
) SWIG_fail
;
9857 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9863 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9868 arg7
= (long)(SWIG_As_long(obj6
));
9869 if (SWIG_arg_fail(7)) SWIG_fail
;
9874 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9875 if (SWIG_arg_fail(8)) SWIG_fail
;
9877 SWIG_null_ref("wxValidator");
9879 if (SWIG_arg_fail(8)) SWIG_fail
;
9884 arg9
= wxString_in_helper(obj8
);
9885 if (arg9
== NULL
) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9921 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9932 if (SWIG_arg_fail(1)) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9953 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9956 wxString
*arg2
= 0 ;
9957 bool temp2
= false ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9961 (char *) "self",(char *) "value", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail
;
9968 arg2
= wxString_in_helper(obj1
);
9969 if (arg2
== NULL
) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 (arg1
)->SetValue((wxString
const &)*arg2
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 PyObject
* obj2
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "from",(char *) "to", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 arg2
= (long)(SWIG_As_long(obj1
));
10012 if (SWIG_arg_fail(2)) SWIG_fail
;
10015 arg3
= (long)(SWIG_As_long(obj2
));
10016 if (SWIG_arg_fail(3)) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10038 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "lineNo", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail
;
10053 arg2
= (long)(SWIG_As_long(obj1
));
10054 if (SWIG_arg_fail(2)) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_From_int((int)(result
));
10072 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self",(char *) "lineNo", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10085 if (SWIG_arg_fail(1)) SWIG_fail
;
10087 arg2
= (long)(SWIG_As_long(obj1
));
10088 if (SWIG_arg_fail(2)) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10110 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_From_int((int)(result
));
10138 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10177 if (SWIG_arg_fail(1)) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10194 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10205 if (SWIG_arg_fail(1)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10222 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10233 if (SWIG_arg_fail(1)) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10250 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10253 long *arg2
= (long *) 0 ;
10254 long *arg3
= (long *) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10265 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10268 if (SWIG_arg_fail(1)) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10278 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10279 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10280 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10287 static PyObject
*_wrap_TextCtrl_GetStringSelection(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_GetStringSelection",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
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10319 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 Py_INCREF(Py_None
); resultobj
= Py_None
;
10344 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10349 wxString
*arg4
= 0 ;
10350 bool temp4
= false ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 PyObject
* obj2
= 0 ;
10354 PyObject
* obj3
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail
;
10363 arg2
= (long)(SWIG_As_long(obj1
));
10364 if (SWIG_arg_fail(2)) SWIG_fail
;
10367 arg3
= (long)(SWIG_As_long(obj2
));
10368 if (SWIG_arg_fail(3)) SWIG_fail
;
10371 arg4
= wxString_in_helper(obj3
);
10372 if (arg4
== NULL
) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 PyObject
* obj2
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "from",(char *) "to", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10413 arg2
= (long)(SWIG_As_long(obj1
));
10414 if (SWIG_arg_fail(2)) SWIG_fail
;
10417 arg3
= (long)(SWIG_As_long(obj2
));
10418 if (SWIG_arg_fail(3)) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->Remove(arg2
,arg3
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 Py_INCREF(Py_None
); resultobj
= Py_None
;
10434 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10437 wxString
*arg2
= 0 ;
10439 bool temp2
= false ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self",(char *) "file", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail
;
10450 arg2
= wxString_in_helper(obj1
);
10451 if (arg2
== NULL
) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10478 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10481 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10482 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10484 bool temp2
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self",(char *) "file", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10525 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->MarkDirty();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 Py_INCREF(Py_None
); resultobj
= Py_None
;
10550 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->DiscardEdits();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10578 unsigned long arg2
;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "len", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail
;
10589 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10590 if (SWIG_arg_fail(2)) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->SetMaxLength(arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10609 wxString
*arg2
= 0 ;
10610 bool temp2
= false ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "text", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail
;
10621 arg2
= wxString_in_helper(obj1
);
10622 if (arg2
== NULL
) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 (arg1
)->WriteText((wxString
const &)*arg2
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10647 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10650 wxString
*arg2
= 0 ;
10651 bool temp2
= false ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "text", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10662 arg2
= wxString_in_helper(obj1
);
10663 if (arg2
== NULL
) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->AppendText((wxString
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10691 wxKeyEvent
*arg2
= 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self",(char *) "event", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10704 if (SWIG_arg_fail(2)) SWIG_fail
;
10705 if (arg2
== NULL
) {
10706 SWIG_null_ref("wxKeyEvent");
10708 if (SWIG_arg_fail(2)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10731 wxTextAttr
*arg4
= 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 PyObject
* obj3
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail
;
10745 arg2
= (long)(SWIG_As_long(obj1
));
10746 if (SWIG_arg_fail(2)) SWIG_fail
;
10749 arg3
= (long)(SWIG_As_long(obj2
));
10750 if (SWIG_arg_fail(3)) SWIG_fail
;
10753 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10754 if (SWIG_arg_fail(4)) SWIG_fail
;
10755 if (arg4
== NULL
) {
10756 SWIG_null_ref("wxTextAttr");
10758 if (SWIG_arg_fail(4)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10776 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10780 wxTextAttr
*arg3
= 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 PyObject
* obj2
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "position",(char *) "style", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 arg2
= (long)(SWIG_As_long(obj1
));
10794 if (SWIG_arg_fail(2)) SWIG_fail
;
10797 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10798 if (SWIG_arg_fail(3)) SWIG_fail
;
10799 if (arg3
== NULL
) {
10800 SWIG_null_ref("wxTextAttr");
10802 if (SWIG_arg_fail(3)) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10820 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10823 wxTextAttr
*arg2
= 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "style", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10833 if (SWIG_arg_fail(1)) SWIG_fail
;
10835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10836 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 if (arg2
== NULL
) {
10838 SWIG_null_ref("wxTextAttr");
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10858 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10861 wxTextAttr
*result
;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10869 if (SWIG_arg_fail(1)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10874 result
= (wxTextAttr
*) &_result_ref
;
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10887 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "x",(char *) "y", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail
;
10904 arg2
= (long)(SWIG_As_long(obj1
));
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 arg3
= (long)(SWIG_As_long(obj2
));
10909 if (SWIG_arg_fail(3)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= SWIG_From_long((long)(result
));
10927 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10931 long *arg3
= (long *) 0 ;
10932 long *arg4
= (long *) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "pos", NULL
10943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10944 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail
;
10949 arg2
= (long)(SWIG_As_long(obj1
));
10950 if (SWIG_arg_fail(2)) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10961 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10962 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10963 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10970 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char *kwnames
[] = {
10977 (char *) "self",(char *) "pos", NULL
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10984 arg2
= (long)(SWIG_As_long(obj1
));
10985 if (SWIG_arg_fail(2)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->ShowPosition(arg2
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11004 wxPoint
*arg2
= 0 ;
11005 long *arg3
= (long *) 0 ;
11006 long *arg4
= (long *) 0 ;
11007 wxTextCtrlHitTestResult result
;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "pt", NULL
11019 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11020 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_From_int((result
));
11036 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11037 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11038 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11039 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11046 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11049 wxPoint
*arg2
= 0 ;
11050 long *arg3
= (long *) 0 ;
11051 wxTextCtrlHitTestResult result
;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "self",(char *) "pt", NULL
11061 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_From_int((result
));
11077 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11078 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11085 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11199 if (SWIG_arg_fail(1)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11279 if (SWIG_arg_fail(1)) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 Py_INCREF(Py_None
); resultobj
= Py_None
;
11294 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11333 if (SWIG_arg_fail(1)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11350 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "pos", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11364 arg2
= (long)(SWIG_As_long(obj1
));
11365 if (SWIG_arg_fail(2)) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 (arg1
)->SetInsertionPoint(arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11384 PyObject
* obj0
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->SetInsertionPointEnd();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_From_long((long)(result
));
11434 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_From_long((long)(result
));
11462 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 PyObject
* obj2
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self",(char *) "from",(char *) "to", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail
;
11478 arg2
= (long)(SWIG_As_long(obj1
));
11479 if (SWIG_arg_fail(2)) SWIG_fail
;
11482 arg3
= (long)(SWIG_As_long(obj2
));
11483 if (SWIG_arg_fail(3)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetSelection(arg2
,arg3
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SelectAll();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self",(char *) "editable", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail
;
11538 arg2
= (bool)(SWIG_As_bool(obj1
));
11539 if (SWIG_arg_fail(2)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->SetEditable(arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11558 wxString
*arg2
= 0 ;
11559 bool temp2
= false ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "text", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail
;
11570 arg2
= wxString_in_helper(obj1
);
11571 if (arg2
== NULL
) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11596 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "from",(char *) "to", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail
;
11613 arg2
= (long)(SWIG_As_long(obj1
));
11614 if (SWIG_arg_fail(2)) SWIG_fail
;
11617 arg3
= (long)(SWIG_As_long(obj2
));
11618 if (SWIG_arg_fail(3)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11640 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11643 wxVisualAttributes result
;
11644 PyObject
* obj0
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "variant", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11652 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11653 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 wxVisualAttributes
* resultptr
;
11666 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11675 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11680 return Py_BuildValue((char *)"");
11682 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11685 wxMouseEvent
*arg2
= 0 ;
11688 wxTextUrlEvent
*result
;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 PyObject
* obj2
= 0 ;
11692 PyObject
* obj3
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11699 arg1
= (int)(SWIG_As_int(obj0
));
11700 if (SWIG_arg_fail(1)) SWIG_fail
;
11703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11704 if (SWIG_arg_fail(2)) SWIG_fail
;
11705 if (arg2
== NULL
) {
11706 SWIG_null_ref("wxMouseEvent");
11708 if (SWIG_arg_fail(2)) SWIG_fail
;
11711 arg3
= (long)(SWIG_As_long(obj2
));
11712 if (SWIG_arg_fail(3)) SWIG_fail
;
11715 arg4
= (long)(SWIG_As_long(obj3
));
11716 if (SWIG_arg_fail(4)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11732 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11735 wxMouseEvent
*result
;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11743 if (SWIG_arg_fail(1)) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11748 result
= (wxMouseEvent
*) &_result_ref
;
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11761 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11772 if (SWIG_arg_fail(1)) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SWIG_From_long((long)(result
));
11789 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11800 if (SWIG_arg_fail(1)) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_From_long((long)(result
));
11817 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11820 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11822 return Py_BuildValue((char *)"");
11824 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11825 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11830 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11835 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11837 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11844 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxWindow
*arg1
= (wxWindow
*) 0 ;
11847 int arg2
= (int) -1 ;
11848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11852 long arg5
= (long) wxSB_HORIZONTAL
;
11853 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11854 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11855 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11857 wxScrollBar
*result
;
11860 bool temp7
= false ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 PyObject
* obj2
= 0 ;
11864 PyObject
* obj3
= 0 ;
11865 PyObject
* obj4
= 0 ;
11866 PyObject
* obj5
= 0 ;
11867 PyObject
* obj6
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 arg2
= (int)(SWIG_As_int(obj1
));
11878 if (SWIG_arg_fail(2)) SWIG_fail
;
11884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11890 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11895 arg5
= (long)(SWIG_As_long(obj4
));
11896 if (SWIG_arg_fail(5)) SWIG_fail
;
11901 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11902 if (SWIG_arg_fail(6)) SWIG_fail
;
11903 if (arg6
== NULL
) {
11904 SWIG_null_ref("wxValidator");
11906 if (SWIG_arg_fail(6)) SWIG_fail
;
11911 arg7
= wxString_in_helper(obj6
);
11912 if (arg7
== NULL
) SWIG_fail
;
11917 if (!wxPyCheckForApp()) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11939 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxScrollBar
*result
;
11942 char *kwnames
[] = {
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11948 if (!wxPyCheckForApp()) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxScrollBar
*)new wxScrollBar();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11962 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11965 wxWindow
*arg2
= (wxWindow
*) 0 ;
11966 int arg3
= (int) -1 ;
11967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11971 long arg6
= (long) wxSB_HORIZONTAL
;
11972 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11973 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11974 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11975 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11979 bool temp8
= false ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 PyObject
* obj3
= 0 ;
11984 PyObject
* obj4
= 0 ;
11985 PyObject
* obj5
= 0 ;
11986 PyObject
* obj6
= 0 ;
11987 PyObject
* obj7
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail
;
11995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11996 if (SWIG_arg_fail(2)) SWIG_fail
;
11999 arg3
= (int)(SWIG_As_int(obj2
));
12000 if (SWIG_arg_fail(3)) SWIG_fail
;
12006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12017 arg6
= (long)(SWIG_As_long(obj5
));
12018 if (SWIG_arg_fail(6)) SWIG_fail
;
12023 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12024 if (SWIG_arg_fail(7)) SWIG_fail
;
12025 if (arg7
== NULL
) {
12026 SWIG_null_ref("wxValidator");
12028 if (SWIG_arg_fail(7)) SWIG_fail
;
12033 arg8
= wxString_in_helper(obj7
);
12034 if (arg8
== NULL
) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12073 if (SWIG_arg_fail(1)) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_From_int((int)(result
));
12090 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_From_int((int)(result
));
12118 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12129 if (SWIG_arg_fail(1)) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_From_int((int)(result
));
12146 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12157 if (SWIG_arg_fail(1)) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_From_int((int)(result
));
12174 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12202 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self",(char *) "viewStart", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail
;
12216 arg2
= (int)(SWIG_As_int(obj1
));
12217 if (SWIG_arg_fail(2)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetThumbPosition(arg2
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 Py_INCREF(Py_None
); resultobj
= Py_None
;
12233 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12240 bool arg6
= (bool) true ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 PyObject
* obj2
= 0 ;
12244 PyObject
* obj3
= 0 ;
12245 PyObject
* obj4
= 0 ;
12246 PyObject
* obj5
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12255 arg2
= (int)(SWIG_As_int(obj1
));
12256 if (SWIG_arg_fail(2)) SWIG_fail
;
12259 arg3
= (int)(SWIG_As_int(obj2
));
12260 if (SWIG_arg_fail(3)) SWIG_fail
;
12263 arg4
= (int)(SWIG_As_int(obj3
));
12264 if (SWIG_arg_fail(4)) SWIG_fail
;
12267 arg5
= (int)(SWIG_As_int(obj4
));
12268 if (SWIG_arg_fail(5)) SWIG_fail
;
12272 arg6
= (bool)(SWIG_As_bool(obj5
));
12273 if (SWIG_arg_fail(6)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12293 wxVisualAttributes result
;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "variant", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12302 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12307 if (!wxPyCheckForApp()) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 wxVisualAttributes
* resultptr
;
12316 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12325 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12328 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12330 return Py_BuildValue((char *)"");
12332 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12333 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12338 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12343 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12345 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12352 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12353 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12358 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12363 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12365 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12372 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxWindow
*arg1
= (wxWindow
*) 0 ;
12375 int arg2
= (int) -1 ;
12376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12380 long arg5
= (long) wxSP_HORIZONTAL
;
12381 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12382 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12383 wxSpinButton
*result
;
12386 bool temp6
= false ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 PyObject
* obj2
= 0 ;
12390 PyObject
* obj3
= 0 ;
12391 PyObject
* obj4
= 0 ;
12392 PyObject
* obj5
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12402 arg2
= (int)(SWIG_As_int(obj1
));
12403 if (SWIG_arg_fail(2)) SWIG_fail
;
12409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12420 arg5
= (long)(SWIG_As_long(obj4
));
12421 if (SWIG_arg_fail(5)) SWIG_fail
;
12426 arg6
= wxString_in_helper(obj5
);
12427 if (arg6
== NULL
) SWIG_fail
;
12432 if (!wxPyCheckForApp()) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12454 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxSpinButton
*result
;
12457 char *kwnames
[] = {
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12463 if (!wxPyCheckForApp()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (wxSpinButton
*)new wxSpinButton();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12477 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12480 wxWindow
*arg2
= (wxWindow
*) 0 ;
12481 int arg3
= (int) -1 ;
12482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12486 long arg6
= (long) wxSP_HORIZONTAL
;
12487 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12492 bool temp7
= false ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 PyObject
* obj3
= 0 ;
12497 PyObject
* obj4
= 0 ;
12498 PyObject
* obj5
= 0 ;
12499 PyObject
* obj6
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail
;
12507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(2)) SWIG_fail
;
12511 arg3
= (int)(SWIG_As_int(obj2
));
12512 if (SWIG_arg_fail(3)) SWIG_fail
;
12518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12529 arg6
= (long)(SWIG_As_long(obj5
));
12530 if (SWIG_arg_fail(6)) SWIG_fail
;
12535 arg7
= wxString_in_helper(obj6
);
12536 if (arg7
== NULL
) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12575 if (SWIG_arg_fail(1)) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_From_int((int)(result
));
12592 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_From_int((int)(result
));
12620 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12631 if (SWIG_arg_fail(1)) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_From_int((int)(result
));
12648 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "val", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail
;
12662 arg2
= (int)(SWIG_As_int(obj1
));
12663 if (SWIG_arg_fail(2)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetValue(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "minVal", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 arg2
= (int)(SWIG_As_int(obj1
));
12694 if (SWIG_arg_fail(2)) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->SetMin(arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "maxVal", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail
;
12724 arg2
= (int)(SWIG_As_int(obj1
));
12725 if (SWIG_arg_fail(2)) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetMax(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail
;
12757 arg2
= (int)(SWIG_As_int(obj1
));
12758 if (SWIG_arg_fail(2)) SWIG_fail
;
12761 arg3
= (int)(SWIG_As_int(obj2
));
12762 if (SWIG_arg_fail(3)) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetRange(arg2
,arg3
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12778 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12809 wxVisualAttributes result
;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "variant", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12818 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12819 if (SWIG_arg_fail(1)) SWIG_fail
;
12823 if (!wxPyCheckForApp()) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 wxVisualAttributes
* resultptr
;
12832 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12841 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12844 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12846 return Py_BuildValue((char *)"");
12848 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxWindow
*arg1
= (wxWindow
*) 0 ;
12851 int arg2
= (int) -1 ;
12852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12858 long arg6
= (long) wxSP_ARROW_KEYS
;
12859 int arg7
= (int) 0 ;
12860 int arg8
= (int) 100 ;
12861 int arg9
= (int) 0 ;
12862 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12863 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12864 wxSpinCtrl
*result
;
12865 bool temp3
= false ;
12868 bool temp10
= false ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 PyObject
* obj2
= 0 ;
12872 PyObject
* obj3
= 0 ;
12873 PyObject
* obj4
= 0 ;
12874 PyObject
* obj5
= 0 ;
12875 PyObject
* obj6
= 0 ;
12876 PyObject
* obj7
= 0 ;
12877 PyObject
* obj8
= 0 ;
12878 PyObject
* obj9
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail
;
12888 arg2
= (int)(SWIG_As_int(obj1
));
12889 if (SWIG_arg_fail(2)) SWIG_fail
;
12894 arg3
= wxString_in_helper(obj2
);
12895 if (arg3
== NULL
) SWIG_fail
;
12902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12913 arg6
= (long)(SWIG_As_long(obj5
));
12914 if (SWIG_arg_fail(6)) SWIG_fail
;
12919 arg7
= (int)(SWIG_As_int(obj6
));
12920 if (SWIG_arg_fail(7)) SWIG_fail
;
12925 arg8
= (int)(SWIG_As_int(obj7
));
12926 if (SWIG_arg_fail(8)) SWIG_fail
;
12931 arg9
= (int)(SWIG_As_int(obj8
));
12932 if (SWIG_arg_fail(9)) SWIG_fail
;
12937 arg10
= wxString_in_helper(obj9
);
12938 if (arg10
== NULL
) SWIG_fail
;
12943 if (!wxPyCheckForApp()) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12973 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxSpinCtrl
*result
;
12976 char *kwnames
[] = {
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12982 if (!wxPyCheckForApp()) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12996 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12999 wxWindow
*arg2
= (wxWindow
*) 0 ;
13000 int arg3
= (int) -1 ;
13001 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13002 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13003 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13004 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13005 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13006 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13007 long arg7
= (long) wxSP_ARROW_KEYS
;
13008 int arg8
= (int) 0 ;
13009 int arg9
= (int) 100 ;
13010 int arg10
= (int) 0 ;
13011 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13012 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13014 bool temp4
= false ;
13017 bool temp11
= false ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 PyObject
* obj2
= 0 ;
13021 PyObject
* obj3
= 0 ;
13022 PyObject
* obj4
= 0 ;
13023 PyObject
* obj5
= 0 ;
13024 PyObject
* obj6
= 0 ;
13025 PyObject
* obj7
= 0 ;
13026 PyObject
* obj8
= 0 ;
13027 PyObject
* obj9
= 0 ;
13028 PyObject
* obj10
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13035 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13037 if (SWIG_arg_fail(2)) SWIG_fail
;
13040 arg3
= (int)(SWIG_As_int(obj2
));
13041 if (SWIG_arg_fail(3)) SWIG_fail
;
13046 arg4
= wxString_in_helper(obj3
);
13047 if (arg4
== NULL
) SWIG_fail
;
13054 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13060 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13065 arg7
= (long)(SWIG_As_long(obj6
));
13066 if (SWIG_arg_fail(7)) SWIG_fail
;
13071 arg8
= (int)(SWIG_As_int(obj7
));
13072 if (SWIG_arg_fail(8)) SWIG_fail
;
13077 arg9
= (int)(SWIG_As_int(obj8
));
13078 if (SWIG_arg_fail(9)) SWIG_fail
;
13083 arg10
= (int)(SWIG_As_int(obj9
));
13084 if (SWIG_arg_fail(10)) SWIG_fail
;
13089 arg11
= wxString_in_helper(obj10
);
13090 if (arg11
== NULL
) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13126 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= SWIG_From_int((int)(result
));
13154 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "value", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail
;
13168 arg2
= (int)(SWIG_As_int(obj1
));
13169 if (SWIG_arg_fail(2)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SetValue(arg2
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13188 wxString
*arg2
= 0 ;
13189 bool temp2
= false ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "text", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 arg2
= wxString_in_helper(obj1
);
13201 if (arg2
== NULL
) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 (arg1
)->SetValue((wxString
const &)*arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 PyObject
* obj2
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail
;
13242 arg2
= (int)(SWIG_As_int(obj1
));
13243 if (SWIG_arg_fail(2)) SWIG_fail
;
13246 arg3
= (int)(SWIG_As_int(obj2
));
13247 if (SWIG_arg_fail(3)) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 (arg1
)->SetRange(arg2
,arg3
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= SWIG_From_int((int)(result
));
13291 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_From_int((int)(result
));
13319 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 PyObject
* obj2
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "from",(char *) "to", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13333 if (SWIG_arg_fail(1)) SWIG_fail
;
13335 arg2
= (long)(SWIG_As_long(obj1
));
13336 if (SWIG_arg_fail(2)) SWIG_fail
;
13339 arg3
= (long)(SWIG_As_long(obj2
));
13340 if (SWIG_arg_fail(3)) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetSelection(arg2
,arg3
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13359 wxVisualAttributes result
;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "variant", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13368 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13369 if (SWIG_arg_fail(1)) SWIG_fail
;
13373 if (!wxPyCheckForApp()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 wxVisualAttributes
* resultptr
;
13382 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13391 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13396 return Py_BuildValue((char *)"");
13398 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13401 int arg2
= (int) 0 ;
13402 wxSpinEvent
*result
;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "commandType",(char *) "winid", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13413 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 arg2
= (int)(SWIG_As_int(obj1
));
13419 if (SWIG_arg_fail(2)) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13436 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13447 if (SWIG_arg_fail(1)) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_From_int((int)(result
));
13464 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "pos", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail
;
13478 arg2
= (int)(SWIG_As_int(obj1
));
13479 if (SWIG_arg_fail(2)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetPosition(arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13500 return Py_BuildValue((char *)"");
13502 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13503 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13508 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13513 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13515 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13522 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13523 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13528 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13533 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13535 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13542 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxWindow
*arg1
= (wxWindow
*) 0 ;
13545 int arg2
= (int) -1 ;
13546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13552 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13553 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13554 int arg7
= (int) 0 ;
13555 long arg8
= (long) wxRA_HORIZONTAL
;
13556 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13557 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13558 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13559 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13560 wxRadioBox
*result
;
13561 bool temp3
= false ;
13564 bool temp6
= false ;
13565 bool temp10
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 PyObject
* obj4
= 0 ;
13571 PyObject
* obj5
= 0 ;
13572 PyObject
* obj6
= 0 ;
13573 PyObject
* obj7
= 0 ;
13574 PyObject
* obj8
= 0 ;
13575 PyObject
* obj9
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13582 if (SWIG_arg_fail(1)) SWIG_fail
;
13585 arg2
= (int)(SWIG_As_int(obj1
));
13586 if (SWIG_arg_fail(2)) SWIG_fail
;
13591 arg3
= wxString_in_helper(obj2
);
13592 if (arg3
== NULL
) SWIG_fail
;
13599 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13605 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13610 if (! PySequence_Check(obj5
)) {
13611 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13614 arg6
= new wxArrayString
;
13616 int i
, len
=PySequence_Length(obj5
);
13617 for (i
=0; i
<len
; i
++) {
13618 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13620 PyObject
* str
= PyObject_Unicode(item
);
13622 PyObject
* str
= PyObject_Str(item
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13625 arg6
->Add(Py2wxString(str
));
13633 arg7
= (int)(SWIG_As_int(obj6
));
13634 if (SWIG_arg_fail(7)) SWIG_fail
;
13639 arg8
= (long)(SWIG_As_long(obj7
));
13640 if (SWIG_arg_fail(8)) SWIG_fail
;
13645 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13646 if (SWIG_arg_fail(9)) SWIG_fail
;
13647 if (arg9
== NULL
) {
13648 SWIG_null_ref("wxValidator");
13650 if (SWIG_arg_fail(9)) SWIG_fail
;
13655 arg10
= wxString_in_helper(obj9
);
13656 if (arg10
== NULL
) SWIG_fail
;
13661 if (!wxPyCheckForApp()) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 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
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13674 if (temp6
) delete arg6
;
13687 if (temp6
) delete arg6
;
13697 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxRadioBox
*result
;
13700 char *kwnames
[] = {
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13706 if (!wxPyCheckForApp()) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (wxRadioBox
*)new wxRadioBox();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13720 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13722 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13723 wxWindow
*arg2
= (wxWindow
*) 0 ;
13724 int arg3
= (int) -1 ;
13725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13731 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13732 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13733 int arg8
= (int) 0 ;
13734 long arg9
= (long) wxRA_HORIZONTAL
;
13735 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13736 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13737 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13738 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13740 bool temp4
= false ;
13743 bool temp7
= false ;
13744 bool temp11
= false ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 PyObject
* obj3
= 0 ;
13749 PyObject
* obj4
= 0 ;
13750 PyObject
* obj5
= 0 ;
13751 PyObject
* obj6
= 0 ;
13752 PyObject
* obj7
= 0 ;
13753 PyObject
* obj8
= 0 ;
13754 PyObject
* obj9
= 0 ;
13755 PyObject
* obj10
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail
;
13763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(2)) SWIG_fail
;
13767 arg3
= (int)(SWIG_As_int(obj2
));
13768 if (SWIG_arg_fail(3)) SWIG_fail
;
13773 arg4
= wxString_in_helper(obj3
);
13774 if (arg4
== NULL
) SWIG_fail
;
13781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13787 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13792 if (! PySequence_Check(obj6
)) {
13793 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13796 arg7
= new wxArrayString
;
13798 int i
, len
=PySequence_Length(obj6
);
13799 for (i
=0; i
<len
; i
++) {
13800 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13802 PyObject
* str
= PyObject_Unicode(item
);
13804 PyObject
* str
= PyObject_Str(item
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13807 arg7
->Add(Py2wxString(str
));
13815 arg8
= (int)(SWIG_As_int(obj7
));
13816 if (SWIG_arg_fail(8)) SWIG_fail
;
13821 arg9
= (long)(SWIG_As_long(obj8
));
13822 if (SWIG_arg_fail(9)) SWIG_fail
;
13827 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13828 if (SWIG_arg_fail(10)) SWIG_fail
;
13829 if (arg10
== NULL
) {
13830 SWIG_null_ref("wxValidator");
13832 if (SWIG_arg_fail(10)) SWIG_fail
;
13837 arg11
= wxString_in_helper(obj10
);
13838 if (arg11
== NULL
) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 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
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 if (temp7
) delete arg7
;
13870 if (temp7
) delete arg7
;
13880 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "n", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail
;
13894 arg2
= (int)(SWIG_As_int(obj1
));
13895 if (SWIG_arg_fail(2)) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->SetSelection(arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13904 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13922 if (SWIG_arg_fail(1)) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_From_int((int)(result
));
13939 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13971 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13974 wxString
*arg2
= 0 ;
13976 bool temp2
= false ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "s", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail
;
13987 arg2
= wxString_in_helper(obj1
);
13988 if (arg2
== NULL
) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14015 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14026 if (SWIG_arg_fail(1)) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= SWIG_From_int((int)(result
));
14043 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14046 wxString
*arg2
= 0 ;
14048 bool temp2
= false ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "s", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail
;
14059 arg2
= wxString_in_helper(obj1
);
14060 if (arg2
== NULL
) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_From_int((int)(result
));
14087 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "n", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail
;
14102 arg2
= (int)(SWIG_As_int(obj1
));
14103 if (SWIG_arg_fail(2)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14125 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14129 wxString
*arg3
= 0 ;
14130 bool temp3
= false ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 PyObject
* obj2
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self",(char *) "n",(char *) "label", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail
;
14142 arg2
= (int)(SWIG_As_int(obj1
));
14143 if (SWIG_arg_fail(2)) SWIG_fail
;
14146 arg3
= wxString_in_helper(obj2
);
14147 if (arg3
== NULL
) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 Py_INCREF(Py_None
); resultobj
= Py_None
;
14172 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14176 bool arg3
= (bool) true ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 PyObject
* obj2
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "n",(char *) "enable", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
14189 if (SWIG_arg_fail(2)) SWIG_fail
;
14193 arg3
= (bool)(SWIG_As_bool(obj2
));
14194 if (SWIG_arg_fail(3)) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->Enable(arg2
,arg3
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 Py_INCREF(Py_None
); resultobj
= Py_None
;
14211 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14215 bool arg3
= (bool) true ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self",(char *) "n",(char *) "show", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail
;
14227 arg2
= (int)(SWIG_As_int(obj1
));
14228 if (SWIG_arg_fail(2)) SWIG_fail
;
14232 arg3
= (bool)(SWIG_As_bool(obj2
));
14233 if (SWIG_arg_fail(3)) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->Show(arg2
,arg3
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14250 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= SWIG_From_int((int)(result
));
14278 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14289 if (SWIG_arg_fail(1)) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= SWIG_From_int((int)(result
));
14306 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 PyObject
* obj2
= 0 ;
14316 PyObject
* obj3
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail
;
14325 arg2
= (int)(SWIG_As_int(obj1
));
14326 if (SWIG_arg_fail(2)) SWIG_fail
;
14329 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14330 if (SWIG_arg_fail(3)) SWIG_fail
;
14333 arg4
= (long)(SWIG_As_long(obj3
));
14334 if (SWIG_arg_fail(4)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_From_int((int)(result
));
14352 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14355 wxVisualAttributes result
;
14356 PyObject
* obj0
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "variant", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14364 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14365 if (SWIG_arg_fail(1)) SWIG_fail
;
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 wxVisualAttributes
* resultptr
;
14378 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14387 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14390 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14392 return Py_BuildValue((char *)"");
14394 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxWindow
*arg1
= (wxWindow
*) 0 ;
14397 int arg2
= (int) -1 ;
14398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14404 long arg6
= (long) 0 ;
14405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14407 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14409 wxRadioButton
*result
;
14410 bool temp3
= false ;
14413 bool temp8
= false ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 PyObject
* obj2
= 0 ;
14417 PyObject
* obj3
= 0 ;
14418 PyObject
* obj4
= 0 ;
14419 PyObject
* obj5
= 0 ;
14420 PyObject
* obj6
= 0 ;
14421 PyObject
* obj7
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail
;
14431 arg2
= (int)(SWIG_As_int(obj1
));
14432 if (SWIG_arg_fail(2)) SWIG_fail
;
14437 arg3
= wxString_in_helper(obj2
);
14438 if (arg3
== NULL
) SWIG_fail
;
14445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14456 arg6
= (long)(SWIG_As_long(obj5
));
14457 if (SWIG_arg_fail(6)) SWIG_fail
;
14462 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14463 if (SWIG_arg_fail(7)) SWIG_fail
;
14464 if (arg7
== NULL
) {
14465 SWIG_null_ref("wxValidator");
14467 if (SWIG_arg_fail(7)) SWIG_fail
;
14472 arg8
= wxString_in_helper(obj7
);
14473 if (arg8
== NULL
) SWIG_fail
;
14478 if (!wxPyCheckForApp()) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14508 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxRadioButton
*result
;
14511 char *kwnames
[] = {
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14517 if (!wxPyCheckForApp()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (wxRadioButton
*)new wxRadioButton();
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14531 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14534 wxWindow
*arg2
= (wxWindow
*) 0 ;
14535 int arg3
= (int) -1 ;
14536 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14537 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14538 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14539 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14540 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14541 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14542 long arg7
= (long) 0 ;
14543 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14544 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14545 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14546 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14548 bool temp4
= false ;
14551 bool temp9
= false ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 PyObject
* obj2
= 0 ;
14555 PyObject
* obj3
= 0 ;
14556 PyObject
* obj4
= 0 ;
14557 PyObject
* obj5
= 0 ;
14558 PyObject
* obj6
= 0 ;
14559 PyObject
* obj7
= 0 ;
14560 PyObject
* obj8
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14569 if (SWIG_arg_fail(2)) SWIG_fail
;
14572 arg3
= (int)(SWIG_As_int(obj2
));
14573 if (SWIG_arg_fail(3)) SWIG_fail
;
14578 arg4
= wxString_in_helper(obj3
);
14579 if (arg4
== NULL
) SWIG_fail
;
14586 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14592 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14597 arg7
= (long)(SWIG_As_long(obj6
));
14598 if (SWIG_arg_fail(7)) SWIG_fail
;
14603 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14604 if (SWIG_arg_fail(8)) SWIG_fail
;
14605 if (arg8
== NULL
) {
14606 SWIG_null_ref("wxValidator");
14608 if (SWIG_arg_fail(8)) SWIG_fail
;
14613 arg9
= wxString_in_helper(obj8
);
14614 if (arg9
== NULL
) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (bool)(arg1
)->GetValue();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14678 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self",(char *) "value", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail
;
14692 arg2
= (bool)(SWIG_As_bool(obj1
));
14693 if (SWIG_arg_fail(2)) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 (arg1
)->SetValue(arg2
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 Py_INCREF(Py_None
); resultobj
= Py_None
;
14709 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14712 wxVisualAttributes result
;
14713 PyObject
* obj0
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "variant", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14721 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14722 if (SWIG_arg_fail(1)) SWIG_fail
;
14726 if (!wxPyCheckForApp()) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 wxVisualAttributes
* resultptr
;
14735 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14744 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14749 return Py_BuildValue((char *)"");
14751 static int _wrap_SliderNameStr_set(PyObject
*) {
14752 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14757 static PyObject
*_wrap_SliderNameStr_get(void) {
14762 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14764 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14771 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxWindow
*arg1
= (wxWindow
*) 0 ;
14774 int arg2
= (int) -1 ;
14775 int arg3
= (int) 0 ;
14776 int arg4
= (int) 0 ;
14777 int arg5
= (int) 100 ;
14778 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14779 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14780 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14781 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14782 long arg8
= (long) wxSL_HORIZONTAL
;
14783 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14784 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14785 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14786 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14790 bool temp10
= false ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 PyObject
* obj2
= 0 ;
14794 PyObject
* obj3
= 0 ;
14795 PyObject
* obj4
= 0 ;
14796 PyObject
* obj5
= 0 ;
14797 PyObject
* obj6
= 0 ;
14798 PyObject
* obj7
= 0 ;
14799 PyObject
* obj8
= 0 ;
14800 PyObject
* obj9
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14810 arg2
= (int)(SWIG_As_int(obj1
));
14811 if (SWIG_arg_fail(2)) SWIG_fail
;
14816 arg3
= (int)(SWIG_As_int(obj2
));
14817 if (SWIG_arg_fail(3)) SWIG_fail
;
14822 arg4
= (int)(SWIG_As_int(obj3
));
14823 if (SWIG_arg_fail(4)) SWIG_fail
;
14828 arg5
= (int)(SWIG_As_int(obj4
));
14829 if (SWIG_arg_fail(5)) SWIG_fail
;
14835 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14841 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14846 arg8
= (long)(SWIG_As_long(obj7
));
14847 if (SWIG_arg_fail(8)) SWIG_fail
;
14852 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14853 if (SWIG_arg_fail(9)) SWIG_fail
;
14854 if (arg9
== NULL
) {
14855 SWIG_null_ref("wxValidator");
14857 if (SWIG_arg_fail(9)) SWIG_fail
;
14862 arg10
= wxString_in_helper(obj9
);
14863 if (arg10
== NULL
) SWIG_fail
;
14868 if (!wxPyCheckForApp()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14890 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14893 char *kwnames
[] = {
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxSlider
*)new wxSlider();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14913 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxSlider
*arg1
= (wxSlider
*) 0 ;
14916 wxWindow
*arg2
= (wxWindow
*) 0 ;
14917 int arg3
= (int) -1 ;
14918 int arg4
= (int) 0 ;
14919 int arg5
= (int) 0 ;
14920 int arg6
= (int) 100 ;
14921 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14922 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14923 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14924 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14925 long arg9
= (long) wxSL_HORIZONTAL
;
14926 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14927 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14928 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14929 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14933 bool temp11
= false ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 PyObject
* obj3
= 0 ;
14938 PyObject
* obj4
= 0 ;
14939 PyObject
* obj5
= 0 ;
14940 PyObject
* obj6
= 0 ;
14941 PyObject
* obj7
= 0 ;
14942 PyObject
* obj8
= 0 ;
14943 PyObject
* obj9
= 0 ;
14944 PyObject
* obj10
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14951 if (SWIG_arg_fail(1)) SWIG_fail
;
14952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14953 if (SWIG_arg_fail(2)) SWIG_fail
;
14956 arg3
= (int)(SWIG_As_int(obj2
));
14957 if (SWIG_arg_fail(3)) SWIG_fail
;
14962 arg4
= (int)(SWIG_As_int(obj3
));
14963 if (SWIG_arg_fail(4)) SWIG_fail
;
14968 arg5
= (int)(SWIG_As_int(obj4
));
14969 if (SWIG_arg_fail(5)) SWIG_fail
;
14974 arg6
= (int)(SWIG_As_int(obj5
));
14975 if (SWIG_arg_fail(6)) SWIG_fail
;
14981 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14987 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14992 arg9
= (long)(SWIG_As_long(obj8
));
14993 if (SWIG_arg_fail(9)) SWIG_fail
;
14998 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(10)) SWIG_fail
;
15000 if (arg10
== NULL
) {
15001 SWIG_null_ref("wxValidator");
15003 if (SWIG_arg_fail(10)) SWIG_fail
;
15008 arg11
= wxString_in_helper(obj10
);
15009 if (arg11
== NULL
) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15037 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxSlider
*arg1
= (wxSlider
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "self", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15048 if (SWIG_arg_fail(1)) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_From_int((int)(result
));
15065 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxSlider
*arg1
= (wxSlider
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "value", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail
;
15079 arg2
= (int)(SWIG_As_int(obj1
));
15080 if (SWIG_arg_fail(2)) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 (arg1
)->SetValue(arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxSlider
*arg1
= (wxSlider
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 PyObject
* obj2
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15110 if (SWIG_arg_fail(1)) SWIG_fail
;
15112 arg2
= (int)(SWIG_As_int(obj1
));
15113 if (SWIG_arg_fail(2)) SWIG_fail
;
15116 arg3
= (int)(SWIG_As_int(obj2
));
15117 if (SWIG_arg_fail(3)) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetRange(arg2
,arg3
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 Py_INCREF(Py_None
); resultobj
= Py_None
;
15133 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxSlider
*arg1
= (wxSlider
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_From_int((int)(result
));
15161 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxSlider
*arg1
= (wxSlider
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= SWIG_From_int((int)(result
));
15189 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxSlider
*arg1
= (wxSlider
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self",(char *) "minValue", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15201 if (SWIG_arg_fail(1)) SWIG_fail
;
15203 arg2
= (int)(SWIG_As_int(obj1
));
15204 if (SWIG_arg_fail(2)) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 (arg1
)->SetMin(arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 Py_INCREF(Py_None
); resultobj
= Py_None
;
15220 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxSlider
*arg1
= (wxSlider
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "maxValue", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15234 arg2
= (int)(SWIG_As_int(obj1
));
15235 if (SWIG_arg_fail(2)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->SetMax(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxSlider
*arg1
= (wxSlider
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "lineSize", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 arg2
= (int)(SWIG_As_int(obj1
));
15266 if (SWIG_arg_fail(2)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetLineSize(arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxSlider
*arg1
= (wxSlider
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "pageSize", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= (int)(SWIG_As_int(obj1
));
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetPageSize(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxSlider
*arg1
= (wxSlider
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_From_int((int)(result
));
15341 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxSlider
*arg1
= (wxSlider
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_From_int((int)(result
));
15369 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxSlider
*arg1
= (wxSlider
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self",(char *) "lenPixels", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 arg2
= (int)(SWIG_As_int(obj1
));
15384 if (SWIG_arg_fail(2)) SWIG_fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetThumbLength(arg2
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 Py_INCREF(Py_None
); resultobj
= Py_None
;
15400 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxSlider
*arg1
= (wxSlider
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_From_int((int)(result
));
15428 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxSlider
*arg1
= (wxSlider
*) 0 ;
15432 int arg3
= (int) 1 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "n",(char *) "pos", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail
;
15444 arg2
= (int)(SWIG_As_int(obj1
));
15445 if (SWIG_arg_fail(2)) SWIG_fail
;
15449 arg3
= (int)(SWIG_As_int(obj2
));
15450 if (SWIG_arg_fail(3)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 (arg1
)->SetTickFreq(arg2
,arg3
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 Py_INCREF(Py_None
); resultobj
= Py_None
;
15467 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxSlider
*arg1
= (wxSlider
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= SWIG_From_int((int)(result
));
15495 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxSlider
*arg1
= (wxSlider
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 (arg1
)->ClearTicks();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxSlider
*arg1
= (wxSlider
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "tickPos", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail
;
15534 arg2
= (int)(SWIG_As_int(obj1
));
15535 if (SWIG_arg_fail(2)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->SetTick(arg2
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 Py_INCREF(Py_None
); resultobj
= Py_None
;
15551 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxSlider
*arg1
= (wxSlider
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->ClearSel();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxSlider
*arg1
= (wxSlider
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15587 if (SWIG_arg_fail(1)) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_From_int((int)(result
));
15604 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxSlider
*arg1
= (wxSlider
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)(result
));
15632 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxSlider
*arg1
= (wxSlider
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 PyObject
* obj2
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "min",(char *) "max", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail
;
15648 arg2
= (int)(SWIG_As_int(obj1
));
15649 if (SWIG_arg_fail(2)) SWIG_fail
;
15652 arg3
= (int)(SWIG_As_int(obj2
));
15653 if (SWIG_arg_fail(3)) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetSelection(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15672 wxVisualAttributes result
;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "variant", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15681 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15682 if (SWIG_arg_fail(1)) SWIG_fail
;
15686 if (!wxPyCheckForApp()) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 wxVisualAttributes
* resultptr
;
15695 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15704 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15709 return Py_BuildValue((char *)"");
15711 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15712 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15717 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15722 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15724 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15731 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxWindow
*arg1
= (wxWindow
*) 0 ;
15734 int arg2
= (int) -1 ;
15735 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15736 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15741 long arg6
= (long) 0 ;
15742 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15743 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15744 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15745 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15746 wxToggleButton
*result
;
15747 bool temp3
= false ;
15750 bool temp8
= false ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 PyObject
* obj3
= 0 ;
15755 PyObject
* obj4
= 0 ;
15756 PyObject
* obj5
= 0 ;
15757 PyObject
* obj6
= 0 ;
15758 PyObject
* obj7
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15765 if (SWIG_arg_fail(1)) SWIG_fail
;
15768 arg2
= (int)(SWIG_As_int(obj1
));
15769 if (SWIG_arg_fail(2)) SWIG_fail
;
15774 arg3
= wxString_in_helper(obj2
);
15775 if (arg3
== NULL
) SWIG_fail
;
15782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15793 arg6
= (long)(SWIG_As_long(obj5
));
15794 if (SWIG_arg_fail(6)) SWIG_fail
;
15799 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15800 if (SWIG_arg_fail(7)) SWIG_fail
;
15801 if (arg7
== NULL
) {
15802 SWIG_null_ref("wxValidator");
15804 if (SWIG_arg_fail(7)) SWIG_fail
;
15809 arg8
= wxString_in_helper(obj7
);
15810 if (arg8
== NULL
) SWIG_fail
;
15815 if (!wxPyCheckForApp()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15845 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxToggleButton
*result
;
15848 char *kwnames
[] = {
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15854 if (!wxPyCheckForApp()) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (wxToggleButton
*)new wxToggleButton();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15868 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15871 wxWindow
*arg2
= (wxWindow
*) 0 ;
15872 int arg3
= (int) -1 ;
15873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15875 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15876 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15877 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15878 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15879 long arg7
= (long) 0 ;
15880 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15881 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15882 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15883 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15885 bool temp4
= false ;
15888 bool temp9
= false ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 PyObject
* obj2
= 0 ;
15892 PyObject
* obj3
= 0 ;
15893 PyObject
* obj4
= 0 ;
15894 PyObject
* obj5
= 0 ;
15895 PyObject
* obj6
= 0 ;
15896 PyObject
* obj7
= 0 ;
15897 PyObject
* obj8
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15904 if (SWIG_arg_fail(1)) SWIG_fail
;
15905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15906 if (SWIG_arg_fail(2)) SWIG_fail
;
15909 arg3
= (int)(SWIG_As_int(obj2
));
15910 if (SWIG_arg_fail(3)) SWIG_fail
;
15915 arg4
= wxString_in_helper(obj3
);
15916 if (arg4
== NULL
) SWIG_fail
;
15923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15934 arg7
= (long)(SWIG_As_long(obj6
));
15935 if (SWIG_arg_fail(7)) SWIG_fail
;
15940 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15941 if (SWIG_arg_fail(8)) SWIG_fail
;
15942 if (arg8
== NULL
) {
15943 SWIG_null_ref("wxValidator");
15945 if (SWIG_arg_fail(8)) SWIG_fail
;
15950 arg9
= wxString_in_helper(obj8
);
15951 if (arg9
== NULL
) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15987 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "value", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail
;
16001 arg2
= (bool)(SWIG_As_bool(obj1
));
16002 if (SWIG_arg_fail(2)) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->SetValue(arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16046 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16049 wxString
*arg2
= 0 ;
16050 bool temp2
= false ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self",(char *) "label", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16059 if (SWIG_arg_fail(1)) SWIG_fail
;
16061 arg2
= wxString_in_helper(obj1
);
16062 if (arg2
== NULL
) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 (arg1
)->SetLabel((wxString
const &)*arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16090 wxVisualAttributes result
;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "variant", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16099 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16104 if (!wxPyCheckForApp()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 wxVisualAttributes
* resultptr
;
16113 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16122 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16127 return Py_BuildValue((char *)"");
16129 static int _wrap_NotebookNameStr_set(PyObject
*) {
16130 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16135 static PyObject
*_wrap_NotebookNameStr_get(void) {
16140 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16142 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16149 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16177 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self",(char *) "n", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16193 if (SWIG_arg_fail(2)) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= wxPyMake_wxObject(result
, 0);
16211 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= wxPyMake_wxObject(result
, 0);
16239 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_From_int((int)(result
));
16267 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16271 wxString
*arg3
= 0 ;
16273 bool temp3
= false ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "n",(char *) "strText", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail
;
16285 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16286 if (SWIG_arg_fail(2)) SWIG_fail
;
16289 arg3
= wxString_in_helper(obj2
);
16290 if (arg3
== NULL
) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "n", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16332 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16333 if (SWIG_arg_fail(2)) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16355 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16358 wxImageList
*arg2
= (wxImageList
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self",(char *) "imageList", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16367 if (SWIG_arg_fail(1)) SWIG_fail
;
16368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16369 if (SWIG_arg_fail(2)) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 (arg1
)->SetImageList(arg2
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16387 wxImageList
*arg2
= (wxImageList
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "imageList", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail
;
16397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16398 if (SWIG_arg_fail(2)) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 (arg1
)->AssignImageList(arg2
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16413 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16416 wxImageList
*result
;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= wxPyMake_wxObject(result
, 0);
16441 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "n", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail
;
16456 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16457 if (SWIG_arg_fail(2)) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_From_int((int)(result
));
16475 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 PyObject
* obj2
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "n",(char *) "imageId", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16493 if (SWIG_arg_fail(2)) SWIG_fail
;
16496 arg3
= (int)(SWIG_As_int(obj2
));
16497 if (SWIG_arg_fail(3)) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16515 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "size", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16528 if (SWIG_arg_fail(1)) SWIG_fail
;
16531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "sizePage", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail
;
16564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16574 wxSize
* resultptr
;
16575 resultptr
= new wxSize((wxSize
&)(result
));
16576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16584 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "n", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail
;
16599 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16600 if (SWIG_arg_fail(2)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (bool)(arg1
)->DeletePage(arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16618 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "n", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail
;
16633 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16634 if (SWIG_arg_fail(2)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)(arg1
)->RemovePage(arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (bool)(arg1
)->DeleteAllPages();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16680 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16683 wxWindow
*arg2
= (wxWindow
*) 0 ;
16684 wxString
*arg3
= 0 ;
16685 bool arg4
= (bool) false ;
16686 int arg5
= (int) -1 ;
16688 bool temp3
= false ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 PyObject
* obj2
= 0 ;
16692 PyObject
* obj3
= 0 ;
16693 PyObject
* obj4
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16702 if (SWIG_arg_fail(2)) SWIG_fail
;
16704 arg3
= wxString_in_helper(obj2
);
16705 if (arg3
== NULL
) SWIG_fail
;
16710 arg4
= (bool)(SWIG_As_bool(obj3
));
16711 if (SWIG_arg_fail(4)) SWIG_fail
;
16716 arg5
= (int)(SWIG_As_int(obj4
));
16717 if (SWIG_arg_fail(5)) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16748 wxWindow
*arg3
= (wxWindow
*) 0 ;
16749 wxString
*arg4
= 0 ;
16750 bool arg5
= (bool) false ;
16751 int arg6
= (int) -1 ;
16753 bool temp4
= false ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 PyObject
* obj2
= 0 ;
16757 PyObject
* obj3
= 0 ;
16758 PyObject
* obj4
= 0 ;
16759 PyObject
* obj5
= 0 ;
16760 char *kwnames
[] = {
16761 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail
;
16768 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16769 if (SWIG_arg_fail(2)) SWIG_fail
;
16771 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16772 if (SWIG_arg_fail(3)) SWIG_fail
;
16774 arg4
= wxString_in_helper(obj3
);
16775 if (arg4
== NULL
) SWIG_fail
;
16780 arg5
= (bool)(SWIG_As_bool(obj4
));
16781 if (SWIG_arg_fail(5)) SWIG_fail
;
16786 arg6
= (int)(SWIG_As_int(obj5
));
16787 if (SWIG_arg_fail(6)) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16814 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "n", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail
;
16829 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16830 if (SWIG_arg_fail(2)) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (int)(arg1
)->SetSelection(arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_From_int((int)(result
));
16848 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16851 bool arg2
= (bool) true ;
16852 PyObject
* obj0
= 0 ;
16853 PyObject
* obj1
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self",(char *) "forward", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16860 if (SWIG_arg_fail(1)) SWIG_fail
;
16863 arg2
= (bool)(SWIG_As_bool(obj1
));
16864 if (SWIG_arg_fail(2)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 (arg1
)->AdvanceSelection(arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16884 wxVisualAttributes result
;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "variant", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16893 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 if (!wxPyCheckForApp()) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 wxVisualAttributes
* resultptr
;
16907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16916 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16919 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16921 return Py_BuildValue((char *)"");
16923 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16926 int arg2
= (int) 0 ;
16927 int arg3
= (int) -1 ;
16928 int arg4
= (int) -1 ;
16929 wxBookCtrlBaseEvent
*result
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 PyObject
* obj3
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16941 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16942 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 arg2
= (int)(SWIG_As_int(obj1
));
16948 if (SWIG_arg_fail(2)) SWIG_fail
;
16953 arg3
= (int)(SWIG_As_int(obj2
));
16954 if (SWIG_arg_fail(3)) SWIG_fail
;
16959 arg4
= (int)(SWIG_As_int(obj3
));
16960 if (SWIG_arg_fail(4)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16977 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= SWIG_From_int((int)(result
));
17005 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "nSel", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 arg2
= (int)(SWIG_As_int(obj1
));
17020 if (SWIG_arg_fail(2)) SWIG_fail
;
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 (arg1
)->SetSelection(arg2
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 Py_INCREF(Py_None
); resultobj
= Py_None
;
17036 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_From_int((int)(result
));
17064 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "nOldSel", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail
;
17078 arg2
= (int)(SWIG_As_int(obj1
));
17079 if (SWIG_arg_fail(2)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetOldSelection(arg2
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17098 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17100 return Py_BuildValue((char *)"");
17102 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxWindow
*arg1
= (wxWindow
*) 0 ;
17105 int arg2
= (int) -1 ;
17106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17110 long arg5
= (long) 0 ;
17111 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17112 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17113 wxNotebook
*result
;
17116 bool temp6
= false ;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 PyObject
* obj2
= 0 ;
17120 PyObject
* obj3
= 0 ;
17121 PyObject
* obj4
= 0 ;
17122 PyObject
* obj5
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail
;
17132 arg2
= (int)(SWIG_As_int(obj1
));
17133 if (SWIG_arg_fail(2)) SWIG_fail
;
17139 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17145 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17150 arg5
= (long)(SWIG_As_long(obj4
));
17151 if (SWIG_arg_fail(5)) SWIG_fail
;
17156 arg6
= wxString_in_helper(obj5
);
17157 if (arg6
== NULL
) SWIG_fail
;
17162 if (!wxPyCheckForApp()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17184 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxNotebook
*result
;
17187 char *kwnames
[] = {
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17193 if (!wxPyCheckForApp()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxNotebook
*)new wxNotebook();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17207 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17210 wxWindow
*arg2
= (wxWindow
*) 0 ;
17211 int arg3
= (int) -1 ;
17212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17216 long arg6
= (long) 0 ;
17217 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17218 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17222 bool temp7
= false ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 PyObject
* obj3
= 0 ;
17227 PyObject
* obj4
= 0 ;
17228 PyObject
* obj5
= 0 ;
17229 PyObject
* obj6
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(2)) SWIG_fail
;
17241 arg3
= (int)(SWIG_As_int(obj2
));
17242 if (SWIG_arg_fail(3)) SWIG_fail
;
17248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17259 arg6
= (long)(SWIG_As_long(obj5
));
17260 if (SWIG_arg_fail(6)) SWIG_fail
;
17265 arg7
= wxString_in_helper(obj6
);
17266 if (arg7
== NULL
) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17294 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_From_int((int)(result
));
17322 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "padding", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17335 if (SWIG_arg_fail(1)) SWIG_fail
;
17338 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "sz", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail
;
17370 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 Py_INCREF(Py_None
); resultobj
= Py_None
;
17386 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17389 wxPoint
*arg2
= 0 ;
17390 long *arg3
= (long *) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "pt", NULL
17401 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17404 if (SWIG_arg_fail(1)) SWIG_fail
;
17407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_From_int((int)(result
));
17419 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17420 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17427 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
;
17429 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "self",(char *) "sizePage", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17441 if (SWIG_arg_fail(1)) SWIG_fail
;
17444 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 wxSize
* resultptr
;
17455 resultptr
= new wxSize((wxSize
&)(result
));
17456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17464 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17468 PyObject
* obj0
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17475 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17484 wxColour
* resultptr
;
17485 resultptr
= new wxColour((wxColour
&)(result
));
17486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17494 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17497 wxVisualAttributes result
;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "variant", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17506 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17507 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 if (!wxPyCheckForApp()) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 wxVisualAttributes
* resultptr
;
17520 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17529 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17532 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17534 return Py_BuildValue((char *)"");
17536 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17539 int arg2
= (int) 0 ;
17540 int arg3
= (int) -1 ;
17541 int arg4
= (int) -1 ;
17542 wxNotebookEvent
*result
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 PyObject
* obj2
= 0 ;
17546 PyObject
* obj3
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17554 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17555 if (SWIG_arg_fail(1)) SWIG_fail
;
17560 arg2
= (int)(SWIG_As_int(obj1
));
17561 if (SWIG_arg_fail(2)) SWIG_fail
;
17566 arg3
= (int)(SWIG_As_int(obj2
));
17567 if (SWIG_arg_fail(3)) SWIG_fail
;
17572 arg4
= (int)(SWIG_As_int(obj3
));
17573 if (SWIG_arg_fail(4)) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17590 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17593 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17595 return Py_BuildValue((char *)"");
17597 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxWindow
*arg1
= (wxWindow
*) 0 ;
17600 int arg2
= (int) -1 ;
17601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17605 long arg5
= (long) 0 ;
17606 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17608 wxListbook
*result
;
17611 bool temp6
= false ;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 PyObject
* obj2
= 0 ;
17615 PyObject
* obj3
= 0 ;
17616 PyObject
* obj4
= 0 ;
17617 PyObject
* obj5
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17624 if (SWIG_arg_fail(1)) SWIG_fail
;
17627 arg2
= (int)(SWIG_As_int(obj1
));
17628 if (SWIG_arg_fail(2)) SWIG_fail
;
17634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17645 arg5
= (long)(SWIG_As_long(obj4
));
17646 if (SWIG_arg_fail(5)) SWIG_fail
;
17651 arg6
= wxString_in_helper(obj5
);
17652 if (arg6
== NULL
) SWIG_fail
;
17657 if (!wxPyCheckForApp()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17679 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxListbook
*result
;
17682 char *kwnames
[] = {
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17688 if (!wxPyCheckForApp()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (wxListbook
*)new wxListbook();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17702 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxListbook
*arg1
= (wxListbook
*) 0 ;
17705 wxWindow
*arg2
= (wxWindow
*) 0 ;
17706 int arg3
= (int) -1 ;
17707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17711 long arg6
= (long) 0 ;
17712 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17717 bool temp7
= false ;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 PyObject
* obj3
= 0 ;
17722 PyObject
* obj4
= 0 ;
17723 PyObject
* obj5
= 0 ;
17724 PyObject
* obj6
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail
;
17732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17733 if (SWIG_arg_fail(2)) SWIG_fail
;
17736 arg3
= (int)(SWIG_As_int(obj2
));
17737 if (SWIG_arg_fail(3)) SWIG_fail
;
17743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17754 arg6
= (long)(SWIG_As_long(obj5
));
17755 if (SWIG_arg_fail(6)) SWIG_fail
;
17760 arg7
= wxString_in_helper(obj6
);
17761 if (arg7
== NULL
) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17789 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxListbook
*arg1
= (wxListbook
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17817 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxListbook
*arg1
= (wxListbook
*) 0 ;
17820 wxListView
*result
;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17828 if (SWIG_arg_fail(1)) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (wxListView
*)(arg1
)->GetListView();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17843 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17848 return Py_BuildValue((char *)"");
17850 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17853 int arg2
= (int) 0 ;
17854 int arg3
= (int) -1 ;
17855 int arg4
= (int) -1 ;
17856 wxListbookEvent
*result
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17868 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17869 if (SWIG_arg_fail(1)) SWIG_fail
;
17874 arg2
= (int)(SWIG_As_int(obj1
));
17875 if (SWIG_arg_fail(2)) SWIG_fail
;
17880 arg3
= (int)(SWIG_As_int(obj2
));
17881 if (SWIG_arg_fail(3)) SWIG_fail
;
17886 arg4
= (int)(SWIG_As_int(obj3
));
17887 if (SWIG_arg_fail(4)) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17904 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17907 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17909 return Py_BuildValue((char *)"");
17911 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxWindow
*arg1
= (wxWindow
*) 0 ;
17915 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17916 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17917 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17918 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17919 long arg5
= (long) 0 ;
17920 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17921 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17922 wxChoicebook
*result
;
17925 bool temp6
= false ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 PyObject
* obj3
= 0 ;
17930 PyObject
* obj4
= 0 ;
17931 PyObject
* obj5
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17940 arg2
= (int)(SWIG_As_int(obj1
));
17941 if (SWIG_arg_fail(2)) SWIG_fail
;
17946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17957 arg5
= (long)(SWIG_As_long(obj4
));
17958 if (SWIG_arg_fail(5)) SWIG_fail
;
17963 arg6
= wxString_in_helper(obj5
);
17964 if (arg6
== NULL
) SWIG_fail
;
17969 if (!wxPyCheckForApp()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17991 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxChoicebook
*result
;
17994 char *kwnames
[] = {
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18000 if (!wxPyCheckForApp()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (wxChoicebook
*)new wxChoicebook();
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18014 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18017 wxWindow
*arg2
= (wxWindow
*) 0 ;
18019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18023 long arg6
= (long) 0 ;
18024 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18029 bool temp7
= false ;
18030 PyObject
* obj0
= 0 ;
18031 PyObject
* obj1
= 0 ;
18032 PyObject
* obj2
= 0 ;
18033 PyObject
* obj3
= 0 ;
18034 PyObject
* obj4
= 0 ;
18035 PyObject
* obj5
= 0 ;
18036 PyObject
* obj6
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(2)) SWIG_fail
;
18047 arg3
= (int)(SWIG_As_int(obj2
));
18048 if (SWIG_arg_fail(3)) SWIG_fail
;
18053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18064 arg6
= (long)(SWIG_As_long(obj5
));
18065 if (SWIG_arg_fail(6)) SWIG_fail
;
18070 arg7
= wxString_in_helper(obj6
);
18071 if (arg7
== NULL
) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18099 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18110 if (SWIG_arg_fail(1)) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18127 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18141 result
= (bool)(arg1
)->DeleteAllPages();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18155 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18158 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18160 return Py_BuildValue((char *)"");
18162 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18165 int arg2
= (int) 0 ;
18166 int arg3
= (int) -1 ;
18167 int arg4
= (int) -1 ;
18168 wxChoicebookEvent
*result
;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 PyObject
* obj2
= 0 ;
18172 PyObject
* obj3
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18180 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18181 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 arg2
= (int)(SWIG_As_int(obj1
));
18187 if (SWIG_arg_fail(2)) SWIG_fail
;
18192 arg3
= (int)(SWIG_As_int(obj2
));
18193 if (SWIG_arg_fail(3)) SWIG_fail
;
18198 arg4
= (int)(SWIG_As_int(obj3
));
18199 if (SWIG_arg_fail(4)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18216 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18219 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18221 return Py_BuildValue((char *)"");
18223 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18226 wxBookCtrlSizer
*result
;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "nb", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18249 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18252 PyObject
* obj0
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "self", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18259 if (SWIG_arg_fail(1)) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->RecalcSizes();
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 Py_INCREF(Py_None
); resultobj
= Py_None
;
18274 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18285 if (SWIG_arg_fail(1)) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (arg1
)->CalcMin();
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 wxSize
* resultptr
;
18295 resultptr
= new wxSize((wxSize
&)(result
));
18296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18304 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18307 wxBookCtrlBase
*result
;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18315 if (SWIG_arg_fail(1)) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18330 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18333 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18335 return Py_BuildValue((char *)"");
18337 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
;
18339 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18340 wxNotebookSizer
*result
;
18341 PyObject
* obj0
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "nb", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18348 if (SWIG_arg_fail(1)) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18363 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->RecalcSizes();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 Py_INCREF(Py_None
); resultobj
= Py_None
;
18388 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (arg1
)->CalcMin();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 wxSize
* resultptr
;
18409 resultptr
= new wxSize((wxSize
&)(result
));
18410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18418 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18421 wxNotebook
*result
;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= wxPyMake_wxObject(result
, 0);
18446 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18449 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18451 return Py_BuildValue((char *)"");
18453 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (int)(arg1
)->GetId();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_From_int((int)(result
));
18481 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (wxControl
*)(arg1
)->GetControl();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= wxPyMake_wxObject(result
, 0);
18509 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18512 wxToolBarBase
*result
;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= wxPyMake_wxObject(result
, 0);
18537 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18548 if (SWIG_arg_fail(1)) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (int)(arg1
)->IsButton();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= SWIG_From_int((int)(result
));
18565 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18576 if (SWIG_arg_fail(1)) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 result
= (int)(arg1
)->IsControl();
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_From_int((int)(result
));
18593 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
;
18595 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18597 PyObject
* obj0
= 0 ;
18598 char *kwnames
[] = {
18599 (char *) "self", NULL
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18604 if (SWIG_arg_fail(1)) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (int)(arg1
)->IsSeparator();
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_From_int((int)(result
));
18621 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18632 if (SWIG_arg_fail(1)) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (int)(arg1
)->GetStyle();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_From_int((int)(result
));
18649 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (wxItemKind
)(arg1
)->GetKind();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_From_int((result
));
18675 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (bool)(arg1
)->IsEnabled();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18703 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18714 if (SWIG_arg_fail(1)) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (bool)(arg1
)->IsToggled();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18731 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)(arg1
)->CanBeToggled();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18759 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18775 result
= (wxBitmap
*) &_result_ref
;
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 wxBitmap
* resultptr
= new wxBitmap(*result
);
18783 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18791 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18802 if (SWIG_arg_fail(1)) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18807 result
= (wxBitmap
*) &_result_ref
;
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 wxBitmap
* resultptr
= new wxBitmap(*result
);
18815 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18823 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (arg1
)->GetBitmap();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 wxBitmap
* resultptr
;
18844 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18853 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18864 if (SWIG_arg_fail(1)) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (arg1
)->GetLabel();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18885 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (arg1
)->GetShortHelp();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18917 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18928 if (SWIG_arg_fail(1)) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (arg1
)->GetLongHelp();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18949 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "enable", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18962 if (SWIG_arg_fail(1)) SWIG_fail
;
18964 arg2
= (bool)(SWIG_As_bool(obj1
));
18965 if (SWIG_arg_fail(2)) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (bool)(arg1
)->Enable(arg2
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18983 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "toggle", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19021 if (SWIG_arg_fail(1)) SWIG_fail
;
19023 arg2
= (bool)(SWIG_As_bool(obj1
));
19024 if (SWIG_arg_fail(2)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)(arg1
)->SetToggle(arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19045 wxString
*arg2
= 0 ;
19047 bool temp2
= false ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "help", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 arg2
= wxString_in_helper(obj1
);
19059 if (arg2
== NULL
) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19086 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19089 wxString
*arg2
= 0 ;
19091 bool temp2
= false ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "help", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19100 if (SWIG_arg_fail(1)) SWIG_fail
;
19102 arg2
= wxString_in_helper(obj1
);
19103 if (arg2
== NULL
) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19130 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19133 wxBitmap
*arg2
= 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "bmp", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19142 if (SWIG_arg_fail(1)) SWIG_fail
;
19144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(2)) SWIG_fail
;
19146 if (arg2
== NULL
) {
19147 SWIG_null_ref("wxBitmap");
19149 if (SWIG_arg_fail(2)) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19168 wxBitmap
*arg2
= 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "bmp", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail
;
19179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19180 if (SWIG_arg_fail(2)) SWIG_fail
;
19181 if (arg2
== NULL
) {
19182 SWIG_null_ref("wxBitmap");
19184 if (SWIG_arg_fail(2)) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 Py_INCREF(Py_None
); resultobj
= Py_None
;
19200 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19203 wxString
*arg2
= 0 ;
19204 bool temp2
= false ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self",(char *) "label", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19213 if (SWIG_arg_fail(1)) SWIG_fail
;
19215 arg2
= wxString_in_helper(obj1
);
19216 if (arg2
== NULL
) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->SetLabel((wxString
const &)*arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19244 PyObject
* obj0
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19251 if (SWIG_arg_fail(1)) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 Py_INCREF(Py_None
); resultobj
= Py_None
;
19266 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19269 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "tbar", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19280 if (SWIG_arg_fail(2)) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 (arg1
)->Attach(arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19299 PyObject
* obj0
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= result
;
19321 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19324 PyObject
*arg2
= (PyObject
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "clientData", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19333 if (SWIG_arg_fail(1)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19349 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19360 wxString
*arg3
= 0 ;
19361 wxBitmap
*arg4
= 0 ;
19362 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19363 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19364 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19365 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19366 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19367 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19368 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19369 PyObject
*arg9
= (PyObject
*) NULL
;
19370 wxToolBarToolBase
*result
;
19371 bool temp3
= false ;
19372 bool temp7
= false ;
19373 bool temp8
= false ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 PyObject
* obj2
= 0 ;
19377 PyObject
* obj3
= 0 ;
19378 PyObject
* obj4
= 0 ;
19379 PyObject
* obj5
= 0 ;
19380 PyObject
* obj6
= 0 ;
19381 PyObject
* obj7
= 0 ;
19382 PyObject
* obj8
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19389 if (SWIG_arg_fail(1)) SWIG_fail
;
19391 arg2
= (int)(SWIG_As_int(obj1
));
19392 if (SWIG_arg_fail(2)) SWIG_fail
;
19395 arg3
= wxString_in_helper(obj2
);
19396 if (arg3
== NULL
) SWIG_fail
;
19400 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19401 if (SWIG_arg_fail(4)) SWIG_fail
;
19402 if (arg4
== NULL
) {
19403 SWIG_null_ref("wxBitmap");
19405 if (SWIG_arg_fail(4)) SWIG_fail
;
19409 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19410 if (SWIG_arg_fail(5)) SWIG_fail
;
19411 if (arg5
== NULL
) {
19412 SWIG_null_ref("wxBitmap");
19414 if (SWIG_arg_fail(5)) SWIG_fail
;
19419 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19420 if (SWIG_arg_fail(6)) SWIG_fail
;
19425 arg7
= wxString_in_helper(obj6
);
19426 if (arg7
== NULL
) SWIG_fail
;
19432 arg8
= wxString_in_helper(obj7
);
19433 if (arg8
== NULL
) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= wxPyMake_wxObject(result
, 0);
19480 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19485 wxString
*arg4
= 0 ;
19486 wxBitmap
*arg5
= 0 ;
19487 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19488 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19489 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19490 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19491 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19492 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19493 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19494 PyObject
*arg10
= (PyObject
*) NULL
;
19495 wxToolBarToolBase
*result
;
19496 bool temp4
= false ;
19497 bool temp8
= false ;
19498 bool temp9
= false ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 PyObject
* obj3
= 0 ;
19503 PyObject
* obj4
= 0 ;
19504 PyObject
* obj5
= 0 ;
19505 PyObject
* obj6
= 0 ;
19506 PyObject
* obj7
= 0 ;
19507 PyObject
* obj8
= 0 ;
19508 PyObject
* obj9
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19515 if (SWIG_arg_fail(1)) SWIG_fail
;
19517 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19518 if (SWIG_arg_fail(2)) SWIG_fail
;
19521 arg3
= (int)(SWIG_As_int(obj2
));
19522 if (SWIG_arg_fail(3)) SWIG_fail
;
19525 arg4
= wxString_in_helper(obj3
);
19526 if (arg4
== NULL
) SWIG_fail
;
19530 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19531 if (SWIG_arg_fail(5)) SWIG_fail
;
19532 if (arg5
== NULL
) {
19533 SWIG_null_ref("wxBitmap");
19535 if (SWIG_arg_fail(5)) SWIG_fail
;
19539 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(6)) SWIG_fail
;
19541 if (arg6
== NULL
) {
19542 SWIG_null_ref("wxBitmap");
19544 if (SWIG_arg_fail(6)) SWIG_fail
;
19549 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19550 if (SWIG_arg_fail(7)) SWIG_fail
;
19555 arg8
= wxString_in_helper(obj7
);
19556 if (arg8
== NULL
) SWIG_fail
;
19562 arg9
= wxString_in_helper(obj8
);
19563 if (arg9
== NULL
) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 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
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= wxPyMake_wxObject(result
, 0);
19610 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
;
19612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19613 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19614 wxToolBarToolBase
*result
;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "tool", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail
;
19624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19625 if (SWIG_arg_fail(2)) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= wxPyMake_wxObject(result
, 0);
19642 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19646 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19647 wxToolBarToolBase
*result
;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "pos",(char *) "tool", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19657 if (SWIG_arg_fail(1)) SWIG_fail
;
19659 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19660 if (SWIG_arg_fail(2)) SWIG_fail
;
19662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(3)) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= wxPyMake_wxObject(result
, 0);
19680 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19683 wxControl
*arg2
= (wxControl
*) 0 ;
19684 wxToolBarToolBase
*result
;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "control", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail
;
19694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19695 if (SWIG_arg_fail(2)) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= wxPyMake_wxObject(result
, 0);
19712 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19716 wxControl
*arg3
= (wxControl
*) 0 ;
19717 wxToolBarToolBase
*result
;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 PyObject
* obj2
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "pos",(char *) "control", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19730 if (SWIG_arg_fail(2)) SWIG_fail
;
19732 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19733 if (SWIG_arg_fail(3)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= wxPyMake_wxObject(result
, 0);
19750 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "id", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19763 if (SWIG_arg_fail(1)) SWIG_fail
;
19765 arg2
= (int)(SWIG_As_int(obj1
));
19766 if (SWIG_arg_fail(2)) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= wxPyMake_wxObject(result
, 0);
19784 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19787 wxToolBarToolBase
*result
;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= wxPyMake_wxObject(result
, 0);
19812 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19816 wxToolBarToolBase
*result
;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "pos", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail
;
19827 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19828 if (SWIG_arg_fail(2)) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= wxPyMake_wxObject(result
, 0);
19846 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19850 wxToolBarToolBase
*result
;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self",(char *) "id", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19859 if (SWIG_arg_fail(1)) SWIG_fail
;
19861 arg2
= (int)(SWIG_As_int(obj1
));
19862 if (SWIG_arg_fail(2)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= wxPyMake_wxObject(result
, 0);
19880 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "pos", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19896 if (SWIG_arg_fail(2)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19914 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self",(char *) "id", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 arg2
= (int)(SWIG_As_int(obj1
));
19930 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (bool)(arg1
)->DeleteTool(arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19948 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->ClearTools();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 Py_INCREF(Py_None
); resultobj
= Py_None
;
19973 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (bool)(arg1
)->Realize();
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20001 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 PyObject
* obj2
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self",(char *) "id",(char *) "enable", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail
;
20017 arg2
= (int)(SWIG_As_int(obj1
));
20018 if (SWIG_arg_fail(2)) SWIG_fail
;
20021 arg3
= (bool)(SWIG_As_bool(obj2
));
20022 if (SWIG_arg_fail(3)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->EnableTool(arg2
,arg3
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 Py_INCREF(Py_None
); resultobj
= Py_None
;
20038 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
;
20040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 PyObject
* obj2
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "id",(char *) "toggle", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20052 if (SWIG_arg_fail(1)) SWIG_fail
;
20054 arg2
= (int)(SWIG_As_int(obj1
));
20055 if (SWIG_arg_fail(2)) SWIG_fail
;
20058 arg3
= (bool)(SWIG_As_bool(obj2
));
20059 if (SWIG_arg_fail(3)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 (arg1
)->ToggleTool(arg2
,arg3
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 Py_INCREF(Py_None
); resultobj
= Py_None
;
20075 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 PyObject
* obj2
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self",(char *) "id",(char *) "toggle", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail
;
20091 arg2
= (int)(SWIG_As_int(obj1
));
20092 if (SWIG_arg_fail(2)) SWIG_fail
;
20095 arg3
= (bool)(SWIG_As_bool(obj2
));
20096 if (SWIG_arg_fail(3)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 (arg1
)->SetToggle(arg2
,arg3
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 Py_INCREF(Py_None
); resultobj
= Py_None
;
20112 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "id", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail
;
20127 arg2
= (int)(SWIG_As_int(obj1
));
20128 if (SWIG_arg_fail(2)) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
;
20144 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20148 PyObject
*arg3
= (PyObject
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 PyObject
* obj2
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self",(char *) "id",(char *) "clientData", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20158 if (SWIG_arg_fail(1)) SWIG_fail
;
20160 arg2
= (int)(SWIG_As_int(obj1
));
20161 if (SWIG_arg_fail(2)) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 Py_INCREF(Py_None
); resultobj
= Py_None
;
20178 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "self",(char *) "id", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail
;
20193 arg2
= (int)(SWIG_As_int(obj1
));
20194 if (SWIG_arg_fail(2)) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_From_int((int)(result
));
20212 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
;
20214 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self",(char *) "id", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20225 if (SWIG_arg_fail(1)) SWIG_fail
;
20227 arg2
= (int)(SWIG_As_int(obj1
));
20228 if (SWIG_arg_fail(2)) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (bool)(arg1
)->GetToolState(arg2
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20246 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "id", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20259 if (SWIG_arg_fail(1)) SWIG_fail
;
20261 arg2
= (int)(SWIG_As_int(obj1
));
20262 if (SWIG_arg_fail(2)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20284 wxString
*arg3
= 0 ;
20285 bool temp3
= false ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "id",(char *) "helpString", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 arg2
= (int)(SWIG_As_int(obj1
));
20298 if (SWIG_arg_fail(2)) SWIG_fail
;
20301 arg3
= wxString_in_helper(obj2
);
20302 if (arg3
== NULL
) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20327 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "id", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 arg2
= (int)(SWIG_As_int(obj1
));
20343 if (SWIG_arg_fail(2)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (arg1
)->GetToolShortHelp(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20365 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20369 wxString
*arg3
= 0 ;
20370 bool temp3
= false ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 PyObject
* obj2
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self",(char *) "id",(char *) "helpString", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20380 if (SWIG_arg_fail(1)) SWIG_fail
;
20382 arg2
= (int)(SWIG_As_int(obj1
));
20383 if (SWIG_arg_fail(2)) SWIG_fail
;
20386 arg3
= wxString_in_helper(obj2
);
20387 if (arg3
== NULL
) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20412 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "id", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20425 if (SWIG_arg_fail(1)) SWIG_fail
;
20427 arg2
= (int)(SWIG_As_int(obj1
));
20428 if (SWIG_arg_fail(2)) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (arg1
)->GetToolLongHelp(arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20450 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 PyObject
* obj2
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "x",(char *) "y", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20464 if (SWIG_arg_fail(1)) SWIG_fail
;
20466 arg2
= (int)(SWIG_As_int(obj1
));
20467 if (SWIG_arg_fail(2)) SWIG_fail
;
20470 arg3
= (int)(SWIG_As_int(obj2
));
20471 if (SWIG_arg_fail(3)) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->SetMargins(arg2
,arg3
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self",(char *) "size", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 Py_INCREF(Py_None
); resultobj
= Py_None
;
20519 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "packing", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20531 if (SWIG_arg_fail(1)) SWIG_fail
;
20533 arg2
= (int)(SWIG_As_int(obj1
));
20534 if (SWIG_arg_fail(2)) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->SetToolPacking(arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "separation", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail
;
20564 arg2
= (int)(SWIG_As_int(obj1
));
20565 if (SWIG_arg_fail(2)) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->SetToolSeparation(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (arg1
)->GetToolMargins();
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 wxSize
* resultptr
;
20602 resultptr
= new wxSize((wxSize
&)(result
));
20603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20611 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (arg1
)->GetMargins();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 wxSize
* resultptr
;
20632 resultptr
= new wxSize((wxSize
&)(result
));
20633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20641 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (int)(arg1
)->GetToolPacking();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_From_int((int)(result
));
20669 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (int)(arg1
)->GetToolSeparation();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_From_int((int)(result
));
20697 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self",(char *) "nRows", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20709 if (SWIG_arg_fail(1)) SWIG_fail
;
20711 arg2
= (int)(SWIG_As_int(obj1
));
20712 if (SWIG_arg_fail(2)) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 (arg1
)->SetRows(arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 Py_INCREF(Py_None
); resultobj
= Py_None
;
20728 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 PyObject
* obj2
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self",(char *) "rows",(char *) "cols", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail
;
20744 arg2
= (int)(SWIG_As_int(obj1
));
20745 if (SWIG_arg_fail(2)) SWIG_fail
;
20748 arg3
= (int)(SWIG_As_int(obj2
));
20749 if (SWIG_arg_fail(3)) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 Py_INCREF(Py_None
); resultobj
= Py_None
;
20765 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (int)(arg1
)->GetMaxRows();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= SWIG_From_int((int)(result
));
20793 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20794 PyObject
*resultobj
;
20795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20797 PyObject
* obj0
= 0 ;
20798 char *kwnames
[] = {
20799 (char *) "self", NULL
20802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (int)(arg1
)->GetMaxCols();
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_From_int((int)(result
));
20821 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "size", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail
;
20837 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (arg1
)->GetToolBitmapSize();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 wxSize
* resultptr
;
20874 resultptr
= new wxSize((wxSize
&)(result
));
20875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20883 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20894 if (SWIG_arg_fail(1)) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (arg1
)->GetToolSize();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 wxSize
* resultptr
;
20904 resultptr
= new wxSize((wxSize
&)(result
));
20905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20913 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20918 wxToolBarToolBase
*result
;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "x",(char *) "y", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20930 arg2
= (int)(SWIG_As_int(obj1
));
20931 if (SWIG_arg_fail(2)) SWIG_fail
;
20934 arg3
= (int)(SWIG_As_int(obj2
));
20935 if (SWIG_arg_fail(3)) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= wxPyMake_wxObject(result
, 0);
20953 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20957 wxToolBarToolBase
*result
;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self",(char *) "toolid", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= (int)(SWIG_As_int(obj1
));
20969 if (SWIG_arg_fail(2)) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= wxPyMake_wxObject(result
, 0);
20987 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20991 PyObject
* obj0
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20998 if (SWIG_arg_fail(1)) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (bool)(arg1
)->IsVertical();
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21015 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
21017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21018 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
21020 return Py_BuildValue((char *)"");
21022 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxWindow
*arg1
= (wxWindow
*) 0 ;
21025 int arg2
= (int) -1 ;
21026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21030 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21031 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
21032 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21036 bool temp6
= false ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 PyObject
* obj2
= 0 ;
21040 PyObject
* obj3
= 0 ;
21041 PyObject
* obj4
= 0 ;
21042 PyObject
* obj5
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail
;
21052 arg2
= (int)(SWIG_As_int(obj1
));
21053 if (SWIG_arg_fail(2)) SWIG_fail
;
21059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21070 arg5
= (long)(SWIG_As_long(obj4
));
21071 if (SWIG_arg_fail(5)) SWIG_fail
;
21076 arg6
= wxString_in_helper(obj5
);
21077 if (arg6
== NULL
) SWIG_fail
;
21082 if (!wxPyCheckForApp()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21104 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21107 char *kwnames
[] = {
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21113 if (!wxPyCheckForApp()) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (wxToolBar
*)new wxToolBar();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21127 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21130 wxWindow
*arg2
= (wxWindow
*) 0 ;
21131 int arg3
= (int) -1 ;
21132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21136 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21137 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21142 bool temp7
= false ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 PyObject
* obj2
= 0 ;
21146 PyObject
* obj3
= 0 ;
21147 PyObject
* obj4
= 0 ;
21148 PyObject
* obj5
= 0 ;
21149 PyObject
* obj6
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21156 if (SWIG_arg_fail(1)) SWIG_fail
;
21157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21158 if (SWIG_arg_fail(2)) SWIG_fail
;
21161 arg3
= (int)(SWIG_As_int(obj2
));
21162 if (SWIG_arg_fail(3)) SWIG_fail
;
21168 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21174 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21179 arg6
= (long)(SWIG_As_long(obj5
));
21180 if (SWIG_arg_fail(6)) SWIG_fail
;
21185 arg7
= wxString_in_helper(obj6
);
21186 if (arg7
== NULL
) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21219 wxToolBarToolBase
*result
;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 PyObject
* obj2
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "x",(char *) "y", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21229 if (SWIG_arg_fail(1)) SWIG_fail
;
21231 arg2
= (int)(SWIG_As_int(obj1
));
21232 if (SWIG_arg_fail(2)) SWIG_fail
;
21235 arg3
= (int)(SWIG_As_int(obj2
));
21236 if (SWIG_arg_fail(3)) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= wxPyMake_wxObject(result
, 0);
21254 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21257 wxVisualAttributes result
;
21258 PyObject
* obj0
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "variant", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21266 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21271 if (!wxPyCheckForApp()) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21279 wxVisualAttributes
* resultptr
;
21280 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21289 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21292 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21294 return Py_BuildValue((char *)"");
21296 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21297 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21302 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21307 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21309 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21316 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxColour
const &arg1_defvalue
= wxNullColour
;
21319 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21320 wxColour
const &arg2_defvalue
= wxNullColour
;
21321 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21322 wxFont
const &arg3_defvalue
= wxNullFont
;
21323 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21324 wxListItemAttr
*result
;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21338 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21344 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21349 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(3)) SWIG_fail
;
21351 if (arg3
== NULL
) {
21352 SWIG_null_ref("wxFont");
21354 if (SWIG_arg_fail(3)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21371 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21374 wxColour
*arg2
= 0 ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "colText", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21384 if (SWIG_arg_fail(1)) SWIG_fail
;
21387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 Py_INCREF(Py_None
); resultobj
= Py_None
;
21403 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21406 wxColour
*arg2
= 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self",(char *) "colBack", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(1)) SWIG_fail
;
21419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 Py_INCREF(Py_None
); resultobj
= Py_None
;
21435 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "font", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21447 if (SWIG_arg_fail(1)) SWIG_fail
;
21449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21450 if (SWIG_arg_fail(2)) SWIG_fail
;
21451 if (arg2
== NULL
) {
21452 SWIG_null_ref("wxFont");
21454 if (SWIG_arg_fail(2)) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->SetFont((wxFont
const &)*arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 Py_INCREF(Py_None
); resultobj
= Py_None
;
21470 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (bool)(arg1
)->HasTextColour();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21498 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (bool)(arg1
)->HasBackgroundColour();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21526 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (bool)(arg1
)->HasFont();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21554 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (arg1
)->GetTextColour();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21574 wxColour
* resultptr
;
21575 resultptr
= new wxColour((wxColour
&)(result
));
21576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21584 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21595 if (SWIG_arg_fail(1)) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (arg1
)->GetBackgroundColour();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 wxColour
* resultptr
;
21605 resultptr
= new wxColour((wxColour
&)(result
));
21606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21614 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 result
= (arg1
)->GetFont();
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21634 wxFont
* resultptr
;
21635 resultptr
= new wxFont((wxFont
&)(result
));
21636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21644 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21654 if (SWIG_arg_fail(1)) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 wxListItemAttr_Destroy(arg1
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21672 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21674 return Py_BuildValue((char *)"");
21676 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxListItem
*result
;
21679 char *kwnames
[] = {
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (wxListItem
*)new wxListItem();
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= wxPyMake_wxObject(result
, 1);
21700 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxListItem
*arg1
= (wxListItem
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21710 if (SWIG_arg_fail(1)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 Py_INCREF(Py_None
); resultobj
= Py_None
;
21725 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxListItem
*arg1
= (wxListItem
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21735 if (SWIG_arg_fail(1)) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 Py_INCREF(Py_None
); resultobj
= Py_None
;
21750 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxListItem
*arg1
= (wxListItem
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21760 if (SWIG_arg_fail(1)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->ClearAttributes();
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxListItem
*arg1
= (wxListItem
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "mask", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 arg2
= (long)(SWIG_As_long(obj1
));
21790 if (SWIG_arg_fail(2)) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 (arg1
)->SetMask(arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 Py_INCREF(Py_None
); resultobj
= Py_None
;
21806 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxListItem
*arg1
= (wxListItem
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self",(char *) "id", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21818 if (SWIG_arg_fail(1)) SWIG_fail
;
21820 arg2
= (long)(SWIG_As_long(obj1
));
21821 if (SWIG_arg_fail(2)) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->SetId(arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 Py_INCREF(Py_None
); resultobj
= Py_None
;
21837 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxListItem
*arg1
= (wxListItem
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "col", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21849 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 arg2
= (int)(SWIG_As_int(obj1
));
21852 if (SWIG_arg_fail(2)) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->SetColumn(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxListItem
*arg1
= (wxListItem
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "state", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21880 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 arg2
= (long)(SWIG_As_long(obj1
));
21883 if (SWIG_arg_fail(2)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->SetState(arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxListItem
*arg1
= (wxListItem
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "stateMask", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 arg2
= (long)(SWIG_As_long(obj1
));
21914 if (SWIG_arg_fail(2)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 (arg1
)->SetStateMask(arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxListItem
*arg1
= (wxListItem
*) 0 ;
21933 wxString
*arg2
= 0 ;
21934 bool temp2
= false ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "text", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21943 if (SWIG_arg_fail(1)) SWIG_fail
;
21945 arg2
= wxString_in_helper(obj1
);
21946 if (arg2
== NULL
) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 (arg1
)->SetText((wxString
const &)*arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 Py_INCREF(Py_None
); resultobj
= Py_None
;
21971 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxListItem
*arg1
= (wxListItem
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "self",(char *) "image", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail
;
21985 arg2
= (int)(SWIG_As_int(obj1
));
21986 if (SWIG_arg_fail(2)) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->SetImage(arg2
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
22002 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxListItem
*arg1
= (wxListItem
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "self",(char *) "data", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22014 if (SWIG_arg_fail(1)) SWIG_fail
;
22016 arg2
= (long)(SWIG_As_long(obj1
));
22017 if (SWIG_arg_fail(2)) SWIG_fail
;
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 (arg1
)->SetData(arg2
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 Py_INCREF(Py_None
); resultobj
= Py_None
;
22033 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxListItem
*arg1
= (wxListItem
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "width", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22045 if (SWIG_arg_fail(1)) SWIG_fail
;
22047 arg2
= (int)(SWIG_As_int(obj1
));
22048 if (SWIG_arg_fail(2)) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 (arg1
)->SetWidth(arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxListItem
*arg1
= (wxListItem
*) 0 ;
22067 wxListColumnFormat arg2
;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "align", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22076 if (SWIG_arg_fail(1)) SWIG_fail
;
22078 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22079 if (SWIG_arg_fail(2)) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 Py_INCREF(Py_None
); resultobj
= Py_None
;
22095 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxListItem
*arg1
= (wxListItem
*) 0 ;
22098 wxColour
*arg2
= 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "colText", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22111 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 Py_INCREF(Py_None
); resultobj
= Py_None
;
22127 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxListItem
*arg1
= (wxListItem
*) 0 ;
22130 wxColour
*arg2
= 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "colBack", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22140 if (SWIG_arg_fail(1)) SWIG_fail
;
22143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 Py_INCREF(Py_None
); resultobj
= Py_None
;
22159 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxListItem
*arg1
= (wxListItem
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "font", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail
;
22173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22174 if (SWIG_arg_fail(2)) SWIG_fail
;
22175 if (arg2
== NULL
) {
22176 SWIG_null_ref("wxFont");
22178 if (SWIG_arg_fail(2)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->SetFont((wxFont
const &)*arg2
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxListItem
*arg1
= (wxListItem
*) 0 ;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (long)(arg1
)->GetMask();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_From_long((long)(result
));
22222 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxListItem
*arg1
= (wxListItem
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22233 if (SWIG_arg_fail(1)) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (long)(arg1
)->GetId();
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_From_long((long)(result
));
22250 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxListItem
*arg1
= (wxListItem
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22261 if (SWIG_arg_fail(1)) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (int)(arg1
)->GetColumn();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_From_int((int)(result
));
22278 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxListItem
*arg1
= (wxListItem
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22289 if (SWIG_arg_fail(1)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (long)(arg1
)->GetState();
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_From_long((long)(result
));
22306 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxListItem
*arg1
= (wxListItem
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 wxString
const &_result_ref
= (arg1
)->GetText();
22322 result
= (wxString
*) &_result_ref
;
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22332 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22341 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxListItem
*arg1
= (wxListItem
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (int)(arg1
)->GetImage();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_From_int((int)(result
));
22369 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxListItem
*arg1
= (wxListItem
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (long)(arg1
)->GetData();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= SWIG_From_long((long)(result
));
22397 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxListItem
*arg1
= (wxListItem
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22408 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (int)(arg1
)->GetWidth();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_From_int((int)(result
));
22425 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxListItem
*arg1
= (wxListItem
*) 0 ;
22428 wxListColumnFormat result
;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22436 if (SWIG_arg_fail(1)) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_From_int((result
));
22451 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxListItem
*arg1
= (wxListItem
*) 0 ;
22454 wxListItemAttr
*result
;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22477 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxListItem
*arg1
= (wxListItem
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (bool)(arg1
)->HasAttributes();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22505 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxListItem
*arg1
= (wxListItem
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22525 wxColour
* resultptr
;
22526 resultptr
= new wxColour((wxColour
&)(result
));
22527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22535 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxListItem
*arg1
= (wxListItem
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22555 wxColour
* resultptr
;
22556 resultptr
= new wxColour((wxColour
&)(result
));
22557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22565 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxListItem
*arg1
= (wxListItem
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= ((wxListItem
const *)arg1
)->GetFont();
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 wxFont
* resultptr
;
22586 resultptr
= new wxFont((wxFont
&)(result
));
22587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22595 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxListItem
*arg1
= (wxListItem
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "m_mask", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22607 if (SWIG_arg_fail(1)) SWIG_fail
;
22609 arg2
= (long)(SWIG_As_long(obj1
));
22610 if (SWIG_arg_fail(2)) SWIG_fail
;
22612 if (arg1
) (arg1
)->m_mask
= arg2
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxListItem
*arg1
= (wxListItem
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22633 result
= (long) ((arg1
)->m_mask
);
22636 resultobj
= SWIG_From_long((long)(result
));
22644 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxListItem
*arg1
= (wxListItem
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self",(char *) "m_itemId", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22656 if (SWIG_arg_fail(1)) SWIG_fail
;
22658 arg2
= (long)(SWIG_As_long(obj1
));
22659 if (SWIG_arg_fail(2)) SWIG_fail
;
22661 if (arg1
) (arg1
)->m_itemId
= arg2
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxListItem
*arg1
= (wxListItem
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22682 result
= (long) ((arg1
)->m_itemId
);
22685 resultobj
= SWIG_From_long((long)(result
));
22693 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxListItem
*arg1
= (wxListItem
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "m_col", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 arg2
= (int)(SWIG_As_int(obj1
));
22708 if (SWIG_arg_fail(2)) SWIG_fail
;
22710 if (arg1
) (arg1
)->m_col
= arg2
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxListItem
*arg1
= (wxListItem
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22730 if (SWIG_arg_fail(1)) SWIG_fail
;
22731 result
= (int) ((arg1
)->m_col
);
22734 resultobj
= SWIG_From_int((int)(result
));
22742 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxListItem
*arg1
= (wxListItem
*) 0 ;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "m_state", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail
;
22756 arg2
= (long)(SWIG_As_long(obj1
));
22757 if (SWIG_arg_fail(2)) SWIG_fail
;
22759 if (arg1
) (arg1
)->m_state
= arg2
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxListItem
*arg1
= (wxListItem
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22779 if (SWIG_arg_fail(1)) SWIG_fail
;
22780 result
= (long) ((arg1
)->m_state
);
22783 resultobj
= SWIG_From_long((long)(result
));
22791 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxListItem
*arg1
= (wxListItem
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self",(char *) "m_stateMask", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail
;
22805 arg2
= (long)(SWIG_As_long(obj1
));
22806 if (SWIG_arg_fail(2)) SWIG_fail
;
22808 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22810 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxListItem
*arg1
= (wxListItem
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22828 if (SWIG_arg_fail(1)) SWIG_fail
;
22829 result
= (long) ((arg1
)->m_stateMask
);
22832 resultobj
= SWIG_From_long((long)(result
));
22840 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxListItem
*arg1
= (wxListItem
*) 0 ;
22843 wxString
*arg2
= (wxString
*) 0 ;
22844 bool temp2
= false ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "m_text", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_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
= wxString_in_helper(obj1
);
22856 if (arg2
== NULL
) SWIG_fail
;
22859 if (arg1
) (arg1
)->m_text
= *arg2
;
22861 Py_INCREF(Py_None
); resultobj
= Py_None
;
22876 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxListItem
*arg1
= (wxListItem
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22887 if (SWIG_arg_fail(1)) SWIG_fail
;
22888 result
= (wxString
*)& ((arg1
)->m_text
);
22892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22903 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxListItem
*arg1
= (wxListItem
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "m_image", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22915 if (SWIG_arg_fail(1)) SWIG_fail
;
22917 arg2
= (int)(SWIG_As_int(obj1
));
22918 if (SWIG_arg_fail(2)) SWIG_fail
;
22920 if (arg1
) (arg1
)->m_image
= arg2
;
22922 Py_INCREF(Py_None
); resultobj
= Py_None
;
22929 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxListItem
*arg1
= (wxListItem
*) 0 ;
22933 PyObject
* obj0
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22941 result
= (int) ((arg1
)->m_image
);
22944 resultobj
= SWIG_From_int((int)(result
));
22952 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxListItem
*arg1
= (wxListItem
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "m_data", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 arg2
= (long)(SWIG_As_long(obj1
));
22967 if (SWIG_arg_fail(2)) SWIG_fail
;
22969 if (arg1
) (arg1
)->m_data
= arg2
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxListItem
*arg1
= (wxListItem
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22989 if (SWIG_arg_fail(1)) SWIG_fail
;
22990 result
= (long) ((arg1
)->m_data
);
22993 resultobj
= SWIG_From_long((long)(result
));
23001 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxListItem
*arg1
= (wxListItem
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "m_format", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23013 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 arg2
= (int)(SWIG_As_int(obj1
));
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23018 if (arg1
) (arg1
)->m_format
= arg2
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23027 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxListItem
*arg1
= (wxListItem
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23038 if (SWIG_arg_fail(1)) SWIG_fail
;
23039 result
= (int) ((arg1
)->m_format
);
23042 resultobj
= SWIG_From_int((int)(result
));
23050 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxListItem
*arg1
= (wxListItem
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self",(char *) "m_width", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 arg2
= (int)(SWIG_As_int(obj1
));
23065 if (SWIG_arg_fail(2)) SWIG_fail
;
23067 if (arg1
) (arg1
)->m_width
= arg2
;
23069 Py_INCREF(Py_None
); resultobj
= Py_None
;
23076 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxListItem
*arg1
= (wxListItem
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23088 result
= (int) ((arg1
)->m_width
);
23091 resultobj
= SWIG_From_int((int)(result
));
23099 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23102 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23104 return Py_BuildValue((char *)"");
23106 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23109 int arg2
= (int) 0 ;
23110 wxListEvent
*result
;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "commandType",(char *) "id", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23120 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23126 arg2
= (int)(SWIG_As_int(obj1
));
23127 if (SWIG_arg_fail(2)) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23144 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "m_code", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23156 if (SWIG_arg_fail(1)) SWIG_fail
;
23158 arg2
= (int)(SWIG_As_int(obj1
));
23159 if (SWIG_arg_fail(2)) SWIG_fail
;
23161 if (arg1
) (arg1
)->m_code
= arg2
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23181 if (SWIG_arg_fail(1)) SWIG_fail
;
23182 result
= (int) ((arg1
)->m_code
);
23185 resultobj
= SWIG_From_int((int)(result
));
23193 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "m_oldItemIndex", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23205 if (SWIG_arg_fail(1)) SWIG_fail
;
23207 arg2
= (long)(SWIG_As_long(obj1
));
23208 if (SWIG_arg_fail(2)) SWIG_fail
;
23210 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23219 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23223 PyObject
* obj0
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23230 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 result
= (long) ((arg1
)->m_oldItemIndex
);
23234 resultobj
= SWIG_From_long((long)(result
));
23242 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self",(char *) "m_itemIndex", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23254 if (SWIG_arg_fail(1)) SWIG_fail
;
23256 arg2
= (long)(SWIG_As_long(obj1
));
23257 if (SWIG_arg_fail(2)) SWIG_fail
;
23259 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23261 Py_INCREF(Py_None
); resultobj
= Py_None
;
23268 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail
;
23280 result
= (long) ((arg1
)->m_itemIndex
);
23283 resultobj
= SWIG_From_long((long)(result
));
23291 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "m_col", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23303 if (SWIG_arg_fail(1)) SWIG_fail
;
23305 arg2
= (int)(SWIG_As_int(obj1
));
23306 if (SWIG_arg_fail(2)) SWIG_fail
;
23308 if (arg1
) (arg1
)->m_col
= arg2
;
23310 Py_INCREF(Py_None
); resultobj
= Py_None
;
23317 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
;
23319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23321 PyObject
* obj0
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 result
= (int) ((arg1
)->m_col
);
23332 resultobj
= SWIG_From_int((int)(result
));
23340 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23343 wxPoint
*arg2
= (wxPoint
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "m_pointDrag", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail
;
23353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(2)) SWIG_fail
;
23355 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23357 Py_INCREF(Py_None
); resultobj
= Py_None
;
23364 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23375 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23385 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23388 wxListItem
*result
;
23389 PyObject
* obj0
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail
;
23397 result
= (wxListItem
*)& ((arg1
)->m_item
);
23400 resultobj
= wxPyMake_wxObject(result
, 0);
23408 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23419 if (SWIG_arg_fail(1)) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (int)(arg1
)->GetKeyCode();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_From_int((int)(result
));
23436 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23447 if (SWIG_arg_fail(1)) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (long)(arg1
)->GetIndex();
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= SWIG_From_long((long)(result
));
23464 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23475 if (SWIG_arg_fail(1)) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (int)(arg1
)->GetColumn();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= SWIG_From_int((int)(result
));
23492 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (arg1
)->GetPoint();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 wxPoint
* resultptr
;
23513 resultptr
= new wxPoint((wxPoint
&)(result
));
23514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23522 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 wxString
const &_result_ref
= (arg1
)->GetLabel();
23538 result
= (wxString
*) &_result_ref
;
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23548 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23557 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23568 if (SWIG_arg_fail(1)) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 wxString
const &_result_ref
= (arg1
)->GetText();
23573 result
= (wxString
*) &_result_ref
;
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23583 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23592 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (int)(arg1
)->GetImage();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_From_int((int)(result
));
23620 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (long)(arg1
)->GetData();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_From_long((long)(result
));
23648 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23652 PyObject
* obj0
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23659 if (SWIG_arg_fail(1)) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (long)(arg1
)->GetMask();
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_From_long((long)(result
));
23676 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23679 wxListItem
*result
;
23680 PyObject
* obj0
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23687 if (SWIG_arg_fail(1)) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23692 result
= (wxListItem
*) &_result_ref
;
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23705 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23709 PyObject
* obj0
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23716 if (SWIG_arg_fail(1)) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (long)(arg1
)->GetCacheFrom();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_From_long((long)(result
));
23733 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23735 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 char *kwnames
[] = {
23739 (char *) "self", NULL
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23744 if (SWIG_arg_fail(1)) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (long)(arg1
)->GetCacheTo();
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_From_long((long)(result
));
23761 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23772 if (SWIG_arg_fail(1)) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23789 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "editCancelled", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23801 if (SWIG_arg_fail(1)) SWIG_fail
;
23803 arg2
= (bool)(SWIG_As_bool(obj1
));
23804 if (SWIG_arg_fail(2)) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->SetEditCanceled(arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23823 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23825 return Py_BuildValue((char *)"");
23827 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxWindow
*arg1
= (wxWindow
*) 0 ;
23830 int arg2
= (int) -1 ;
23831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23835 long arg5
= (long) wxLC_ICON
;
23836 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23837 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23838 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23839 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23840 wxPyListCtrl
*result
;
23843 bool temp7
= false ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 PyObject
* obj2
= 0 ;
23847 PyObject
* obj3
= 0 ;
23848 PyObject
* obj4
= 0 ;
23849 PyObject
* obj5
= 0 ;
23850 PyObject
* obj6
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23857 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 arg2
= (int)(SWIG_As_int(obj1
));
23861 if (SWIG_arg_fail(2)) SWIG_fail
;
23867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23878 arg5
= (long)(SWIG_As_long(obj4
));
23879 if (SWIG_arg_fail(5)) SWIG_fail
;
23884 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23885 if (SWIG_arg_fail(6)) SWIG_fail
;
23886 if (arg6
== NULL
) {
23887 SWIG_null_ref("wxValidator");
23889 if (SWIG_arg_fail(6)) SWIG_fail
;
23894 arg7
= wxString_in_helper(obj6
);
23895 if (arg7
== NULL
) SWIG_fail
;
23900 if (!wxPyCheckForApp()) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23922 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxPyListCtrl
*result
;
23925 char *kwnames
[] = {
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23931 if (!wxPyCheckForApp()) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23945 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23948 wxWindow
*arg2
= (wxWindow
*) 0 ;
23949 int arg3
= (int) -1 ;
23950 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23951 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23952 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23953 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23954 long arg6
= (long) wxLC_ICON
;
23955 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23956 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23957 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23962 bool temp8
= false ;
23963 PyObject
* obj0
= 0 ;
23964 PyObject
* obj1
= 0 ;
23965 PyObject
* obj2
= 0 ;
23966 PyObject
* obj3
= 0 ;
23967 PyObject
* obj4
= 0 ;
23968 PyObject
* obj5
= 0 ;
23969 PyObject
* obj6
= 0 ;
23970 PyObject
* obj7
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23977 if (SWIG_arg_fail(1)) SWIG_fail
;
23978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23979 if (SWIG_arg_fail(2)) SWIG_fail
;
23982 arg3
= (int)(SWIG_As_int(obj2
));
23983 if (SWIG_arg_fail(3)) SWIG_fail
;
23989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24000 arg6
= (long)(SWIG_As_long(obj5
));
24001 if (SWIG_arg_fail(6)) SWIG_fail
;
24006 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
24007 if (SWIG_arg_fail(7)) SWIG_fail
;
24008 if (arg7
== NULL
) {
24009 SWIG_null_ref("wxValidator");
24011 if (SWIG_arg_fail(7)) SWIG_fail
;
24016 arg8
= wxString_in_helper(obj7
);
24017 if (arg8
== NULL
) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24048 PyObject
*arg2
= (PyObject
*) 0 ;
24049 PyObject
*arg3
= (PyObject
*) 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 PyObject
* obj2
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "self",(char *) "_class", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 Py_INCREF(Py_None
); resultobj
= Py_None
;
24076 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24079 wxColour
*arg2
= 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "col", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24090 if (SWIG_arg_fail(1)) SWIG_fail
;
24093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24111 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24114 wxColour
*arg2
= 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self",(char *) "col", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24125 if (SWIG_arg_fail(1)) SWIG_fail
;
24128 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24146 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24150 wxListItem
*result
;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "col", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24159 if (SWIG_arg_fail(1)) SWIG_fail
;
24161 arg2
= (int)(SWIG_As_int(obj1
));
24162 if (SWIG_arg_fail(2)) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= wxPyMake_wxObject(result
, 0);
24180 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
;
24182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24184 wxListItem
*arg3
= 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 PyObject
* obj2
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self",(char *) "col",(char *) "item", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24195 if (SWIG_arg_fail(1)) SWIG_fail
;
24197 arg2
= (int)(SWIG_As_int(obj1
));
24198 if (SWIG_arg_fail(2)) SWIG_fail
;
24201 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24202 if (SWIG_arg_fail(3)) SWIG_fail
;
24203 if (arg3
== NULL
) {
24204 SWIG_null_ref("wxListItem");
24206 if (SWIG_arg_fail(3)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24224 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "col", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24237 if (SWIG_arg_fail(1)) SWIG_fail
;
24239 arg2
= (int)(SWIG_As_int(obj1
));
24240 if (SWIG_arg_fail(2)) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= SWIG_From_int((int)(result
));
24258 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 PyObject
* obj2
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self",(char *) "col",(char *) "width", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24273 if (SWIG_arg_fail(1)) SWIG_fail
;
24275 arg2
= (int)(SWIG_As_int(obj1
));
24276 if (SWIG_arg_fail(2)) SWIG_fail
;
24279 arg3
= (int)(SWIG_As_int(obj2
));
24280 if (SWIG_arg_fail(3)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24298 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= SWIG_From_int((int)(result
));
24326 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24337 if (SWIG_arg_fail(1)) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 wxRect
* resultptr
;
24347 resultptr
= new wxRect((wxRect
&)(result
));
24348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24356 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24360 int arg3
= (int) 0 ;
24361 wxListItem
*result
;
24362 PyObject
* obj0
= 0 ;
24363 PyObject
* obj1
= 0 ;
24364 PyObject
* obj2
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self",(char *) "itemId",(char *) "col", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 arg2
= (long)(SWIG_As_long(obj1
));
24374 if (SWIG_arg_fail(2)) SWIG_fail
;
24378 arg3
= (int)(SWIG_As_int(obj2
));
24379 if (SWIG_arg_fail(3)) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= wxPyMake_wxObject(result
, 0);
24398 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24401 wxListItem
*arg2
= 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "info", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24411 if (SWIG_arg_fail(1)) SWIG_fail
;
24413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24414 if (SWIG_arg_fail(2)) SWIG_fail
;
24415 if (arg2
== NULL
) {
24416 SWIG_null_ref("wxListItem");
24418 if (SWIG_arg_fail(2)) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (bool)(arg1
)->SetItem(*arg2
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24436 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24441 wxString
*arg4
= 0 ;
24442 int arg5
= (int) -1 ;
24444 bool temp4
= false ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 PyObject
* obj2
= 0 ;
24448 PyObject
* obj3
= 0 ;
24449 PyObject
* obj4
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24456 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 arg2
= (long)(SWIG_As_long(obj1
));
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24462 arg3
= (int)(SWIG_As_int(obj2
));
24463 if (SWIG_arg_fail(3)) SWIG_fail
;
24466 arg4
= wxString_in_helper(obj3
);
24467 if (arg4
== NULL
) SWIG_fail
;
24472 arg5
= (int)(SWIG_As_int(obj4
));
24473 if (SWIG_arg_fail(5)) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_From_long((long)(result
));
24500 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 PyObject
* obj2
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail
;
24517 arg2
= (long)(SWIG_As_long(obj1
));
24518 if (SWIG_arg_fail(2)) SWIG_fail
;
24521 arg3
= (long)(SWIG_As_long(obj2
));
24522 if (SWIG_arg_fail(3)) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_From_int((int)(result
));
24540 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24550 PyObject
* obj3
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24557 if (SWIG_arg_fail(1)) SWIG_fail
;
24559 arg2
= (long)(SWIG_As_long(obj1
));
24560 if (SWIG_arg_fail(2)) SWIG_fail
;
24563 arg3
= (long)(SWIG_As_long(obj2
));
24564 if (SWIG_arg_fail(3)) SWIG_fail
;
24567 arg4
= (long)(SWIG_As_long(obj3
));
24568 if (SWIG_arg_fail(4)) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24586 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24591 int arg4
= (int) -1 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 PyObject
* obj2
= 0 ;
24596 PyObject
* obj3
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24603 if (SWIG_arg_fail(1)) SWIG_fail
;
24605 arg2
= (long)(SWIG_As_long(obj1
));
24606 if (SWIG_arg_fail(2)) SWIG_fail
;
24609 arg3
= (int)(SWIG_As_int(obj2
));
24610 if (SWIG_arg_fail(3)) SWIG_fail
;
24614 arg4
= (int)(SWIG_As_int(obj3
));
24615 if (SWIG_arg_fail(4)) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24634 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "item", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24647 if (SWIG_arg_fail(1)) SWIG_fail
;
24649 arg2
= (long)(SWIG_As_long(obj1
));
24650 if (SWIG_arg_fail(2)) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24672 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24676 wxString
*arg3
= 0 ;
24677 bool temp3
= false ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "item",(char *) "str", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 arg2
= (long)(SWIG_As_long(obj1
));
24690 if (SWIG_arg_fail(2)) SWIG_fail
;
24693 arg3
= wxString_in_helper(obj2
);
24694 if (arg3
== NULL
) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 Py_INCREF(Py_None
); resultobj
= Py_None
;
24719 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "item", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24732 if (SWIG_arg_fail(1)) SWIG_fail
;
24734 arg2
= (long)(SWIG_As_long(obj1
));
24735 if (SWIG_arg_fail(2)) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= SWIG_From_long((long)(result
));
24753 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj1
= 0 ;
24761 PyObject
* obj2
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "item",(char *) "data", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail
;
24770 arg2
= (long)(SWIG_As_long(obj1
));
24771 if (SWIG_arg_fail(2)) SWIG_fail
;
24774 arg3
= (long)(SWIG_As_long(obj2
));
24775 if (SWIG_arg_fail(3)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24793 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "item", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24808 arg2
= (long)(SWIG_As_long(obj1
));
24809 if (SWIG_arg_fail(2)) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 wxPoint
* resultptr
;
24820 resultptr
= new wxPoint((wxPoint
&)(result
));
24821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24829 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24833 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 PyObject
* obj2
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "item",(char *) "code", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 arg2
= (long)(SWIG_As_long(obj1
));
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24851 arg3
= (int)(SWIG_As_int(obj2
));
24852 if (SWIG_arg_fail(3)) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 wxRect
* resultptr
;
24864 resultptr
= new wxRect((wxRect
&)(result
));
24865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24873 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24877 wxPoint
*arg3
= 0 ;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 PyObject
* obj2
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self",(char *) "item",(char *) "pos", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24889 if (SWIG_arg_fail(1)) SWIG_fail
;
24891 arg2
= (long)(SWIG_As_long(obj1
));
24892 if (SWIG_arg_fail(2)) SWIG_fail
;
24896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24914 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= SWIG_From_int((int)(result
));
24942 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 char *kwnames
[] = {
24948 (char *) "self", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24953 if (SWIG_arg_fail(1)) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_From_int((int)(result
));
24970 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24981 if (SWIG_arg_fail(1)) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 wxSize
* resultptr
;
24991 resultptr
= new wxSize((wxSize
&)(result
));
24992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25000 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25004 bool arg3
= (bool) false ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 PyObject
* obj2
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25014 if (SWIG_arg_fail(1)) SWIG_fail
;
25016 arg2
= (int)(SWIG_As_int(obj1
));
25017 if (SWIG_arg_fail(2)) SWIG_fail
;
25021 arg3
= (bool)(SWIG_As_bool(obj2
));
25022 if (SWIG_arg_fail(3)) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 (arg1
)->SetItemSpacing(arg2
,arg3
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_From_int((int)(result
));
25067 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
;
25069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "self", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25087 wxColour
* resultptr
;
25088 resultptr
= new wxColour((wxColour
&)(result
));
25089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25097 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25100 wxColour
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "col", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail
;
25113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25129 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25133 PyObject
* obj0
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25140 if (SWIG_arg_fail(1)) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_From_long((long)(result
));
25157 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25161 bool arg3
= (bool) true ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 PyObject
* obj2
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "style",(char *) "add", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25171 if (SWIG_arg_fail(1)) SWIG_fail
;
25173 arg2
= (long)(SWIG_As_long(obj1
));
25174 if (SWIG_arg_fail(2)) SWIG_fail
;
25178 arg3
= (bool)(SWIG_As_bool(obj2
));
25179 if (SWIG_arg_fail(3)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->SetSingleStyle(arg2
,arg3
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 Py_INCREF(Py_None
); resultobj
= Py_None
;
25196 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self",(char *) "style", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25208 if (SWIG_arg_fail(1)) SWIG_fail
;
25210 arg2
= (long)(SWIG_As_long(obj1
));
25211 if (SWIG_arg_fail(2)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->SetWindowStyleFlag(arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25231 int arg3
= (int) wxLIST_NEXT_ALL
;
25232 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 PyObject
* obj3
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25244 if (SWIG_arg_fail(1)) SWIG_fail
;
25246 arg2
= (long)(SWIG_As_long(obj1
));
25247 if (SWIG_arg_fail(2)) SWIG_fail
;
25251 arg3
= (int)(SWIG_As_int(obj2
));
25252 if (SWIG_arg_fail(3)) SWIG_fail
;
25257 arg4
= (int)(SWIG_As_int(obj3
));
25258 if (SWIG_arg_fail(4)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_From_long((long)(result
));
25277 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25281 wxImageList
*result
;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "which", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25290 if (SWIG_arg_fail(1)) SWIG_fail
;
25292 arg2
= (int)(SWIG_As_int(obj1
));
25293 if (SWIG_arg_fail(2)) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= wxPyMake_wxObject(result
, 0);
25311 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25314 wxImageList
*arg2
= (wxImageList
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 PyObject
* obj2
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "imageList",(char *) "which", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25325 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25327 if (SWIG_arg_fail(2)) SWIG_fail
;
25329 arg3
= (int)(SWIG_As_int(obj2
));
25330 if (SWIG_arg_fail(3)) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->SetImageList(arg2
,arg3
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25349 wxImageList
*arg2
= (wxImageList
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 PyObject
* obj2
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "imageList",(char *) "which", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25361 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25362 if (SWIG_arg_fail(2)) SWIG_fail
;
25364 arg3
= (int)(SWIG_As_int(obj2
));
25365 if (SWIG_arg_fail(3)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->AssignImageList(arg2
,arg3
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 Py_INCREF(Py_None
); resultobj
= Py_None
;
25381 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25409 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25437 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "item", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail
;
25451 arg2
= (long)(SWIG_As_long(obj1
));
25452 if (SWIG_arg_fail(2)) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->RefreshItem(arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 PyObject
* obj2
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail
;
25484 arg2
= (long)(SWIG_As_long(obj1
));
25485 if (SWIG_arg_fail(2)) SWIG_fail
;
25488 arg3
= (long)(SWIG_As_long(obj2
));
25489 if (SWIG_arg_fail(3)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 (arg1
)->RefreshItems(arg2
,arg3
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25508 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "flag", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25521 arg2
= (int)(SWIG_As_int(obj1
));
25522 if (SWIG_arg_fail(2)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (bool)(arg1
)->Arrange(arg2
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25541 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "item", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail
;
25556 arg2
= (long)(SWIG_As_long(obj1
));
25557 if (SWIG_arg_fail(2)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (bool)(arg1
)->DeleteItem(arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (bool)(arg1
)->DeleteAllItems();
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25603 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "col", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25616 if (SWIG_arg_fail(1)) SWIG_fail
;
25618 arg2
= (int)(SWIG_As_int(obj1
));
25619 if (SWIG_arg_fail(2)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25637 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25648 if (SWIG_arg_fail(1)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (bool)(arg1
)->DeleteAllColumns();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25665 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 (arg1
)->ClearAll();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "item", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 arg2
= (long)(SWIG_As_long(obj1
));
25705 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->EditLabel(arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 PyObject
* obj1
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self",(char *) "item", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail
;
25736 arg2
= (long)(SWIG_As_long(obj1
));
25737 if (SWIG_arg_fail(2)) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25755 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25759 wxString
*arg3
= 0 ;
25760 bool arg4
= (bool) false ;
25762 bool temp3
= false ;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 PyObject
* obj2
= 0 ;
25766 PyObject
* obj3
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25773 if (SWIG_arg_fail(1)) SWIG_fail
;
25775 arg2
= (long)(SWIG_As_long(obj1
));
25776 if (SWIG_arg_fail(2)) SWIG_fail
;
25779 arg3
= wxString_in_helper(obj2
);
25780 if (arg3
== NULL
) SWIG_fail
;
25785 arg4
= (bool)(SWIG_As_bool(obj3
));
25786 if (SWIG_arg_fail(4)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= SWIG_From_long((long)(result
));
25813 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25819 PyObject
* obj0
= 0 ;
25820 PyObject
* obj1
= 0 ;
25821 PyObject
* obj2
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "start",(char *) "data", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25828 if (SWIG_arg_fail(1)) SWIG_fail
;
25830 arg2
= (long)(SWIG_As_long(obj1
));
25831 if (SWIG_arg_fail(2)) SWIG_fail
;
25834 arg3
= (long)(SWIG_As_long(obj2
));
25835 if (SWIG_arg_fail(3)) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_From_long((long)(result
));
25853 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25857 wxPoint
*arg3
= 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 PyObject
* obj3
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25871 if (SWIG_arg_fail(1)) SWIG_fail
;
25873 arg2
= (long)(SWIG_As_long(obj1
));
25874 if (SWIG_arg_fail(2)) SWIG_fail
;
25878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25881 arg4
= (int)(SWIG_As_int(obj3
));
25882 if (SWIG_arg_fail(4)) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= SWIG_From_long((long)(result
));
25900 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25903 wxPoint
*arg2
= 0 ;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "point", NULL
25915 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25918 if (SWIG_arg_fail(1)) SWIG_fail
;
25921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_From_long((long)(result
));
25933 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25934 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25941 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25944 wxListItem
*arg2
= 0 ;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "info", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail
;
25956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25957 if (SWIG_arg_fail(2)) SWIG_fail
;
25958 if (arg2
== NULL
) {
25959 SWIG_null_ref("wxListItem");
25961 if (SWIG_arg_fail(2)) SWIG_fail
;
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 result
= (long)(arg1
)->InsertItem(*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_From_long((long)(result
));
25979 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
;
25981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25983 wxString
*arg3
= 0 ;
25985 bool temp3
= false ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 PyObject
* obj2
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "index",(char *) "label", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 arg2
= (long)(SWIG_As_long(obj1
));
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 arg3
= wxString_in_helper(obj2
);
26002 if (arg3
== NULL
) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_From_long((long)(result
));
26029 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 PyObject
* obj2
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26044 if (SWIG_arg_fail(1)) SWIG_fail
;
26046 arg2
= (long)(SWIG_As_long(obj1
));
26047 if (SWIG_arg_fail(2)) SWIG_fail
;
26050 arg3
= (int)(SWIG_As_int(obj2
));
26051 if (SWIG_arg_fail(3)) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_From_long((long)(result
));
26069 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26073 wxString
*arg3
= 0 ;
26076 bool temp3
= false ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 PyObject
* obj2
= 0 ;
26080 PyObject
* obj3
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26087 if (SWIG_arg_fail(1)) SWIG_fail
;
26089 arg2
= (long)(SWIG_As_long(obj1
));
26090 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 arg3
= wxString_in_helper(obj2
);
26094 if (arg3
== NULL
) SWIG_fail
;
26098 arg4
= (int)(SWIG_As_int(obj3
));
26099 if (SWIG_arg_fail(4)) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_From_long((long)(result
));
26125 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26129 wxListItem
*arg3
= 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 PyObject
* obj2
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self",(char *) "col",(char *) "info", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26140 if (SWIG_arg_fail(1)) SWIG_fail
;
26142 arg2
= (long)(SWIG_As_long(obj1
));
26143 if (SWIG_arg_fail(2)) SWIG_fail
;
26146 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(3)) SWIG_fail
;
26148 if (arg3
== NULL
) {
26149 SWIG_null_ref("wxListItem");
26151 if (SWIG_arg_fail(3)) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_From_long((long)(result
));
26169 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26173 wxString
*arg3
= 0 ;
26174 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26175 int arg5
= (int) -1 ;
26177 bool temp3
= false ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 PyObject
* obj2
= 0 ;
26181 PyObject
* obj3
= 0 ;
26182 PyObject
* obj4
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail
;
26191 arg2
= (long)(SWIG_As_long(obj1
));
26192 if (SWIG_arg_fail(2)) SWIG_fail
;
26195 arg3
= wxString_in_helper(obj2
);
26196 if (arg3
== NULL
) SWIG_fail
;
26201 arg4
= (int)(SWIG_As_int(obj3
));
26202 if (SWIG_arg_fail(4)) SWIG_fail
;
26207 arg5
= (int)(SWIG_As_int(obj4
));
26208 if (SWIG_arg_fail(5)) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_From_long((long)(result
));
26235 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "count", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26247 if (SWIG_arg_fail(1)) SWIG_fail
;
26249 arg2
= (long)(SWIG_As_long(obj1
));
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->SetItemCount(arg2
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 Py_INCREF(Py_None
); resultobj
= Py_None
;
26266 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self",(char *) "dx",(char *) "dy", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 arg2
= (int)(SWIG_As_int(obj1
));
26284 if (SWIG_arg_fail(2)) SWIG_fail
;
26287 arg3
= (int)(SWIG_As_int(obj2
));
26288 if (SWIG_arg_fail(3)) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26306 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26310 wxColour
*arg3
= 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 PyObject
* obj2
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "item",(char *) "col", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 arg2
= (long)(SWIG_As_long(obj1
));
26324 if (SWIG_arg_fail(2)) SWIG_fail
;
26328 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 Py_INCREF(Py_None
); resultobj
= Py_None
;
26344 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "item", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 arg2
= (long)(SWIG_As_long(obj1
));
26360 if (SWIG_arg_fail(2)) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 wxColour
* resultptr
;
26371 resultptr
= new wxColour((wxColour
&)(result
));
26372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26380 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26384 wxColour
*arg3
= 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 PyObject
* obj2
= 0 ;
26389 char *kwnames
[] = {
26390 (char *) "self",(char *) "item",(char *) "col", NULL
26393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26395 if (SWIG_arg_fail(1)) SWIG_fail
;
26397 arg2
= (long)(SWIG_As_long(obj1
));
26398 if (SWIG_arg_fail(2)) SWIG_fail
;
26402 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 Py_INCREF(Py_None
); resultobj
= Py_None
;
26418 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "item", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail
;
26433 arg2
= (long)(SWIG_As_long(obj1
));
26434 if (SWIG_arg_fail(2)) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 wxColour
* resultptr
;
26445 resultptr
= new wxColour((wxColour
&)(result
));
26446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26454 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26457 PyObject
*arg2
= (PyObject
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "func", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26485 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26496 if (SWIG_arg_fail(1)) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26505 resultobj
= wxPyMake_wxObject(result
, 0);
26513 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26516 wxVisualAttributes result
;
26517 PyObject
* obj0
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "variant", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26525 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26526 if (SWIG_arg_fail(1)) SWIG_fail
;
26530 if (!wxPyCheckForApp()) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 wxVisualAttributes
* resultptr
;
26539 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26548 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26551 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26553 return Py_BuildValue((char *)"");
26555 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
;
26557 wxWindow
*arg1
= (wxWindow
*) 0 ;
26558 int arg2
= (int) -1 ;
26559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26563 long arg5
= (long) wxLC_REPORT
;
26564 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26565 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26566 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26568 wxListView
*result
;
26571 bool temp7
= false ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 PyObject
* obj3
= 0 ;
26576 PyObject
* obj4
= 0 ;
26577 PyObject
* obj5
= 0 ;
26578 PyObject
* obj6
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26585 if (SWIG_arg_fail(1)) SWIG_fail
;
26588 arg2
= (int)(SWIG_As_int(obj1
));
26589 if (SWIG_arg_fail(2)) SWIG_fail
;
26595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26601 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26606 arg5
= (long)(SWIG_As_long(obj4
));
26607 if (SWIG_arg_fail(5)) SWIG_fail
;
26612 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(6)) SWIG_fail
;
26614 if (arg6
== NULL
) {
26615 SWIG_null_ref("wxValidator");
26617 if (SWIG_arg_fail(6)) SWIG_fail
;
26622 arg7
= wxString_in_helper(obj6
);
26623 if (arg7
== NULL
) SWIG_fail
;
26628 if (!wxPyCheckForApp()) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26650 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxListView
*result
;
26653 char *kwnames
[] = {
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26659 if (!wxPyCheckForApp()) SWIG_fail
;
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (wxListView
*)new wxListView();
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26673 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxListView
*arg1
= (wxListView
*) 0 ;
26676 wxWindow
*arg2
= (wxWindow
*) 0 ;
26677 int arg3
= (int) -1 ;
26678 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26679 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26680 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26681 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26682 long arg6
= (long) wxLC_REPORT
;
26683 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26684 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26685 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26686 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26690 bool temp8
= false ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 PyObject
* obj2
= 0 ;
26694 PyObject
* obj3
= 0 ;
26695 PyObject
* obj4
= 0 ;
26696 PyObject
* obj5
= 0 ;
26697 PyObject
* obj6
= 0 ;
26698 PyObject
* obj7
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail
;
26706 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26707 if (SWIG_arg_fail(2)) SWIG_fail
;
26710 arg3
= (int)(SWIG_As_int(obj2
));
26711 if (SWIG_arg_fail(3)) SWIG_fail
;
26717 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26723 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26728 arg6
= (long)(SWIG_As_long(obj5
));
26729 if (SWIG_arg_fail(6)) SWIG_fail
;
26734 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(7)) SWIG_fail
;
26736 if (arg7
== NULL
) {
26737 SWIG_null_ref("wxValidator");
26739 if (SWIG_arg_fail(7)) SWIG_fail
;
26744 arg8
= wxString_in_helper(obj7
);
26745 if (arg8
== NULL
) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26773 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxListView
*arg1
= (wxListView
*) 0 ;
26777 bool arg3
= (bool) true ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 PyObject
* obj2
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "n",(char *) "on", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26787 if (SWIG_arg_fail(1)) SWIG_fail
;
26789 arg2
= (long)(SWIG_As_long(obj1
));
26790 if (SWIG_arg_fail(2)) SWIG_fail
;
26794 arg3
= (bool)(SWIG_As_bool(obj2
));
26795 if (SWIG_arg_fail(3)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 (arg1
)->Select(arg2
,arg3
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 Py_INCREF(Py_None
); resultobj
= Py_None
;
26812 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxListView
*arg1
= (wxListView
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "index", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail
;
26826 arg2
= (long)(SWIG_As_long(obj1
));
26827 if (SWIG_arg_fail(2)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->Focus(arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxListView
*arg1
= (wxListView
*) 0 ;
26847 PyObject
* obj0
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26854 if (SWIG_arg_fail(1)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_From_long((long)(result
));
26871 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxListView
*arg1
= (wxListView
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "item", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 arg2
= (long)(SWIG_As_long(obj1
));
26887 if (SWIG_arg_fail(2)) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_From_long((long)(result
));
26905 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxListView
*arg1
= (wxListView
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26916 if (SWIG_arg_fail(1)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= SWIG_From_long((long)(result
));
26933 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxListView
*arg1
= (wxListView
*) 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "index", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail
;
26948 arg2
= (long)(SWIG_As_long(obj1
));
26949 if (SWIG_arg_fail(2)) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (bool)(arg1
)->IsSelected(arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26967 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
;
26969 wxListView
*arg1
= (wxListView
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 PyObject
* obj2
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "col",(char *) "image", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26983 arg2
= (int)(SWIG_As_int(obj1
));
26984 if (SWIG_arg_fail(2)) SWIG_fail
;
26987 arg3
= (int)(SWIG_As_int(obj2
));
26988 if (SWIG_arg_fail(3)) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->SetColumnImage(arg2
,arg3
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 Py_INCREF(Py_None
); resultobj
= Py_None
;
27004 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxListView
*arg1
= (wxListView
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "col", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27018 arg2
= (int)(SWIG_As_int(obj1
));
27019 if (SWIG_arg_fail(2)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->ClearColumnImage(arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27038 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27040 return Py_BuildValue((char *)"");
27042 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27043 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27048 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27053 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27055 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27062 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxTreeItemId
*result
;
27065 char *kwnames
[] = {
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (wxTreeItemId
*)new wxTreeItemId();
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27084 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 Py_INCREF(Py_None
); resultobj
= Py_None
;
27109 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27113 PyObject
* obj0
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27120 if (SWIG_arg_fail(1)) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27137 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27140 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "other", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(2)) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27169 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27172 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "other", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail
;
27183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27184 if (SWIG_arg_fail(2)) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27201 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27204 void *arg2
= (void *) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self",(char *) "m_pItem", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27213 if (SWIG_arg_fail(1)) SWIG_fail
;
27215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27216 SWIG_arg_fail(2);SWIG_fail
;
27219 if (arg1
) (arg1
)->m_pItem
= arg2
;
27221 Py_INCREF(Py_None
); resultobj
= Py_None
;
27228 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27232 PyObject
* obj0
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "self", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27239 if (SWIG_arg_fail(1)) SWIG_fail
;
27240 result
= (void *) ((arg1
)->m_pItem
);
27242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27249 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27252 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27254 return Py_BuildValue((char *)"");
27256 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 PyObject
*arg1
= (PyObject
*) NULL
;
27259 wxPyTreeItemData
*result
;
27260 PyObject
* obj0
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "obj", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27283 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27294 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 result
= (PyObject
*)(arg1
)->GetData();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= result
;
27309 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27312 PyObject
*arg2
= (PyObject
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 PyObject
* obj1
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self",(char *) "obj", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27321 if (SWIG_arg_fail(1)) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 (arg1
)->SetData(arg2
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 Py_INCREF(Py_None
); resultobj
= Py_None
;
27337 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27340 wxTreeItemId
*result
;
27341 PyObject
* obj0
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27348 if (SWIG_arg_fail(1)) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27353 result
= (wxTreeItemId
*) &_result_ref
;
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27366 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
;
27368 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27369 wxTreeItemId
*arg2
= 0 ;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "id", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail
;
27380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27381 if (SWIG_arg_fail(2)) SWIG_fail
;
27382 if (arg2
== NULL
) {
27383 SWIG_null_ref("wxTreeItemId");
27385 if (SWIG_arg_fail(2)) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 Py_INCREF(Py_None
); resultobj
= Py_None
;
27401 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 wxPyTreeItemData_Destroy(arg1
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 Py_INCREF(Py_None
); resultobj
= Py_None
;
27426 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27429 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27431 return Py_BuildValue((char *)"");
27433 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27436 int arg2
= (int) 0 ;
27437 wxTreeEvent
*result
;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "commandType",(char *) "id", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27447 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27448 if (SWIG_arg_fail(1)) SWIG_fail
;
27453 arg2
= (int)(SWIG_As_int(obj1
));
27454 if (SWIG_arg_fail(2)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27471 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27474 wxTreeItemId result
;
27475 PyObject
* obj0
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27491 wxTreeItemId
* resultptr
;
27492 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27501 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27504 wxTreeItemId
*arg2
= 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "item", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27516 if (SWIG_arg_fail(2)) SWIG_fail
;
27517 if (arg2
== NULL
) {
27518 SWIG_null_ref("wxTreeItemId");
27520 if (SWIG_arg_fail(2)) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27539 wxTreeItemId result
;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(1)) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 wxTreeItemId
* resultptr
;
27557 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27566 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27569 wxTreeItemId
*arg2
= 0 ;
27570 PyObject
* obj0
= 0 ;
27571 PyObject
* obj1
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self",(char *) "item", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail
;
27580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(2)) SWIG_fail
;
27582 if (arg2
== NULL
) {
27583 SWIG_null_ref("wxTreeItemId");
27585 if (SWIG_arg_fail(2)) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(1)) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 wxPoint
* resultptr
;
27622 resultptr
= new wxPoint((wxPoint
&)(result
));
27623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27631 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27634 wxPoint
*arg2
= 0 ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self",(char *) "pt", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail
;
27647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 Py_INCREF(Py_None
); resultobj
= Py_None
;
27663 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27666 wxKeyEvent
*result
;
27667 PyObject
* obj0
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "self", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27674 if (SWIG_arg_fail(1)) SWIG_fail
;
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27679 result
= (wxKeyEvent
*) &_result_ref
;
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27692 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_From_int((int)(result
));
27720 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
;
27722 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27723 wxKeyEvent
*arg2
= 0 ;
27724 PyObject
* obj0
= 0 ;
27725 PyObject
* obj1
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self",(char *) "evt", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27732 if (SWIG_arg_fail(1)) SWIG_fail
;
27734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27735 if (SWIG_arg_fail(2)) SWIG_fail
;
27736 if (arg2
== NULL
) {
27737 SWIG_null_ref("wxKeyEvent");
27739 if (SWIG_arg_fail(2)) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27748 Py_INCREF(Py_None
); resultobj
= Py_None
;
27755 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27759 PyObject
* obj0
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27766 if (SWIG_arg_fail(1)) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27771 result
= (wxString
*) &_result_ref
;
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27790 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27793 wxString
*arg2
= 0 ;
27794 bool temp2
= false ;
27795 PyObject
* obj0
= 0 ;
27796 PyObject
* obj1
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self",(char *) "label", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27805 arg2
= wxString_in_helper(obj1
);
27806 if (arg2
== NULL
) SWIG_fail
;
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 (arg1
)->SetLabel((wxString
const &)*arg2
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27816 Py_INCREF(Py_None
); resultobj
= Py_None
;
27831 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27842 if (SWIG_arg_fail(1)) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27859 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self",(char *) "editCancelled", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27871 if (SWIG_arg_fail(1)) SWIG_fail
;
27873 arg2
= (bool)(SWIG_As_bool(obj1
));
27874 if (SWIG_arg_fail(2)) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 (arg1
)->SetEditCanceled(arg2
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 Py_INCREF(Py_None
); resultobj
= Py_None
;
27890 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27893 wxString
*arg2
= 0 ;
27894 bool temp2
= false ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self",(char *) "toolTip", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail
;
27905 arg2
= wxString_in_helper(obj1
);
27906 if (arg2
== NULL
) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 Py_INCREF(Py_None
); resultobj
= Py_None
;
27931 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27934 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27936 return Py_BuildValue((char *)"");
27938 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 int arg2
= (int) -1 ;
27942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27946 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27947 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27948 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27949 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27951 wxPyTreeCtrl
*result
;
27954 bool temp7
= false ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 PyObject
* obj2
= 0 ;
27958 PyObject
* obj3
= 0 ;
27959 PyObject
* obj4
= 0 ;
27960 PyObject
* obj5
= 0 ;
27961 PyObject
* obj6
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail
;
27971 arg2
= (int)(SWIG_As_int(obj1
));
27972 if (SWIG_arg_fail(2)) SWIG_fail
;
27978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27989 arg5
= (long)(SWIG_As_long(obj4
));
27990 if (SWIG_arg_fail(5)) SWIG_fail
;
27995 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27996 if (SWIG_arg_fail(6)) SWIG_fail
;
27997 if (arg6
== NULL
) {
27998 SWIG_null_ref("wxValidator");
28000 if (SWIG_arg_fail(6)) SWIG_fail
;
28005 arg7
= wxString_in_helper(obj6
);
28006 if (arg7
== NULL
) SWIG_fail
;
28011 if (!wxPyCheckForApp()) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28033 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxPyTreeCtrl
*result
;
28036 char *kwnames
[] = {
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28042 if (!wxPyCheckForApp()) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28056 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28059 wxWindow
*arg2
= (wxWindow
*) 0 ;
28060 int arg3
= (int) -1 ;
28061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28065 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28066 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28067 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28068 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28073 bool temp8
= false ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 PyObject
* obj2
= 0 ;
28077 PyObject
* obj3
= 0 ;
28078 PyObject
* obj4
= 0 ;
28079 PyObject
* obj5
= 0 ;
28080 PyObject
* obj6
= 0 ;
28081 PyObject
* obj7
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28088 if (SWIG_arg_fail(1)) SWIG_fail
;
28089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28090 if (SWIG_arg_fail(2)) SWIG_fail
;
28093 arg3
= (int)(SWIG_As_int(obj2
));
28094 if (SWIG_arg_fail(3)) SWIG_fail
;
28100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28111 arg6
= (long)(SWIG_As_long(obj5
));
28112 if (SWIG_arg_fail(6)) SWIG_fail
;
28117 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(7)) SWIG_fail
;
28119 if (arg7
== NULL
) {
28120 SWIG_null_ref("wxValidator");
28122 if (SWIG_arg_fail(7)) SWIG_fail
;
28127 arg8
= wxString_in_helper(obj7
);
28128 if (arg8
== NULL
) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28156 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28159 PyObject
*arg2
= (PyObject
*) 0 ;
28160 PyObject
*arg3
= (PyObject
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 PyObject
* obj2
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28170 if (SWIG_arg_fail(1)) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28215 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28218 unsigned int result
;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28243 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28246 unsigned int arg2
;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "indent", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail
;
28257 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28258 if (SWIG_arg_fail(2)) SWIG_fail
;
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 (arg1
)->SetIndent(arg2
);
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 Py_INCREF(Py_None
); resultobj
= Py_None
;
28274 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28277 unsigned int result
;
28278 PyObject
* obj0
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28285 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28302 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28305 unsigned int arg2
;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "spacing", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28317 if (SWIG_arg_fail(2)) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 (arg1
)->SetSpacing(arg2
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 Py_INCREF(Py_None
); resultobj
= Py_None
;
28333 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28336 wxImageList
*result
;
28337 PyObject
* obj0
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= wxPyMake_wxObject(result
, 0);
28361 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28364 wxImageList
*result
;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28372 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= wxPyMake_wxObject(result
, 0);
28389 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28392 wxImageList
*arg2
= (wxImageList
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "imageList", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28401 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28403 if (SWIG_arg_fail(2)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 (arg1
)->SetImageList(arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 Py_INCREF(Py_None
); resultobj
= Py_None
;
28418 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28421 wxImageList
*arg2
= (wxImageList
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 PyObject
* obj1
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self",(char *) "imageList", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(1)) SWIG_fail
;
28431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28432 if (SWIG_arg_fail(2)) SWIG_fail
;
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->SetStateImageList(arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28450 wxImageList
*arg2
= (wxImageList
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "imageList", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail
;
28460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28461 if (SWIG_arg_fail(2)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 (arg1
)->AssignImageList(arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 Py_INCREF(Py_None
); resultobj
= Py_None
;
28476 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28479 wxImageList
*arg2
= (wxImageList
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "imageList", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28490 if (SWIG_arg_fail(2)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->AssignStateImageList(arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 Py_INCREF(Py_None
); resultobj
= Py_None
;
28505 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28508 wxTreeItemId
*arg2
= 0 ;
28510 PyObject
* obj0
= 0 ;
28511 PyObject
* obj1
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self",(char *) "item", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28518 if (SWIG_arg_fail(1)) SWIG_fail
;
28520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(2)) SWIG_fail
;
28522 if (arg2
== NULL
) {
28523 SWIG_null_ref("wxTreeItemId");
28525 if (SWIG_arg_fail(2)) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28547 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28550 wxTreeItemId
*arg2
= 0 ;
28551 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 PyObject
* obj2
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "item",(char *) "which", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail
;
28564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28565 if (SWIG_arg_fail(2)) SWIG_fail
;
28566 if (arg2
== NULL
) {
28567 SWIG_null_ref("wxTreeItemId");
28569 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28574 if (SWIG_arg_fail(3)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_From_int((int)(result
));
28593 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28596 wxTreeItemId
*arg2
= 0 ;
28597 wxPyTreeItemData
*result
;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self",(char *) "item", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail
;
28608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(2)) SWIG_fail
;
28610 if (arg2
== NULL
) {
28611 SWIG_null_ref("wxTreeItemId");
28613 if (SWIG_arg_fail(2)) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28629 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28632 wxTreeItemId
*arg2
= 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "item", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(1)) SWIG_fail
;
28644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28645 if (SWIG_arg_fail(2)) SWIG_fail
;
28646 if (arg2
== NULL
) {
28647 SWIG_null_ref("wxTreeItemId");
28649 if (SWIG_arg_fail(2)) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= result
;
28665 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28668 wxTreeItemId
*arg2
= 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "item", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(1)) SWIG_fail
;
28680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28681 if (SWIG_arg_fail(2)) SWIG_fail
;
28682 if (arg2
== NULL
) {
28683 SWIG_null_ref("wxTreeItemId");
28685 if (SWIG_arg_fail(2)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 wxColour
* resultptr
;
28696 resultptr
= new wxColour((wxColour
&)(result
));
28697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28705 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28708 wxTreeItemId
*arg2
= 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "item", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28718 if (SWIG_arg_fail(1)) SWIG_fail
;
28720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(2)) SWIG_fail
;
28722 if (arg2
== NULL
) {
28723 SWIG_null_ref("wxTreeItemId");
28725 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28735 wxColour
* resultptr
;
28736 resultptr
= new wxColour((wxColour
&)(result
));
28737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28745 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28748 wxTreeItemId
*arg2
= 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self",(char *) "item", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28758 if (SWIG_arg_fail(1)) SWIG_fail
;
28760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28761 if (SWIG_arg_fail(2)) SWIG_fail
;
28762 if (arg2
== NULL
) {
28763 SWIG_null_ref("wxTreeItemId");
28765 if (SWIG_arg_fail(2)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 wxFont
* resultptr
;
28776 resultptr
= new wxFont((wxFont
&)(result
));
28777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28785 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28788 wxTreeItemId
*arg2
= 0 ;
28789 wxString
*arg3
= 0 ;
28790 bool temp3
= false ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "item",(char *) "text", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(1)) SWIG_fail
;
28802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 if (arg2
== NULL
) {
28805 SWIG_null_ref("wxTreeItemId");
28807 if (SWIG_arg_fail(2)) SWIG_fail
;
28810 arg3
= wxString_in_helper(obj2
);
28811 if (arg3
== NULL
) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 Py_INCREF(Py_None
); resultobj
= Py_None
;
28836 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28839 wxTreeItemId
*arg2
= 0 ;
28841 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 PyObject
* obj2
= 0 ;
28845 PyObject
* obj3
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28855 if (SWIG_arg_fail(2)) SWIG_fail
;
28856 if (arg2
== NULL
) {
28857 SWIG_null_ref("wxTreeItemId");
28859 if (SWIG_arg_fail(2)) SWIG_fail
;
28862 arg3
= (int)(SWIG_As_int(obj2
));
28863 if (SWIG_arg_fail(3)) SWIG_fail
;
28867 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28868 if (SWIG_arg_fail(4)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28888 wxTreeItemId
*arg2
= 0 ;
28889 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 PyObject
* obj2
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self",(char *) "item",(char *) "data", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28899 if (SWIG_arg_fail(1)) SWIG_fail
;
28901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28902 if (SWIG_arg_fail(2)) SWIG_fail
;
28903 if (arg2
== NULL
) {
28904 SWIG_null_ref("wxTreeItemId");
28906 if (SWIG_arg_fail(2)) SWIG_fail
;
28908 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(3)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28927 wxTreeItemId
*arg2
= 0 ;
28928 PyObject
*arg3
= (PyObject
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 PyObject
* obj2
= 0 ;
28932 char *kwnames
[] = {
28933 (char *) "self",(char *) "item",(char *) "obj", NULL
28936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28938 if (SWIG_arg_fail(1)) SWIG_fail
;
28940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28941 if (SWIG_arg_fail(2)) SWIG_fail
;
28942 if (arg2
== NULL
) {
28943 SWIG_null_ref("wxTreeItemId");
28945 if (SWIG_arg_fail(2)) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28965 wxTreeItemId
*arg2
= 0 ;
28966 bool arg3
= (bool) true ;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "item",(char *) "has", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28976 if (SWIG_arg_fail(1)) SWIG_fail
;
28978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(2)) SWIG_fail
;
28980 if (arg2
== NULL
) {
28981 SWIG_null_ref("wxTreeItemId");
28983 if (SWIG_arg_fail(2)) SWIG_fail
;
28987 arg3
= (bool)(SWIG_As_bool(obj2
));
28988 if (SWIG_arg_fail(3)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 Py_INCREF(Py_None
); resultobj
= Py_None
;
29005 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29008 wxTreeItemId
*arg2
= 0 ;
29009 bool arg3
= (bool) true ;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 PyObject
* obj2
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "item",(char *) "bold", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29022 if (SWIG_arg_fail(2)) SWIG_fail
;
29023 if (arg2
== NULL
) {
29024 SWIG_null_ref("wxTreeItemId");
29026 if (SWIG_arg_fail(2)) SWIG_fail
;
29030 arg3
= (bool)(SWIG_As_bool(obj2
));
29031 if (SWIG_arg_fail(3)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 Py_INCREF(Py_None
); resultobj
= Py_None
;
29048 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29051 wxTreeItemId
*arg2
= 0 ;
29052 bool arg3
= (bool) true ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 PyObject
* obj2
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "self",(char *) "item",(char *) "highlight", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail
;
29064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29065 if (SWIG_arg_fail(2)) SWIG_fail
;
29066 if (arg2
== NULL
) {
29067 SWIG_null_ref("wxTreeItemId");
29069 if (SWIG_arg_fail(2)) SWIG_fail
;
29073 arg3
= (bool)(SWIG_As_bool(obj2
));
29074 if (SWIG_arg_fail(3)) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 Py_INCREF(Py_None
); resultobj
= Py_None
;
29091 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29094 wxTreeItemId
*arg2
= 0 ;
29095 wxColour
*arg3
= 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "item",(char *) "col", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29109 if (SWIG_arg_fail(2)) SWIG_fail
;
29110 if (arg2
== NULL
) {
29111 SWIG_null_ref("wxTreeItemId");
29113 if (SWIG_arg_fail(2)) SWIG_fail
;
29117 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29136 wxTreeItemId
*arg2
= 0 ;
29137 wxColour
*arg3
= 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "item",(char *) "col", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(1)) SWIG_fail
;
29150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29151 if (SWIG_arg_fail(2)) SWIG_fail
;
29152 if (arg2
== NULL
) {
29153 SWIG_null_ref("wxTreeItemId");
29155 if (SWIG_arg_fail(2)) SWIG_fail
;
29159 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29178 wxTreeItemId
*arg2
= 0 ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 PyObject
* obj2
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self",(char *) "item",(char *) "font", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29189 if (SWIG_arg_fail(1)) SWIG_fail
;
29191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29192 if (SWIG_arg_fail(2)) SWIG_fail
;
29193 if (arg2
== NULL
) {
29194 SWIG_null_ref("wxTreeItemId");
29196 if (SWIG_arg_fail(2)) SWIG_fail
;
29199 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(3)) SWIG_fail
;
29201 if (arg3
== NULL
) {
29202 SWIG_null_ref("wxFont");
29204 if (SWIG_arg_fail(3)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 Py_INCREF(Py_None
); resultobj
= Py_None
;
29220 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29223 wxTreeItemId
*arg2
= 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char *kwnames
[] = {
29228 (char *) "self",(char *) "item", NULL
29231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29233 if (SWIG_arg_fail(1)) SWIG_fail
;
29235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29236 if (SWIG_arg_fail(2)) SWIG_fail
;
29237 if (arg2
== NULL
) {
29238 SWIG_null_ref("wxTreeItemId");
29240 if (SWIG_arg_fail(2)) SWIG_fail
;
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29258 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29261 wxTreeItemId
*arg2
= 0 ;
29263 PyObject
* obj0
= 0 ;
29264 PyObject
* obj1
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self",(char *) "item", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29271 if (SWIG_arg_fail(1)) SWIG_fail
;
29273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29274 if (SWIG_arg_fail(2)) SWIG_fail
;
29275 if (arg2
== NULL
) {
29276 SWIG_null_ref("wxTreeItemId");
29278 if (SWIG_arg_fail(2)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29296 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29299 wxTreeItemId
*arg2
= 0 ;
29301 PyObject
* obj0
= 0 ;
29302 PyObject
* obj1
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self",(char *) "item", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29309 if (SWIG_arg_fail(1)) SWIG_fail
;
29311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29312 if (SWIG_arg_fail(2)) SWIG_fail
;
29313 if (arg2
== NULL
) {
29314 SWIG_null_ref("wxTreeItemId");
29316 if (SWIG_arg_fail(2)) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29334 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29337 wxTreeItemId
*arg2
= 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self",(char *) "item", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail
;
29349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29350 if (SWIG_arg_fail(2)) SWIG_fail
;
29351 if (arg2
== NULL
) {
29352 SWIG_null_ref("wxTreeItemId");
29354 if (SWIG_arg_fail(2)) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29372 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29375 wxTreeItemId
*arg2
= 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "item", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29385 if (SWIG_arg_fail(1)) SWIG_fail
;
29387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29388 if (SWIG_arg_fail(2)) SWIG_fail
;
29389 if (arg2
== NULL
) {
29390 SWIG_null_ref("wxTreeItemId");
29392 if (SWIG_arg_fail(2)) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29410 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29413 wxTreeItemId
*arg2
= 0 ;
29414 bool arg3
= (bool) true ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 PyObject
* obj2
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "item",(char *) "recursively", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail
;
29429 if (arg2
== NULL
) {
29430 SWIG_null_ref("wxTreeItemId");
29432 if (SWIG_arg_fail(2)) SWIG_fail
;
29436 arg3
= (bool)(SWIG_As_bool(obj2
));
29437 if (SWIG_arg_fail(3)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29456 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29459 wxTreeItemId result
;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29467 if (SWIG_arg_fail(1)) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 wxTreeItemId
* resultptr
;
29477 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29486 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29489 wxTreeItemId result
;
29490 PyObject
* obj0
= 0 ;
29491 char *kwnames
[] = {
29492 (char *) "self", NULL
29495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29497 if (SWIG_arg_fail(1)) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29506 wxTreeItemId
* resultptr
;
29507 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29516 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 char *kwnames
[] = {
29522 (char *) "self", NULL
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29527 if (SWIG_arg_fail(1)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= result
;
29542 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29545 wxTreeItemId
*arg2
= 0 ;
29546 wxTreeItemId result
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "item", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(2)) SWIG_fail
;
29559 if (arg2
== NULL
) {
29560 SWIG_null_ref("wxTreeItemId");
29562 if (SWIG_arg_fail(2)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 wxTreeItemId
* resultptr
;
29573 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29582 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29585 wxTreeItemId
*arg2
= 0 ;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "item", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 if (arg2
== NULL
) {
29600 SWIG_null_ref("wxTreeItemId");
29602 if (SWIG_arg_fail(2)) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= result
;
29618 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29621 wxTreeItemId
*arg2
= 0 ;
29622 void *arg3
= (void *) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 PyObject
* obj2
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self",(char *) "item",(char *) "cookie", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(2)) SWIG_fail
;
29637 if (arg2
== NULL
) {
29638 SWIG_null_ref("wxTreeItemId");
29640 if (SWIG_arg_fail(2)) SWIG_fail
;
29643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29644 SWIG_arg_fail(3);SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= result
;
29661 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
;
29663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29664 wxTreeItemId
*arg2
= 0 ;
29665 wxTreeItemId result
;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self",(char *) "item", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29677 if (SWIG_arg_fail(2)) SWIG_fail
;
29678 if (arg2
== NULL
) {
29679 SWIG_null_ref("wxTreeItemId");
29681 if (SWIG_arg_fail(2)) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 wxTreeItemId
* resultptr
;
29692 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29701 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29704 wxTreeItemId
*arg2
= 0 ;
29705 wxTreeItemId result
;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "item", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(2)) SWIG_fail
;
29718 if (arg2
== NULL
) {
29719 SWIG_null_ref("wxTreeItemId");
29721 if (SWIG_arg_fail(2)) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29731 wxTreeItemId
* resultptr
;
29732 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29741 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
;
29743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29744 wxTreeItemId
*arg2
= 0 ;
29745 wxTreeItemId result
;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "item", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 if (arg2
== NULL
) {
29759 SWIG_null_ref("wxTreeItemId");
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29771 wxTreeItemId
* resultptr
;
29772 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29781 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29784 wxTreeItemId result
;
29785 PyObject
* obj0
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29801 wxTreeItemId
* resultptr
;
29802 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29811 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29814 wxTreeItemId
*arg2
= 0 ;
29815 wxTreeItemId result
;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self",(char *) "item", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29824 if (SWIG_arg_fail(1)) SWIG_fail
;
29826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29827 if (SWIG_arg_fail(2)) SWIG_fail
;
29828 if (arg2
== NULL
) {
29829 SWIG_null_ref("wxTreeItemId");
29831 if (SWIG_arg_fail(2)) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 wxTreeItemId
* resultptr
;
29842 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29851 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29854 wxTreeItemId
*arg2
= 0 ;
29855 wxTreeItemId result
;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "item", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29867 if (SWIG_arg_fail(2)) SWIG_fail
;
29868 if (arg2
== NULL
) {
29869 SWIG_null_ref("wxTreeItemId");
29871 if (SWIG_arg_fail(2)) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29881 wxTreeItemId
* resultptr
;
29882 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29891 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29894 wxString
*arg2
= 0 ;
29895 int arg3
= (int) -1 ;
29896 int arg4
= (int) -1 ;
29897 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29898 wxTreeItemId result
;
29899 bool temp2
= false ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 PyObject
* obj2
= 0 ;
29903 PyObject
* obj3
= 0 ;
29904 PyObject
* obj4
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29911 if (SWIG_arg_fail(1)) SWIG_fail
;
29913 arg2
= wxString_in_helper(obj1
);
29914 if (arg2
== NULL
) SWIG_fail
;
29919 arg3
= (int)(SWIG_As_int(obj2
));
29920 if (SWIG_arg_fail(3)) SWIG_fail
;
29925 arg4
= (int)(SWIG_As_int(obj3
));
29926 if (SWIG_arg_fail(4)) SWIG_fail
;
29930 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(5)) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 wxTreeItemId
* resultptr
;
29942 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29959 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29962 wxTreeItemId
*arg2
= 0 ;
29963 wxString
*arg3
= 0 ;
29964 int arg4
= (int) -1 ;
29965 int arg5
= (int) -1 ;
29966 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29967 wxTreeItemId result
;
29968 bool temp3
= false ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 PyObject
* obj2
= 0 ;
29972 PyObject
* obj3
= 0 ;
29973 PyObject
* obj4
= 0 ;
29974 PyObject
* obj5
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail
;
29983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(2)) SWIG_fail
;
29985 if (arg2
== NULL
) {
29986 SWIG_null_ref("wxTreeItemId");
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29991 arg3
= wxString_in_helper(obj2
);
29992 if (arg3
== NULL
) SWIG_fail
;
29997 arg4
= (int)(SWIG_As_int(obj3
));
29998 if (SWIG_arg_fail(4)) SWIG_fail
;
30003 arg5
= (int)(SWIG_As_int(obj4
));
30004 if (SWIG_arg_fail(5)) SWIG_fail
;
30008 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(6)) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 wxTreeItemId
* resultptr
;
30020 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30037 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30040 wxTreeItemId
*arg2
= 0 ;
30041 wxTreeItemId
*arg3
= 0 ;
30042 wxString
*arg4
= 0 ;
30043 int arg5
= (int) -1 ;
30044 int arg6
= (int) -1 ;
30045 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30046 wxTreeItemId result
;
30047 bool temp4
= false ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 PyObject
* obj2
= 0 ;
30051 PyObject
* obj3
= 0 ;
30052 PyObject
* obj4
= 0 ;
30053 PyObject
* obj5
= 0 ;
30054 PyObject
* obj6
= 0 ;
30055 char *kwnames
[] = {
30056 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30061 if (SWIG_arg_fail(1)) SWIG_fail
;
30063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30064 if (SWIG_arg_fail(2)) SWIG_fail
;
30065 if (arg2
== NULL
) {
30066 SWIG_null_ref("wxTreeItemId");
30068 if (SWIG_arg_fail(2)) SWIG_fail
;
30071 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30072 if (SWIG_arg_fail(3)) SWIG_fail
;
30073 if (arg3
== NULL
) {
30074 SWIG_null_ref("wxTreeItemId");
30076 if (SWIG_arg_fail(3)) SWIG_fail
;
30079 arg4
= wxString_in_helper(obj3
);
30080 if (arg4
== NULL
) SWIG_fail
;
30085 arg5
= (int)(SWIG_As_int(obj4
));
30086 if (SWIG_arg_fail(5)) SWIG_fail
;
30091 arg6
= (int)(SWIG_As_int(obj5
));
30092 if (SWIG_arg_fail(6)) SWIG_fail
;
30096 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(7)) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30107 wxTreeItemId
* resultptr
;
30108 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30125 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30128 wxTreeItemId
*arg2
= 0 ;
30130 wxString
*arg4
= 0 ;
30131 int arg5
= (int) -1 ;
30132 int arg6
= (int) -1 ;
30133 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30134 wxTreeItemId result
;
30135 bool temp4
= false ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 PyObject
* obj2
= 0 ;
30139 PyObject
* obj3
= 0 ;
30140 PyObject
* obj4
= 0 ;
30141 PyObject
* obj5
= 0 ;
30142 PyObject
* obj6
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30153 if (arg2
== NULL
) {
30154 SWIG_null_ref("wxTreeItemId");
30156 if (SWIG_arg_fail(2)) SWIG_fail
;
30159 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30160 if (SWIG_arg_fail(3)) SWIG_fail
;
30163 arg4
= wxString_in_helper(obj3
);
30164 if (arg4
== NULL
) SWIG_fail
;
30169 arg5
= (int)(SWIG_As_int(obj4
));
30170 if (SWIG_arg_fail(5)) SWIG_fail
;
30175 arg6
= (int)(SWIG_As_int(obj5
));
30176 if (SWIG_arg_fail(6)) SWIG_fail
;
30180 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(7)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 wxTreeItemId
* resultptr
;
30192 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30209 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30212 wxTreeItemId
*arg2
= 0 ;
30213 wxString
*arg3
= 0 ;
30214 int arg4
= (int) -1 ;
30215 int arg5
= (int) -1 ;
30216 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30217 wxTreeItemId result
;
30218 bool temp3
= false ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 PyObject
* obj5
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30231 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30235 if (arg2
== NULL
) {
30236 SWIG_null_ref("wxTreeItemId");
30238 if (SWIG_arg_fail(2)) SWIG_fail
;
30241 arg3
= wxString_in_helper(obj2
);
30242 if (arg3
== NULL
) SWIG_fail
;
30247 arg4
= (int)(SWIG_As_int(obj3
));
30248 if (SWIG_arg_fail(4)) SWIG_fail
;
30253 arg5
= (int)(SWIG_As_int(obj4
));
30254 if (SWIG_arg_fail(5)) SWIG_fail
;
30258 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30259 if (SWIG_arg_fail(6)) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 wxTreeItemId
* resultptr
;
30270 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30287 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30290 wxTreeItemId
*arg2
= 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "item", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(2)) SWIG_fail
;
30303 if (arg2
== NULL
) {
30304 SWIG_null_ref("wxTreeItemId");
30306 if (SWIG_arg_fail(2)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30325 wxTreeItemId
*arg2
= 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "item", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30334 if (SWIG_arg_fail(1)) SWIG_fail
;
30336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 if (arg2
== NULL
) {
30339 SWIG_null_ref("wxTreeItemId");
30341 if (SWIG_arg_fail(2)) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 Py_INCREF(Py_None
); resultobj
= Py_None
;
30357 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
;
30359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30360 PyObject
* obj0
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(1)) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->DeleteAllItems();
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30382 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30385 wxTreeItemId
*arg2
= 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "item", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30398 if (arg2
== NULL
) {
30399 SWIG_null_ref("wxTreeItemId");
30401 if (SWIG_arg_fail(2)) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 Py_INCREF(Py_None
); resultobj
= Py_None
;
30417 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30420 wxTreeItemId
*arg2
= 0 ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "item", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30429 if (SWIG_arg_fail(1)) SWIG_fail
;
30431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30432 if (SWIG_arg_fail(2)) SWIG_fail
;
30433 if (arg2
== NULL
) {
30434 SWIG_null_ref("wxTreeItemId");
30436 if (SWIG_arg_fail(2)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 Py_INCREF(Py_None
); resultobj
= Py_None
;
30452 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
;
30454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30455 wxTreeItemId
*arg2
= 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self",(char *) "item", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30464 if (SWIG_arg_fail(1)) SWIG_fail
;
30466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(2)) SWIG_fail
;
30468 if (arg2
== NULL
) {
30469 SWIG_null_ref("wxTreeItemId");
30471 if (SWIG_arg_fail(2)) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 Py_INCREF(Py_None
); resultobj
= Py_None
;
30487 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30490 wxTreeItemId
*arg2
= 0 ;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 char *kwnames
[] = {
30494 (char *) "self",(char *) "item", NULL
30497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30499 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30502 if (SWIG_arg_fail(2)) SWIG_fail
;
30503 if (arg2
== NULL
) {
30504 SWIG_null_ref("wxTreeItemId");
30506 if (SWIG_arg_fail(2)) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 Py_INCREF(Py_None
); resultobj
= Py_None
;
30522 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
;
30524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->Unselect();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 Py_INCREF(Py_None
); resultobj
= Py_None
;
30547 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
;
30549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30550 wxTreeItemId
*arg2
= 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "item", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(2)) SWIG_fail
;
30563 if (arg2
== NULL
) {
30564 SWIG_null_ref("wxTreeItemId");
30566 if (SWIG_arg_fail(2)) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30585 PyObject
* obj0
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->UnselectAll();
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30610 wxTreeItemId
*arg2
= 0 ;
30611 bool arg3
= (bool) true ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "item",(char *) "select", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30621 if (SWIG_arg_fail(1)) SWIG_fail
;
30623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30624 if (SWIG_arg_fail(2)) SWIG_fail
;
30625 if (arg2
== NULL
) {
30626 SWIG_null_ref("wxTreeItemId");
30628 if (SWIG_arg_fail(2)) SWIG_fail
;
30632 arg3
= (bool)(SWIG_As_bool(obj2
));
30633 if (SWIG_arg_fail(3)) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 Py_INCREF(Py_None
); resultobj
= Py_None
;
30650 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30653 wxTreeItemId
*arg2
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "item", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30665 if (SWIG_arg_fail(2)) SWIG_fail
;
30666 if (arg2
== NULL
) {
30667 SWIG_null_ref("wxTreeItemId");
30669 if (SWIG_arg_fail(2)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30688 wxTreeItemId
*arg2
= 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char *kwnames
[] = {
30692 (char *) "self",(char *) "item", NULL
30695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30697 if (SWIG_arg_fail(1)) SWIG_fail
;
30699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30700 if (SWIG_arg_fail(2)) SWIG_fail
;
30701 if (arg2
== NULL
) {
30702 SWIG_null_ref("wxTreeItemId");
30704 if (SWIG_arg_fail(2)) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30723 wxTreeItemId
*arg2
= 0 ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char *kwnames
[] = {
30727 (char *) "self",(char *) "item", NULL
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail
;
30734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(2)) SWIG_fail
;
30736 if (arg2
== NULL
) {
30737 SWIG_null_ref("wxTreeItemId");
30739 if (SWIG_arg_fail(2)) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30758 wxTreeItemId
*arg2
= 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char *kwnames
[] = {
30762 (char *) "self",(char *) "item", NULL
30765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30767 if (SWIG_arg_fail(1)) SWIG_fail
;
30769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30770 if (SWIG_arg_fail(2)) SWIG_fail
;
30771 if (arg2
== NULL
) {
30772 SWIG_null_ref("wxTreeItemId");
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 Py_INCREF(Py_None
); resultobj
= Py_None
;
30790 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30793 wxTextCtrl
*result
;
30794 PyObject
* obj0
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= wxPyMake_wxObject(result
, 0);
30818 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30821 wxTreeItemId
*arg2
= 0 ;
30822 PyObject
* obj0
= 0 ;
30823 PyObject
* obj1
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self",(char *) "item", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30830 if (SWIG_arg_fail(1)) SWIG_fail
;
30832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30833 if (SWIG_arg_fail(2)) SWIG_fail
;
30834 if (arg2
== NULL
) {
30835 SWIG_null_ref("wxTreeItemId");
30837 if (SWIG_arg_fail(2)) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30846 Py_INCREF(Py_None
); resultobj
= Py_None
;
30853 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
;
30855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30856 wxPoint
*arg2
= 0 ;
30858 wxTreeItemId result
;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "point", NULL
30868 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30871 if (SWIG_arg_fail(1)) SWIG_fail
;
30874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 wxTreeItemId
* resultptr
;
30885 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30888 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30889 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30896 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30899 wxTreeItemId
*arg2
= 0 ;
30900 bool arg3
= (bool) false ;
30902 PyObject
* obj0
= 0 ;
30903 PyObject
* obj1
= 0 ;
30904 PyObject
* obj2
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30911 if (SWIG_arg_fail(1)) SWIG_fail
;
30913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30914 if (SWIG_arg_fail(2)) SWIG_fail
;
30915 if (arg2
== NULL
) {
30916 SWIG_null_ref("wxTreeItemId");
30918 if (SWIG_arg_fail(2)) SWIG_fail
;
30922 arg3
= (bool)(SWIG_As_bool(obj2
));
30923 if (SWIG_arg_fail(3)) SWIG_fail
;
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= result
;
30940 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30941 PyObject
*resultobj
;
30942 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30943 wxVisualAttributes result
;
30944 PyObject
* obj0
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "variant", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30952 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30953 if (SWIG_arg_fail(1)) SWIG_fail
;
30957 if (!wxPyCheckForApp()) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 wxVisualAttributes
* resultptr
;
30966 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30975 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30978 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30980 return Py_BuildValue((char *)"");
30982 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30983 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30988 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30993 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30995 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31002 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
;
31004 wxWindow
*arg1
= (wxWindow
*) 0 ;
31005 int arg2
= (int) (int)-1 ;
31006 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31007 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31012 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31013 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31015 int arg8
= (int) 0 ;
31016 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31017 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31018 wxGenericDirCtrl
*result
;
31019 bool temp3
= false ;
31022 bool temp7
= false ;
31023 bool temp9
= false ;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 PyObject
* obj2
= 0 ;
31027 PyObject
* obj3
= 0 ;
31028 PyObject
* obj4
= 0 ;
31029 PyObject
* obj5
= 0 ;
31030 PyObject
* obj6
= 0 ;
31031 PyObject
* obj7
= 0 ;
31032 PyObject
* obj8
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail
;
31042 arg2
= (int const)(SWIG_As_int(obj1
));
31043 if (SWIG_arg_fail(2)) SWIG_fail
;
31048 arg3
= wxString_in_helper(obj2
);
31049 if (arg3
== NULL
) SWIG_fail
;
31056 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31062 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31067 arg6
= (long)(SWIG_As_long(obj5
));
31068 if (SWIG_arg_fail(6)) SWIG_fail
;
31073 arg7
= wxString_in_helper(obj6
);
31074 if (arg7
== NULL
) SWIG_fail
;
31080 arg8
= (int)(SWIG_As_int(obj7
));
31081 if (SWIG_arg_fail(8)) SWIG_fail
;
31086 arg9
= wxString_in_helper(obj8
);
31087 if (arg9
== NULL
) SWIG_fail
;
31092 if (!wxPyCheckForApp()) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31130 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxGenericDirCtrl
*result
;
31133 char *kwnames
[] = {
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31139 if (!wxPyCheckForApp()) SWIG_fail
;
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31153 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31154 PyObject
*resultobj
;
31155 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31156 wxWindow
*arg2
= (wxWindow
*) 0 ;
31157 int arg3
= (int) (int)-1 ;
31158 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31159 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31164 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31165 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31167 int arg9
= (int) 0 ;
31168 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31169 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31171 bool temp4
= false ;
31174 bool temp8
= false ;
31175 bool temp10
= false ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 PyObject
* obj2
= 0 ;
31179 PyObject
* obj3
= 0 ;
31180 PyObject
* obj4
= 0 ;
31181 PyObject
* obj5
= 0 ;
31182 PyObject
* obj6
= 0 ;
31183 PyObject
* obj7
= 0 ;
31184 PyObject
* obj8
= 0 ;
31185 PyObject
* obj9
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31192 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31194 if (SWIG_arg_fail(2)) SWIG_fail
;
31197 arg3
= (int const)(SWIG_As_int(obj2
));
31198 if (SWIG_arg_fail(3)) SWIG_fail
;
31203 arg4
= wxString_in_helper(obj3
);
31204 if (arg4
== NULL
) SWIG_fail
;
31211 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31217 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31222 arg7
= (long)(SWIG_As_long(obj6
));
31223 if (SWIG_arg_fail(7)) SWIG_fail
;
31228 arg8
= wxString_in_helper(obj7
);
31229 if (arg8
== NULL
) SWIG_fail
;
31235 arg9
= (int)(SWIG_As_int(obj8
));
31236 if (SWIG_arg_fail(9)) SWIG_fail
;
31241 arg10
= wxString_in_helper(obj9
);
31242 if (arg10
== NULL
) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31286 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31289 wxString
*arg2
= 0 ;
31291 bool temp2
= false ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 char *kwnames
[] = {
31295 (char *) "self",(char *) "path", NULL
31298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31300 if (SWIG_arg_fail(1)) SWIG_fail
;
31302 arg2
= wxString_in_helper(obj1
);
31303 if (arg2
== NULL
) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31330 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31334 PyObject
* obj0
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31362 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
;
31364 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31365 wxString
*arg2
= 0 ;
31366 bool temp2
= false ;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 char *kwnames
[] = {
31370 (char *) "self",(char *) "path", NULL
31373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31375 if (SWIG_arg_fail(1)) SWIG_fail
;
31377 arg2
= wxString_in_helper(obj1
);
31378 if (arg2
== NULL
) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 Py_INCREF(Py_None
); resultobj
= Py_None
;
31403 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31407 PyObject
* obj0
= 0 ;
31408 char *kwnames
[] = {
31409 (char *) "self", NULL
31412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31414 if (SWIG_arg_fail(1)) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31435 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31439 PyObject
* obj0
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31446 if (SWIG_arg_fail(1)) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31467 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31468 PyObject
*resultobj
;
31469 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31470 wxString
*arg2
= 0 ;
31471 bool temp2
= false ;
31472 PyObject
* obj0
= 0 ;
31473 PyObject
* obj1
= 0 ;
31474 char *kwnames
[] = {
31475 (char *) "self",(char *) "path", NULL
31478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31480 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 arg2
= wxString_in_helper(obj1
);
31483 if (arg2
== NULL
) SWIG_fail
;
31487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31488 (arg1
)->SetPath((wxString
const &)*arg2
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 Py_INCREF(Py_None
); resultobj
= Py_None
;
31508 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
;
31510 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 char *kwnames
[] = {
31515 (char *) "self",(char *) "show", NULL
31518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31520 if (SWIG_arg_fail(1)) SWIG_fail
;
31522 arg2
= (bool)(SWIG_As_bool(obj1
));
31523 if (SWIG_arg_fail(2)) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->ShowHidden(arg2
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 Py_INCREF(Py_None
); resultobj
= Py_None
;
31539 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
;
31541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31550 if (SWIG_arg_fail(1)) SWIG_fail
;
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= (bool)(arg1
)->GetShowHidden();
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31567 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail
;
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31599 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31602 wxString
*arg2
= 0 ;
31603 bool temp2
= false ;
31604 PyObject
* obj0
= 0 ;
31605 PyObject
* obj1
= 0 ;
31606 char *kwnames
[] = {
31607 (char *) "self",(char *) "filter", NULL
31610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31612 if (SWIG_arg_fail(1)) SWIG_fail
;
31614 arg2
= wxString_in_helper(obj1
);
31615 if (arg2
== NULL
) SWIG_fail
;
31619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 (arg1
)->SetFilter((wxString
const &)*arg2
);
31622 wxPyEndAllowThreads(__tstate
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 Py_INCREF(Py_None
); resultobj
= Py_None
;
31640 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
;
31642 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31644 PyObject
* obj0
= 0 ;
31645 char *kwnames
[] = {
31646 (char *) "self", NULL
31649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31651 if (SWIG_arg_fail(1)) SWIG_fail
;
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_From_int((int)(result
));
31668 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31669 PyObject
*resultobj
;
31670 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "n", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail
;
31682 arg2
= (int)(SWIG_As_int(obj1
));
31683 if (SWIG_arg_fail(2)) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 (arg1
)->SetFilterIndex(arg2
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 Py_INCREF(Py_None
); resultobj
= Py_None
;
31699 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31702 wxTreeItemId result
;
31703 PyObject
* obj0
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31710 if (SWIG_arg_fail(1)) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 result
= (arg1
)->GetRootId();
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31719 wxTreeItemId
* resultptr
;
31720 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31729 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31730 PyObject
*resultobj
;
31731 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31732 wxPyTreeCtrl
*result
;
31733 PyObject
* obj0
= 0 ;
31734 char *kwnames
[] = {
31735 (char *) "self", NULL
31738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31740 if (SWIG_arg_fail(1)) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= wxPyMake_wxObject(result
, 0);
31757 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
;
31759 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31760 wxDirFilterListCtrl
*result
;
31761 PyObject
* obj0
= 0 ;
31762 char *kwnames
[] = {
31763 (char *) "self", NULL
31766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31768 if (SWIG_arg_fail(1)) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31783 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
;
31785 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31786 wxTreeItemId arg2
;
31787 wxString
*arg3
= 0 ;
31789 wxTreeItemId result
;
31790 bool temp3
= false ;
31793 PyObject
* obj0
= 0 ;
31794 PyObject
* obj1
= 0 ;
31795 PyObject
* obj2
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self",(char *) "parentId",(char *) "path", NULL
31800 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31803 if (SWIG_arg_fail(1)) SWIG_fail
;
31805 wxTreeItemId
* argp
;
31806 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31807 if (SWIG_arg_fail(2)) SWIG_fail
;
31808 if (argp
== NULL
) {
31809 SWIG_null_ref("wxTreeItemId");
31811 if (SWIG_arg_fail(2)) SWIG_fail
;
31815 arg3
= wxString_in_helper(obj2
);
31816 if (arg3
== NULL
) SWIG_fail
;
31820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31821 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31827 wxTreeItemId
* resultptr
;
31828 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31831 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31832 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31847 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31850 PyObject
* obj0
= 0 ;
31851 char *kwnames
[] = {
31852 (char *) "self", NULL
31855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31857 if (SWIG_arg_fail(1)) SWIG_fail
;
31859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31860 (arg1
)->DoResize();
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31865 Py_INCREF(Py_None
); resultobj
= Py_None
;
31872 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31873 PyObject
*resultobj
;
31874 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31875 PyObject
* obj0
= 0 ;
31876 char *kwnames
[] = {
31877 (char *) "self", NULL
31880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail
;
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 (arg1
)->ReCreateTree();
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 Py_INCREF(Py_None
); resultobj
= Py_None
;
31897 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31900 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31902 return Py_BuildValue((char *)"");
31904 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31905 PyObject
*resultobj
;
31906 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31907 int arg2
= (int) (int)-1 ;
31908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31912 long arg5
= (long) 0 ;
31913 wxDirFilterListCtrl
*result
;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 PyObject
* obj2
= 0 ;
31919 PyObject
* obj3
= 0 ;
31920 PyObject
* obj4
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(1)) SWIG_fail
;
31930 arg2
= (int const)(SWIG_As_int(obj1
));
31931 if (SWIG_arg_fail(2)) SWIG_fail
;
31937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31948 arg5
= (long)(SWIG_As_long(obj4
));
31949 if (SWIG_arg_fail(5)) SWIG_fail
;
31953 if (!wxPyCheckForApp()) SWIG_fail
;
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31967 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
;
31969 wxDirFilterListCtrl
*result
;
31970 char *kwnames
[] = {
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31976 if (!wxPyCheckForApp()) SWIG_fail
;
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31990 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
;
31992 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31993 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31994 int arg3
= (int) (int)-1 ;
31995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31999 long arg6
= (long) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 PyObject
* obj2
= 0 ;
32006 PyObject
* obj3
= 0 ;
32007 PyObject
* obj4
= 0 ;
32008 PyObject
* obj5
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32015 if (SWIG_arg_fail(1)) SWIG_fail
;
32016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32017 if (SWIG_arg_fail(2)) SWIG_fail
;
32020 arg3
= (int const)(SWIG_As_int(obj2
));
32021 if (SWIG_arg_fail(3)) SWIG_fail
;
32027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32038 arg6
= (long)(SWIG_As_long(obj5
));
32039 if (SWIG_arg_fail(6)) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32058 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32061 wxString
*arg2
= 0 ;
32063 bool temp2
= false ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 PyObject
* obj2
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32073 if (SWIG_arg_fail(1)) SWIG_fail
;
32075 arg2
= wxString_in_helper(obj1
);
32076 if (arg2
== NULL
) SWIG_fail
;
32080 arg3
= (int)(SWIG_As_int(obj2
));
32081 if (SWIG_arg_fail(3)) SWIG_fail
;
32084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32085 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32090 Py_INCREF(Py_None
); resultobj
= Py_None
;
32105 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32108 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32110 return Py_BuildValue((char *)"");
32112 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32113 PyObject
*resultobj
;
32114 wxWindow
*arg1
= (wxWindow
*) 0 ;
32115 int arg2
= (int) (int)-1 ;
32116 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32117 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32118 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32119 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32120 long arg5
= (long) 0 ;
32121 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32122 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32123 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32125 wxPyControl
*result
;
32128 bool temp7
= false ;
32129 PyObject
* obj0
= 0 ;
32130 PyObject
* obj1
= 0 ;
32131 PyObject
* obj2
= 0 ;
32132 PyObject
* obj3
= 0 ;
32133 PyObject
* obj4
= 0 ;
32134 PyObject
* obj5
= 0 ;
32135 PyObject
* obj6
= 0 ;
32136 char *kwnames
[] = {
32137 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32142 if (SWIG_arg_fail(1)) SWIG_fail
;
32145 arg2
= (int const)(SWIG_As_int(obj1
));
32146 if (SWIG_arg_fail(2)) SWIG_fail
;
32152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32163 arg5
= (long)(SWIG_As_long(obj4
));
32164 if (SWIG_arg_fail(5)) SWIG_fail
;
32169 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32170 if (SWIG_arg_fail(6)) SWIG_fail
;
32171 if (arg6
== NULL
) {
32172 SWIG_null_ref("wxValidator");
32174 if (SWIG_arg_fail(6)) SWIG_fail
;
32179 arg7
= wxString_in_helper(obj6
);
32180 if (arg7
== NULL
) SWIG_fail
;
32185 if (!wxPyCheckForApp()) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32207 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxPyControl
*result
;
32210 char *kwnames
[] = {
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32216 if (!wxPyCheckForApp()) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (wxPyControl
*)new wxPyControl();
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32230 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
;
32232 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32233 PyObject
*arg2
= (PyObject
*) 0 ;
32234 PyObject
*arg3
= (PyObject
*) 0 ;
32235 PyObject
* obj0
= 0 ;
32236 PyObject
* obj1
= 0 ;
32237 PyObject
* obj2
= 0 ;
32238 char *kwnames
[] = {
32239 (char *) "self",(char *) "self",(char *) "_class", NULL
32242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32244 if (SWIG_arg_fail(1)) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 Py_INCREF(Py_None
); resultobj
= Py_None
;
32261 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 char *kwnames
[] = {
32269 (char *) "self",(char *) "size", NULL
32272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32274 if (SWIG_arg_fail(1)) SWIG_fail
;
32277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 Py_INCREF(Py_None
); resultobj
= Py_None
;
32293 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32294 PyObject
*resultobj
;
32295 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32300 PyObject
* obj0
= 0 ;
32301 PyObject
* obj1
= 0 ;
32302 PyObject
* obj2
= 0 ;
32303 PyObject
* obj3
= 0 ;
32304 PyObject
* obj4
= 0 ;
32305 char *kwnames
[] = {
32306 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32311 if (SWIG_arg_fail(1)) SWIG_fail
;
32313 arg2
= (int)(SWIG_As_int(obj1
));
32314 if (SWIG_arg_fail(2)) SWIG_fail
;
32317 arg3
= (int)(SWIG_As_int(obj2
));
32318 if (SWIG_arg_fail(3)) SWIG_fail
;
32321 arg4
= (int)(SWIG_As_int(obj3
));
32322 if (SWIG_arg_fail(4)) SWIG_fail
;
32325 arg5
= (int)(SWIG_As_int(obj4
));
32326 if (SWIG_arg_fail(5)) SWIG_fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32335 Py_INCREF(Py_None
); resultobj
= Py_None
;
32342 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32343 PyObject
*resultobj
;
32344 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32349 int arg6
= (int) wxSIZE_AUTO
;
32350 PyObject
* obj0
= 0 ;
32351 PyObject
* obj1
= 0 ;
32352 PyObject
* obj2
= 0 ;
32353 PyObject
* obj3
= 0 ;
32354 PyObject
* obj4
= 0 ;
32355 PyObject
* obj5
= 0 ;
32356 char *kwnames
[] = {
32357 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32362 if (SWIG_arg_fail(1)) SWIG_fail
;
32364 arg2
= (int)(SWIG_As_int(obj1
));
32365 if (SWIG_arg_fail(2)) SWIG_fail
;
32368 arg3
= (int)(SWIG_As_int(obj2
));
32369 if (SWIG_arg_fail(3)) SWIG_fail
;
32372 arg4
= (int)(SWIG_As_int(obj3
));
32373 if (SWIG_arg_fail(4)) SWIG_fail
;
32376 arg5
= (int)(SWIG_As_int(obj4
));
32377 if (SWIG_arg_fail(5)) SWIG_fail
;
32381 arg6
= (int)(SWIG_As_int(obj5
));
32382 if (SWIG_arg_fail(6)) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32392 Py_INCREF(Py_None
); resultobj
= Py_None
;
32399 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
;
32401 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 PyObject
* obj1
= 0 ;
32406 PyObject
* obj2
= 0 ;
32407 char *kwnames
[] = {
32408 (char *) "self",(char *) "width",(char *) "height", NULL
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32413 if (SWIG_arg_fail(1)) SWIG_fail
;
32415 arg2
= (int)(SWIG_As_int(obj1
));
32416 if (SWIG_arg_fail(2)) SWIG_fail
;
32419 arg3
= (int)(SWIG_As_int(obj2
));
32420 if (SWIG_arg_fail(3)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 Py_INCREF(Py_None
); resultobj
= Py_None
;
32436 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32437 PyObject
*resultobj
;
32438 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32441 PyObject
* obj0
= 0 ;
32442 PyObject
* obj1
= 0 ;
32443 PyObject
* obj2
= 0 ;
32444 char *kwnames
[] = {
32445 (char *) "self",(char *) "x",(char *) "y", NULL
32448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32450 if (SWIG_arg_fail(1)) SWIG_fail
;
32452 arg2
= (int)(SWIG_As_int(obj1
));
32453 if (SWIG_arg_fail(2)) SWIG_fail
;
32456 arg3
= (int)(SWIG_As_int(obj2
));
32457 if (SWIG_arg_fail(3)) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 Py_INCREF(Py_None
); resultobj
= Py_None
;
32473 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32476 int *arg2
= (int *) 0 ;
32477 int *arg3
= (int *) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 char *kwnames
[] = {
32484 (char *) "self", NULL
32487 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32488 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32491 if (SWIG_arg_fail(1)) SWIG_fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 Py_INCREF(Py_None
); resultobj
= Py_None
;
32500 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32501 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32502 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32503 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32510 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32511 PyObject
*resultobj
;
32512 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32513 int *arg2
= (int *) 0 ;
32514 int *arg3
= (int *) 0 ;
32519 PyObject
* obj0
= 0 ;
32520 char *kwnames
[] = {
32521 (char *) "self", NULL
32524 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32525 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32528 if (SWIG_arg_fail(1)) SWIG_fail
;
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 Py_INCREF(Py_None
); resultobj
= Py_None
;
32537 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32538 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32539 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32540 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32547 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
;
32549 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32550 int *arg2
= (int *) 0 ;
32551 int *arg3
= (int *) 0 ;
32556 PyObject
* obj0
= 0 ;
32557 char *kwnames
[] = {
32558 (char *) "self", NULL
32561 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32562 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32565 if (SWIG_arg_fail(1)) SWIG_fail
;
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 Py_INCREF(Py_None
); resultobj
= Py_None
;
32574 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32575 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32576 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32577 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32584 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
;
32586 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32588 PyObject
* obj0
= 0 ;
32589 char *kwnames
[] = {
32590 (char *) "self", NULL
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32595 if (SWIG_arg_fail(1)) SWIG_fail
;
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32604 wxSize
* resultptr
;
32605 resultptr
= new wxSize((wxSize
&)(result
));
32606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32614 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32615 PyObject
*resultobj
;
32616 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32618 PyObject
* obj0
= 0 ;
32619 char *kwnames
[] = {
32620 (char *) "self", NULL
32623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32625 if (SWIG_arg_fail(1)) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32634 wxSize
* resultptr
;
32635 resultptr
= new wxSize((wxSize
&)(result
));
32636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32644 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32647 PyObject
* obj0
= 0 ;
32648 char *kwnames
[] = {
32649 (char *) "self", NULL
32652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32654 if (SWIG_arg_fail(1)) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 (arg1
)->base_InitDialog();
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 Py_INCREF(Py_None
); resultobj
= Py_None
;
32669 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
;
32671 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32673 PyObject
* obj0
= 0 ;
32674 char *kwnames
[] = {
32675 (char *) "self", NULL
32678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32680 if (SWIG_arg_fail(1)) SWIG_fail
;
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 result
= (bool)(arg1
)->base_TransferDataToWindow();
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32697 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32708 if (SWIG_arg_fail(1)) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32725 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
;
32727 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32729 PyObject
* obj0
= 0 ;
32730 char *kwnames
[] = {
32731 (char *) "self", NULL
32734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32736 if (SWIG_arg_fail(1)) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 result
= (bool)(arg1
)->base_Validate();
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32753 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
;
32755 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32757 PyObject
* obj0
= 0 ;
32758 char *kwnames
[] = {
32759 (char *) "self", NULL
32762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32764 if (SWIG_arg_fail(1)) SWIG_fail
;
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32781 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32785 PyObject
* obj0
= 0 ;
32786 char *kwnames
[] = {
32787 (char *) "self", NULL
32790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32792 if (SWIG_arg_fail(1)) SWIG_fail
;
32794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32795 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32797 wxPyEndAllowThreads(__tstate
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32809 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
;
32811 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32813 PyObject
* obj0
= 0 ;
32814 char *kwnames
[] = {
32815 (char *) "self", NULL
32818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32820 if (SWIG_arg_fail(1)) SWIG_fail
;
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32825 wxPyEndAllowThreads(__tstate
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32829 wxSize
* resultptr
;
32830 resultptr
= new wxSize((wxSize
&)(result
));
32831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32839 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32842 wxWindow
*arg2
= (wxWindow
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self",(char *) "child", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32851 if (SWIG_arg_fail(1)) SWIG_fail
;
32852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32853 if (SWIG_arg_fail(2)) SWIG_fail
;
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->base_AddChild(arg2
);
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32861 Py_INCREF(Py_None
); resultobj
= Py_None
;
32868 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32869 PyObject
*resultobj
;
32870 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32871 wxWindow
*arg2
= (wxWindow
*) 0 ;
32872 PyObject
* obj0
= 0 ;
32873 PyObject
* obj1
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self",(char *) "child", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32880 if (SWIG_arg_fail(1)) SWIG_fail
;
32881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32882 if (SWIG_arg_fail(2)) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 (arg1
)->base_RemoveChild(arg2
);
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 Py_INCREF(Py_None
); resultobj
= Py_None
;
32897 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32901 PyObject
* obj0
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32908 if (SWIG_arg_fail(1)) SWIG_fail
;
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32925 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
;
32927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32928 wxColour
*arg2
= 0 ;
32930 PyObject
* obj0
= 0 ;
32931 PyObject
* obj1
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "self",(char *) "c", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32938 if (SWIG_arg_fail(1)) SWIG_fail
;
32941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 Py_INCREF(Py_None
); resultobj
= Py_None
;
32957 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32960 wxVisualAttributes result
;
32961 PyObject
* obj0
= 0 ;
32962 char *kwnames
[] = {
32963 (char *) "self", NULL
32966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32968 if (SWIG_arg_fail(1)) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= (arg1
)->base_GetDefaultAttributes();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32977 wxVisualAttributes
* resultptr
;
32978 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32987 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32990 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32992 return Py_BuildValue((char *)"");
32994 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
;
32996 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32997 int arg2
= (int) 0 ;
32998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33000 wxHelpEvent
*result
;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 PyObject
* obj2
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "type",(char *) "winid",(char *) "pt", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33012 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33013 if (SWIG_arg_fail(1)) SWIG_fail
;
33018 arg2
= (int)(SWIG_As_int(obj1
));
33019 if (SWIG_arg_fail(2)) SWIG_fail
;
33025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33042 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
;
33044 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33046 PyObject
* obj0
= 0 ;
33047 char *kwnames
[] = {
33048 (char *) "self", NULL
33051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33053 if (SWIG_arg_fail(1)) SWIG_fail
;
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33062 wxPoint
* resultptr
;
33063 resultptr
= new wxPoint((wxPoint
const &)(result
));
33064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33072 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33075 wxPoint
*arg2
= 0 ;
33077 PyObject
* obj0
= 0 ;
33078 PyObject
* obj1
= 0 ;
33079 char *kwnames
[] = {
33080 (char *) "self",(char *) "pos", NULL
33083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33085 if (SWIG_arg_fail(1)) SWIG_fail
;
33088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 Py_INCREF(Py_None
); resultobj
= Py_None
;
33104 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
;
33106 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33108 PyObject
* obj0
= 0 ;
33109 char *kwnames
[] = {
33110 (char *) "self", NULL
33113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33115 if (SWIG_arg_fail(1)) SWIG_fail
;
33117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33120 result
= (wxString
*) &_result_ref
;
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33139 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
;
33141 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33142 wxString
*arg2
= 0 ;
33143 bool temp2
= false ;
33144 PyObject
* obj0
= 0 ;
33145 PyObject
* obj1
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self",(char *) "link", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33152 if (SWIG_arg_fail(1)) SWIG_fail
;
33154 arg2
= wxString_in_helper(obj1
);
33155 if (arg2
== NULL
) SWIG_fail
;
33159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33160 (arg1
)->SetLink((wxString
const &)*arg2
);
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33165 Py_INCREF(Py_None
); resultobj
= Py_None
;
33180 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33181 PyObject
*resultobj
;
33182 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33184 PyObject
* obj0
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "self", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33191 if (SWIG_arg_fail(1)) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33196 result
= (wxString
*) &_result_ref
;
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33215 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
;
33217 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33218 wxString
*arg2
= 0 ;
33219 bool temp2
= false ;
33220 PyObject
* obj0
= 0 ;
33221 PyObject
* obj1
= 0 ;
33222 char *kwnames
[] = {
33223 (char *) "self",(char *) "target", NULL
33226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33228 if (SWIG_arg_fail(1)) SWIG_fail
;
33230 arg2
= wxString_in_helper(obj1
);
33231 if (arg2
== NULL
) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 (arg1
)->SetTarget((wxString
const &)*arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 Py_INCREF(Py_None
); resultobj
= Py_None
;
33256 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33259 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33261 return Py_BuildValue((char *)"");
33263 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxWindow
*arg1
= (wxWindow
*) NULL
;
33266 bool arg2
= (bool) true ;
33267 wxContextHelp
*result
;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "window",(char *) "doNow", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33277 if (SWIG_arg_fail(1)) SWIG_fail
;
33281 arg2
= (bool)(SWIG_As_bool(obj1
));
33282 if (SWIG_arg_fail(2)) SWIG_fail
;
33286 if (!wxPyCheckForApp()) SWIG_fail
;
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33290 wxPyEndAllowThreads(__tstate
);
33291 if (PyErr_Occurred()) SWIG_fail
;
33293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33300 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33303 PyObject
* obj0
= 0 ;
33304 char *kwnames
[] = {
33305 (char *) "self", NULL
33308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33310 if (SWIG_arg_fail(1)) SWIG_fail
;
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 Py_INCREF(Py_None
); resultobj
= Py_None
;
33325 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
;
33327 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33328 wxWindow
*arg2
= (wxWindow
*) NULL
;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 char *kwnames
[] = {
33333 (char *) "self",(char *) "window", NULL
33336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33338 if (SWIG_arg_fail(1)) SWIG_fail
;
33340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33341 if (SWIG_arg_fail(2)) SWIG_fail
;
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33347 wxPyEndAllowThreads(__tstate
);
33348 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33359 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33370 if (SWIG_arg_fail(1)) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (bool)(arg1
)->EndContextHelp();
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33387 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33390 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33392 return Py_BuildValue((char *)"");
33394 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33395 PyObject
*resultobj
;
33396 wxWindow
*arg1
= (wxWindow
*) 0 ;
33397 int arg2
= (int) wxID_CONTEXT_HELP
;
33398 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33399 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33400 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33401 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33402 long arg5
= (long) wxBU_AUTODRAW
;
33403 wxContextHelpButton
*result
;
33406 PyObject
* obj0
= 0 ;
33407 PyObject
* obj1
= 0 ;
33408 PyObject
* obj2
= 0 ;
33409 PyObject
* obj3
= 0 ;
33410 PyObject
* obj4
= 0 ;
33411 char *kwnames
[] = {
33412 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33417 if (SWIG_arg_fail(1)) SWIG_fail
;
33420 arg2
= (int)(SWIG_As_int(obj1
));
33421 if (SWIG_arg_fail(2)) SWIG_fail
;
33427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33433 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33438 arg5
= (long)(SWIG_As_long(obj4
));
33439 if (SWIG_arg_fail(5)) SWIG_fail
;
33443 if (!wxPyCheckForApp()) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33457 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33460 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33462 return Py_BuildValue((char *)"");
33464 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33467 wxHelpProvider
*result
;
33468 PyObject
* obj0
= 0 ;
33469 char *kwnames
[] = {
33470 (char *) "helpProvider", NULL
33473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33475 if (SWIG_arg_fail(1)) SWIG_fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33490 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxHelpProvider
*result
;
33493 char *kwnames
[] = {
33497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33512 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33514 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33515 wxWindow
*arg2
= (wxWindow
*) 0 ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 char *kwnames
[] = {
33520 (char *) "self",(char *) "window", NULL
33523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33525 if (SWIG_arg_fail(1)) SWIG_fail
;
33526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33527 if (SWIG_arg_fail(2)) SWIG_fail
;
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33548 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
;
33550 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33551 wxWindow
*arg2
= (wxWindow
*) 0 ;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 char *kwnames
[] = {
33556 (char *) "self",(char *) "window", NULL
33559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33561 if (SWIG_arg_fail(1)) SWIG_fail
;
33562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33563 if (SWIG_arg_fail(2)) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 result
= (bool)(arg1
)->ShowHelp(arg2
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33580 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
;
33582 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33583 wxWindow
*arg2
= (wxWindow
*) 0 ;
33584 wxString
*arg3
= 0 ;
33585 bool temp3
= false ;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 PyObject
* obj2
= 0 ;
33589 char *kwnames
[] = {
33590 (char *) "self",(char *) "window",(char *) "text", NULL
33593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33595 if (SWIG_arg_fail(1)) SWIG_fail
;
33596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33597 if (SWIG_arg_fail(2)) SWIG_fail
;
33599 arg3
= wxString_in_helper(obj2
);
33600 if (arg3
== NULL
) SWIG_fail
;
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33605 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 Py_INCREF(Py_None
); resultobj
= Py_None
;
33625 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
;
33627 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33629 wxString
*arg3
= 0 ;
33630 bool temp3
= false ;
33631 PyObject
* obj0
= 0 ;
33632 PyObject
* obj1
= 0 ;
33633 PyObject
* obj2
= 0 ;
33634 char *kwnames
[] = {
33635 (char *) "self",(char *) "id",(char *) "text", NULL
33638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33640 if (SWIG_arg_fail(1)) SWIG_fail
;
33642 arg2
= (int)(SWIG_As_int(obj1
));
33643 if (SWIG_arg_fail(2)) SWIG_fail
;
33646 arg3
= wxString_in_helper(obj2
);
33647 if (arg3
== NULL
) SWIG_fail
;
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 Py_INCREF(Py_None
); resultobj
= Py_None
;
33672 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
;
33674 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33675 wxWindow
*arg2
= (wxWindow
*) 0 ;
33676 PyObject
* obj0
= 0 ;
33677 PyObject
* obj1
= 0 ;
33678 char *kwnames
[] = {
33679 (char *) "self",(char *) "window", NULL
33682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33684 if (SWIG_arg_fail(1)) SWIG_fail
;
33685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33686 if (SWIG_arg_fail(2)) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 (arg1
)->RemoveHelp(arg2
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 Py_INCREF(Py_None
); resultobj
= Py_None
;
33701 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
;
33703 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33704 PyObject
* obj0
= 0 ;
33705 char *kwnames
[] = {
33706 (char *) "self", NULL
33709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33711 if (SWIG_arg_fail(1)) SWIG_fail
;
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 wxHelpProvider_Destroy(arg1
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 Py_INCREF(Py_None
); resultobj
= Py_None
;
33726 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33729 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33731 return Py_BuildValue((char *)"");
33733 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33735 wxSimpleHelpProvider
*result
;
33736 char *kwnames
[] = {
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33755 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33758 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33760 return Py_BuildValue((char *)"");
33762 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33763 PyObject
*resultobj
;
33764 wxBitmap
*arg1
= 0 ;
33765 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33766 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33767 wxGenericDragImage
*result
;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 char *kwnames
[] = {
33771 (char *) "image",(char *) "cursor", NULL
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33777 if (SWIG_arg_fail(1)) SWIG_fail
;
33778 if (arg1
== NULL
) {
33779 SWIG_null_ref("wxBitmap");
33781 if (SWIG_arg_fail(1)) SWIG_fail
;
33785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33786 if (SWIG_arg_fail(2)) SWIG_fail
;
33787 if (arg2
== NULL
) {
33788 SWIG_null_ref("wxCursor");
33790 if (SWIG_arg_fail(2)) SWIG_fail
;
33794 if (!wxPyCheckForApp()) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33808 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33809 PyObject
*resultobj
;
33811 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33812 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33813 wxGenericDragImage
*result
;
33814 PyObject
* obj0
= 0 ;
33815 PyObject
* obj1
= 0 ;
33816 char *kwnames
[] = {
33817 (char *) "image",(char *) "cursor", NULL
33820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33823 if (SWIG_arg_fail(1)) SWIG_fail
;
33824 if (arg1
== NULL
) {
33825 SWIG_null_ref("wxIcon");
33827 if (SWIG_arg_fail(1)) SWIG_fail
;
33831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33832 if (SWIG_arg_fail(2)) SWIG_fail
;
33833 if (arg2
== NULL
) {
33834 SWIG_null_ref("wxCursor");
33836 if (SWIG_arg_fail(2)) SWIG_fail
;
33840 if (!wxPyCheckForApp()) SWIG_fail
;
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33854 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33855 PyObject
*resultobj
;
33856 wxString
*arg1
= 0 ;
33857 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33858 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33859 wxGenericDragImage
*result
;
33860 bool temp1
= false ;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "str",(char *) "cursor", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33869 arg1
= wxString_in_helper(obj0
);
33870 if (arg1
== NULL
) SWIG_fail
;
33875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33876 if (SWIG_arg_fail(2)) SWIG_fail
;
33877 if (arg2
== NULL
) {
33878 SWIG_null_ref("wxCursor");
33880 if (SWIG_arg_fail(2)) SWIG_fail
;
33884 if (!wxPyCheckForApp()) SWIG_fail
;
33885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33886 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33906 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
;
33908 wxPyTreeCtrl
*arg1
= 0 ;
33909 wxTreeItemId
*arg2
= 0 ;
33910 wxGenericDragImage
*result
;
33911 PyObject
* obj0
= 0 ;
33912 PyObject
* obj1
= 0 ;
33913 char *kwnames
[] = {
33914 (char *) "treeCtrl",(char *) "id", NULL
33917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33920 if (SWIG_arg_fail(1)) SWIG_fail
;
33921 if (arg1
== NULL
) {
33922 SWIG_null_ref("wxPyTreeCtrl");
33924 if (SWIG_arg_fail(1)) SWIG_fail
;
33927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33928 if (SWIG_arg_fail(2)) SWIG_fail
;
33929 if (arg2
== NULL
) {
33930 SWIG_null_ref("wxTreeItemId");
33932 if (SWIG_arg_fail(2)) SWIG_fail
;
33935 if (!wxPyCheckForApp()) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33949 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxPyListCtrl
*arg1
= 0 ;
33953 wxGenericDragImage
*result
;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 char *kwnames
[] = {
33957 (char *) "listCtrl",(char *) "id", NULL
33960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(1)) SWIG_fail
;
33964 if (arg1
== NULL
) {
33965 SWIG_null_ref("wxPyListCtrl");
33967 if (SWIG_arg_fail(1)) SWIG_fail
;
33970 arg2
= (long)(SWIG_As_long(obj1
));
33971 if (SWIG_arg_fail(2)) SWIG_fail
;
33974 if (!wxPyCheckForApp()) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33988 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33989 PyObject
*resultobj
;
33990 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33991 PyObject
* obj0
= 0 ;
33992 char *kwnames
[] = {
33993 (char *) "self", NULL
33996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33998 if (SWIG_arg_fail(1)) SWIG_fail
;
34000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 wxPyEndAllowThreads(__tstate
);
34004 if (PyErr_Occurred()) SWIG_fail
;
34006 Py_INCREF(Py_None
); resultobj
= Py_None
;
34013 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34014 PyObject
*resultobj
;
34015 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34016 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34017 PyObject
* obj0
= 0 ;
34018 PyObject
* obj1
= 0 ;
34019 char *kwnames
[] = {
34020 (char *) "self",(char *) "bitmap", NULL
34023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34025 if (SWIG_arg_fail(1)) SWIG_fail
;
34026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34027 if (SWIG_arg_fail(2)) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 (arg1
)->SetBackingBitmap(arg2
);
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34035 Py_INCREF(Py_None
); resultobj
= Py_None
;
34042 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34043 PyObject
*resultobj
;
34044 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34045 wxPoint
*arg2
= 0 ;
34046 wxWindow
*arg3
= (wxWindow
*) 0 ;
34047 bool arg4
= (bool) false ;
34048 wxRect
*arg5
= (wxRect
*) NULL
;
34051 PyObject
* obj0
= 0 ;
34052 PyObject
* obj1
= 0 ;
34053 PyObject
* obj2
= 0 ;
34054 PyObject
* obj3
= 0 ;
34055 PyObject
* obj4
= 0 ;
34056 char *kwnames
[] = {
34057 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34062 if (SWIG_arg_fail(1)) SWIG_fail
;
34065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34067 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34068 if (SWIG_arg_fail(3)) SWIG_fail
;
34071 arg4
= (bool)(SWIG_As_bool(obj3
));
34072 if (SWIG_arg_fail(4)) SWIG_fail
;
34076 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34077 if (SWIG_arg_fail(5)) SWIG_fail
;
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34095 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34096 PyObject
*resultobj
;
34097 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34098 wxPoint
*arg2
= 0 ;
34099 wxWindow
*arg3
= (wxWindow
*) 0 ;
34100 wxWindow
*arg4
= (wxWindow
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 PyObject
* obj2
= 0 ;
34106 PyObject
* obj3
= 0 ;
34107 char *kwnames
[] = {
34108 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34113 if (SWIG_arg_fail(1)) SWIG_fail
;
34116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34118 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34119 if (SWIG_arg_fail(3)) SWIG_fail
;
34120 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34121 if (SWIG_arg_fail(4)) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34138 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
;
34140 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34142 PyObject
* obj0
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "self", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34149 if (SWIG_arg_fail(1)) SWIG_fail
;
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 result
= (bool)(arg1
)->EndDrag();
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34166 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34169 wxPoint
*arg2
= 0 ;
34172 PyObject
* obj0
= 0 ;
34173 PyObject
* obj1
= 0 ;
34174 char *kwnames
[] = {
34175 (char *) "self",(char *) "pt", NULL
34178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34180 if (SWIG_arg_fail(1)) SWIG_fail
;
34183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34189 wxPyEndAllowThreads(__tstate
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34201 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34212 if (SWIG_arg_fail(1)) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (bool)(arg1
)->Show();
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34229 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
;
34231 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34233 PyObject
* obj0
= 0 ;
34234 char *kwnames
[] = {
34235 (char *) "self", NULL
34238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34240 if (SWIG_arg_fail(1)) SWIG_fail
;
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= (bool)(arg1
)->Hide();
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34257 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34258 PyObject
*resultobj
;
34259 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34260 wxPoint
*arg2
= 0 ;
34263 PyObject
* obj0
= 0 ;
34264 PyObject
* obj1
= 0 ;
34265 char *kwnames
[] = {
34266 (char *) "self",(char *) "pos", NULL
34269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34271 if (SWIG_arg_fail(1)) SWIG_fail
;
34274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34284 wxRect
* resultptr
;
34285 resultptr
= new wxRect((wxRect
&)(result
));
34286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34294 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34298 wxPoint
*arg3
= 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 PyObject
* obj2
= 0 ;
34304 char *kwnames
[] = {
34305 (char *) "self",(char *) "dc",(char *) "pos", NULL
34308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34310 if (SWIG_arg_fail(1)) SWIG_fail
;
34312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34313 if (SWIG_arg_fail(2)) SWIG_fail
;
34314 if (arg2
== NULL
) {
34315 SWIG_null_ref("wxDC");
34317 if (SWIG_arg_fail(2)) SWIG_fail
;
34321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34339 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
;
34341 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34343 wxMemoryDC
*arg3
= 0 ;
34349 PyObject
* obj0
= 0 ;
34350 PyObject
* obj1
= 0 ;
34351 PyObject
* obj2
= 0 ;
34352 PyObject
* obj3
= 0 ;
34353 PyObject
* obj4
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34363 if (SWIG_arg_fail(2)) SWIG_fail
;
34364 if (arg2
== NULL
) {
34365 SWIG_null_ref("wxDC");
34367 if (SWIG_arg_fail(2)) SWIG_fail
;
34370 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34371 if (SWIG_arg_fail(3)) SWIG_fail
;
34372 if (arg3
== NULL
) {
34373 SWIG_null_ref("wxMemoryDC");
34375 if (SWIG_arg_fail(3)) SWIG_fail
;
34379 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34383 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34401 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34404 wxPoint
*arg2
= 0 ;
34405 wxPoint
*arg3
= 0 ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 PyObject
* obj2
= 0 ;
34414 PyObject
* obj3
= 0 ;
34415 PyObject
* obj4
= 0 ;
34416 char *kwnames
[] = {
34417 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34422 if (SWIG_arg_fail(1)) SWIG_fail
;
34425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34432 arg4
= (bool)(SWIG_As_bool(obj3
));
34433 if (SWIG_arg_fail(4)) SWIG_fail
;
34436 arg5
= (bool)(SWIG_As_bool(obj4
));
34437 if (SWIG_arg_fail(5)) SWIG_fail
;
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34455 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34458 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34460 return Py_BuildValue((char *)"");
34462 static PyMethodDef SwigMethods
[] = {
34463 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34470 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34485 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34497 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34505 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34535 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34549 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34554 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34561 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34566 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34574 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34597 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34605 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34636 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34692 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34697 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34709 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34722 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34734 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34738 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
34756 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
34763 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
34789 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
34797 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
34819 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
34825 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
34836 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
34838 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
34844 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
34846 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
34852 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
34859 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
34864 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
34894 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
34939 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
34945 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
34957 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35009 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35036 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35107 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35119 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35127 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35134 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35150 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35226 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35248 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35253 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35279 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35287 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35292 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35294 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35303 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35305 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35323 { NULL
, NULL
, 0, NULL
}
35327 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35329 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35330 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35332 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35333 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35335 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35336 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35338 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35339 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35341 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35342 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35344 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35345 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35347 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35348 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35350 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35351 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35353 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35354 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35356 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35357 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35359 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35360 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35362 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35363 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35365 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35366 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35368 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35369 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35371 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35372 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35374 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35375 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35377 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35378 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35380 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35381 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35383 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35384 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35386 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35387 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35389 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35390 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35392 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35395 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35396 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35398 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35399 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35401 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35402 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35404 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35405 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35407 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35408 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35410 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35411 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35413 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35416 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35417 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35419 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35420 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35422 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35423 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35425 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35426 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35428 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35429 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35431 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35432 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35434 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35435 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35437 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35438 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35440 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35441 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35443 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35444 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35446 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35447 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35449 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35450 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35452 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35453 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35455 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35456 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35458 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35459 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35461 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35462 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35464 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35465 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35467 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35468 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35470 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35471 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35473 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35476 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35477 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35479 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35480 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35482 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35483 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35485 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35486 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35488 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35489 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35491 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35492 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35494 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35495 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35497 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35498 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35500 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35501 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35503 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35504 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35506 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35507 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35509 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35510 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35512 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35513 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35515 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35516 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35518 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35519 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35521 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35522 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35524 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35525 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35527 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35528 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35530 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35531 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35533 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35534 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35536 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35537 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35539 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35540 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35542 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35543 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35545 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35546 return (void *)((wxControl
*) ((wxGauge
*) x
));
35548 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35549 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35551 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35552 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35554 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35555 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35557 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35558 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35560 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35561 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35563 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35564 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35566 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35567 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35569 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35570 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35572 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35573 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35575 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35576 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35578 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35579 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35581 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35582 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35584 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35585 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35587 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35588 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35590 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35591 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35593 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35594 return (void *)((wxControl
*) ((wxSlider
*) x
));
35596 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35597 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35599 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35600 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35602 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35603 return (void *)((wxControl
*) ((wxButton
*) x
));
35605 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35606 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35608 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35609 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35611 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35612 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35614 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35615 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35617 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35618 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35620 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35621 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35623 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35624 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35626 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35627 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35629 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35630 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35632 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35633 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35635 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35636 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35638 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35639 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35641 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35642 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35644 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35645 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35647 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35648 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35650 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35653 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35654 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35656 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35657 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35659 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35662 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35663 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35665 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35668 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35671 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35672 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35674 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35677 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35680 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35683 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35686 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35689 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35692 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35693 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35695 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35698 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35701 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35704 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35707 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35710 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35713 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35716 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35719 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35722 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35725 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35728 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35731 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35734 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35737 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35740 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35743 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
35744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35746 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
35747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
35749 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
35750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35752 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
35753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35755 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
35756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35758 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
35759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35761 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
35762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35764 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
35765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35767 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
35768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35770 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
35771 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
35773 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
35774 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
35776 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
35777 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35779 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
35780 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35782 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
35783 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
35785 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35786 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35788 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35789 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35791 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35792 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35794 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35797 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35798 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35800 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
35801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35803 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35804 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35806 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35807 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35809 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35810 return (void *)((wxObject
*) ((wxSizer
*) x
));
35812 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35813 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35815 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
35816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35818 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
35819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35821 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35824 static void *_p_wxEventTo_p_wxObject(void *x
) {
35825 return (void *)((wxObject
*) ((wxEvent
*) x
));
35827 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35828 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35830 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35831 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35833 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35834 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35836 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
35837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35839 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
35840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35842 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
35843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35845 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35846 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35848 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35849 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35851 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35852 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35854 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35855 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35857 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35858 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35860 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35861 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35863 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
35864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35866 static void *_p_wxControlTo_p_wxObject(void *x
) {
35867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35869 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
35870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35872 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
35873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35875 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
35876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35878 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
35879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35881 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
35882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35884 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35885 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35887 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
35888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35890 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35891 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35893 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35894 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35896 static void *_p_wxListViewTo_p_wxObject(void *x
) {
35897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35899 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
35900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35902 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
35903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35905 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35906 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35908 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35911 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
35912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35914 static void *_p_wxListbookTo_p_wxObject(void *x
) {
35915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35917 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35918 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35920 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
35921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35923 static void *_p_wxSliderTo_p_wxObject(void *x
) {
35924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35926 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35927 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35929 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35930 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35932 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35935 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35936 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35938 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35939 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35941 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35942 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35944 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35945 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35947 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35948 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35950 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35951 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35953 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
35954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35956 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
35957 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
35959 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
35960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35962 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35965 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35966 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35968 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35971 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35974 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35975 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35977 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35978 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35980 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35981 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35983 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35984 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35986 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35987 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35989 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35992 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35993 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35995 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35998 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35999 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36001 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36004 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36007 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36010 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36013 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36016 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36019 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36022 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36023 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36025 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36026 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36028 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36031 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36034 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36037 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36040 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36041 return (void *)((wxObject
*) ((wxListItem
*) x
));
36043 static void *_p_wxImageTo_p_wxObject(void *x
) {
36044 return (void *)((wxObject
*) ((wxImage
*) x
));
36046 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36047 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36049 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36050 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36052 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36055 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36056 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36058 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36061 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36064 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36067 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36070 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36071 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36073 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36074 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36076 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36077 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36079 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36080 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36082 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36083 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36085 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36088 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36089 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36091 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36094 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36095 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36097 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36098 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36100 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36101 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36103 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36104 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36106 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36107 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36109 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36112 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36115 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36118 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36119 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36121 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36124 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36125 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36127 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36128 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36130 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36133 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36136 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36137 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36139 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36142 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36145 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36148 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36149 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36151 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36152 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36154 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36155 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36157 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36158 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36160 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36161 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36163 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36164 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36166 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36167 return (void *)((wxWindow
*) ((wxControl
*) x
));
36169 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36170 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36172 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36173 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36175 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36176 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36178 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36179 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36181 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36182 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36184 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36185 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36187 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36188 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36190 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36191 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36193 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36194 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36196 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36197 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36199 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36200 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36202 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36203 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36205 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36206 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36208 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36209 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36211 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36212 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36214 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36215 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36217 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36218 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36220 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36221 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36223 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36224 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36226 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36227 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36229 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36230 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36232 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36233 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36235 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36236 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36238 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36239 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36241 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36242 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36244 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36245 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36247 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36248 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36250 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36251 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36253 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36254 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36256 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36257 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36259 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36260 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36262 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36263 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36265 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36266 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36268 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36269 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36271 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36272 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36274 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36275 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36277 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36278 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36280 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36281 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36283 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36284 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36286 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36287 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36289 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36290 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36292 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36293 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36295 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36296 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36298 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36299 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36301 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36302 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36304 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36305 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36307 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36308 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36310 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36311 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36313 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36314 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36316 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36317 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36319 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36320 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36322 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36323 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36325 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36326 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36328 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36329 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36331 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36332 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36334 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}};
36335 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}};
36336 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}};
36337 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}};
36338 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}};
36339 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}};
36340 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}};
36341 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}};
36342 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}};
36343 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}};
36344 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}};
36345 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}};
36346 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}};
36347 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}};
36348 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}};
36349 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}};
36350 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}};
36351 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}};
36352 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}};
36353 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 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}};
36354 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}};
36355 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}};
36356 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}};
36357 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}};
36358 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}};
36359 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}};
36360 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}};
36361 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}};
36362 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}};
36363 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}};
36364 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}};
36365 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}};
36366 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}};
36367 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}};
36368 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}};
36369 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}};
36370 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}};
36371 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}};
36372 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}};
36373 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}};
36374 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}};
36375 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}};
36376 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}};
36377 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}};
36378 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}};
36379 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}};
36380 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}};
36381 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}};
36382 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}};
36383 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}};
36384 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}};
36385 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}};
36386 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}};
36387 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}};
36388 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}};
36389 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}};
36390 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}};
36391 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}};
36392 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}};
36393 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}};
36394 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}};
36395 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}};
36396 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}};
36397 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}};
36398 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}};
36399 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}};
36400 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}};
36401 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}};
36402 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}};
36403 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}};
36404 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}};
36405 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}};
36406 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}};
36407 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}};
36408 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}};
36409 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}};
36410 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}};
36411 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}};
36412 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}};
36413 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}};
36414 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}};
36415 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}};
36416 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}};
36417 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}};
36418 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}};
36419 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}};
36420 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}};
36421 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}};
36422 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}};
36423 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}};
36424 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 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}};
36425 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}};
36426 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}};
36427 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}};
36428 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}};
36429 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}};
36431 static swig_type_info
*swig_types_initial
[] = {
36432 _swigt__p_wxTextUrlEvent
,
36434 _swigt__p_wxCheckBox
,
36435 _swigt__p_wxPyTreeCtrl
,
36437 _swigt__p_wxGenericDirCtrl
,
36439 _swigt__p_wxItemContainer
,
36440 _swigt__p_wxPyListCtrl
,
36441 _swigt__p_wxPyTreeItemData
,
36442 _swigt__p_wxDirFilterListCtrl
,
36443 _swigt__p_wxStaticLine
,
36444 _swigt__p_wxControl
,
36445 _swigt__p_wxPyControl
,
36447 _swigt__p_wxToolBarBase
,
36449 _swigt__p_wxToggleButton
,
36450 _swigt__p_wxRadioButton
,
36451 _swigt__p_wxChoice
,
36452 _swigt__p_wxMemoryDC
,
36454 _swigt__std__ptrdiff_t
,
36455 _swigt__p_wxListItemAttr
,
36460 _swigt__p_wxListView
,
36462 _swigt__p_wxVisualAttributes
,
36463 _swigt__p_wxTextCtrl
,
36464 _swigt__p_wxNotebook
,
36465 _swigt__p_wxChoicebook
,
36466 _swigt__p_wxNotifyEvent
,
36467 _swigt__p_wxArrayString
,
36468 _swigt__p_form_ops_t
,
36469 _swigt__p_wxListbook
,
36470 _swigt__p_wxStaticBitmap
,
36471 _swigt__p_wxSlider
,
36472 _swigt__p_wxStaticBox
,
36473 _swigt__p_wxArrayInt
,
36474 _swigt__p_wxContextHelp
,
36476 _swigt__p_wxDuplexMode
,
36477 _swigt__p_wxBookCtrlBase
,
36478 _swigt__p_wxEvtHandler
,
36479 _swigt__p_wxListEvent
,
36480 _swigt__p_wxCheckListBox
,
36481 _swigt__p_wxListBox
,
36482 _swigt__p_wxSpinButton
,
36483 _swigt__p_wxButton
,
36484 _swigt__p_wxBitmapButton
,
36486 _swigt__p_wxContextHelpButton
,
36487 _swigt__p_wxRadioBox
,
36488 _swigt__p_wxScrollBar
,
36490 _swigt__p_wxComboBox
,
36491 _swigt__p_wxTreeItemId
,
36492 _swigt__p_wxHelpEvent
,
36493 _swigt__p_wxListItem
,
36494 _swigt__p_wxNotebookSizer
,
36495 _swigt__p_wxSpinEvent
,
36496 _swigt__p_wxGenericDragImage
,
36497 _swigt__p_wxSpinCtrl
,
36498 _swigt__p_wxPaperSize
,
36499 _swigt__p_wxImageList
,
36500 _swigt__p_wxHelpProvider
,
36501 _swigt__p_wxTextAttr
,
36502 _swigt__p_wxSimpleHelpProvider
,
36503 _swigt__p_wxChoicebookEvent
,
36504 _swigt__p_wxListbookEvent
,
36505 _swigt__p_wxNotebookEvent
,
36507 _swigt__p_wxObject
,
36508 _swigt__p_wxCursor
,
36509 _swigt__p_wxKeyEvent
,
36510 _swigt__p_unsigned_long
,
36511 _swigt__p_wxWindow
,
36512 _swigt__p_wxString
,
36513 _swigt__p_wxBitmap
,
36514 _swigt__unsigned_int
,
36515 _swigt__p_unsigned_int
,
36516 _swigt__p_unsigned_char
,
36517 _swigt__p_wxMouseEvent
,
36518 _swigt__p_wxBookCtrlBaseEvent
,
36519 _swigt__p_wxTreeEvent
,
36520 _swigt__p_wxCommandEvent
,
36521 _swigt__p_wxStaticText
,
36522 _swigt__p_wxControlWithItems
,
36523 _swigt__p_wxToolBarToolBase
,
36524 _swigt__p_wxColour
,
36525 _swigt__p_wxToolBar
,
36526 _swigt__p_wxBookCtrlSizer
,
36527 _swigt__p_wxValidator
,
36532 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36534 static swig_const_info swig_const_table
[] = {
36535 {0, 0, 0, 0.0, 0, 0}};
36546 /* Python-specific SWIG API */
36547 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36548 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36549 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36551 /* -----------------------------------------------------------------------------
36552 * global variable support code.
36553 * ----------------------------------------------------------------------------- */
36555 typedef struct swig_globalvar
{
36556 char *name
; /* Name of global variable */
36557 PyObject
*(*get_attr
)(); /* Return the current value */
36558 int (*set_attr
)(PyObject
*); /* Set the value */
36559 struct swig_globalvar
*next
;
36562 typedef struct swig_varlinkobject
{
36564 swig_globalvar
*vars
;
36565 } swig_varlinkobject
;
36568 swig_varlink_repr(swig_varlinkobject
*v
) {
36570 return PyString_FromString("<Swig global variables>");
36574 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36575 swig_globalvar
*var
;
36577 fprintf(fp
,"Swig global variables { ");
36578 for (var
= v
->vars
; var
; var
=var
->next
) {
36579 fprintf(fp
,"%s", var
->name
);
36580 if (var
->next
) fprintf(fp
,", ");
36582 fprintf(fp
," }\n");
36587 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36588 swig_globalvar
*var
= v
->vars
;
36590 if (strcmp(var
->name
,n
) == 0) {
36591 return (*var
->get_attr
)();
36595 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36600 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36601 swig_globalvar
*var
= v
->vars
;
36603 if (strcmp(var
->name
,n
) == 0) {
36604 return (*var
->set_attr
)(p
);
36608 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36612 static PyTypeObject varlinktype
= {
36613 PyObject_HEAD_INIT(0)
36614 0, /* Number of items in variable part (ob_size) */
36615 (char *)"swigvarlink", /* Type name (tp_name) */
36616 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36617 0, /* Itemsize (tp_itemsize) */
36618 0, /* Deallocator (tp_dealloc) */
36619 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36620 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36621 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36622 0, /* tp_compare */
36623 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36624 0, /* tp_as_number */
36625 0, /* tp_as_sequence */
36626 0, /* tp_as_mapping */
36630 0, /* tp_getattro */
36631 0, /* tp_setattro */
36632 0, /* tp_as_buffer */
36635 #if PY_VERSION_HEX >= 0x02000000
36636 0, /* tp_traverse */
36639 #if PY_VERSION_HEX >= 0x02010000
36640 0, /* tp_richcompare */
36641 0, /* tp_weaklistoffset */
36643 #if PY_VERSION_HEX >= 0x02020000
36644 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36646 #if PY_VERSION_HEX >= 0x02030000
36649 #ifdef COUNT_ALLOCS
36650 0,0,0,0 /* tp_alloc -> tp_next */
36654 /* Create a variable linking object for use later */
36656 SWIG_Python_newvarlink(void) {
36657 swig_varlinkobject
*result
= 0;
36658 result
= PyMem_NEW(swig_varlinkobject
,1);
36659 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36660 result
->ob_type
= &varlinktype
;
36662 result
->ob_refcnt
= 0;
36663 Py_XINCREF((PyObject
*) result
);
36664 return ((PyObject
*) result
);
36668 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36669 swig_varlinkobject
*v
;
36670 swig_globalvar
*gv
;
36671 v
= (swig_varlinkobject
*) p
;
36672 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36673 gv
->name
= (char *) malloc(strlen(name
)+1);
36674 strcpy(gv
->name
,name
);
36675 gv
->get_attr
= get_attr
;
36676 gv
->set_attr
= set_attr
;
36677 gv
->next
= v
->vars
;
36681 /* -----------------------------------------------------------------------------
36682 * constants/methods manipulation
36683 * ----------------------------------------------------------------------------- */
36685 /* Install Constants */
36687 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36690 for (i
= 0; constants
[i
].type
; i
++) {
36691 switch(constants
[i
].type
) {
36693 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36695 case SWIG_PY_FLOAT
:
36696 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36698 case SWIG_PY_STRING
:
36699 if (constants
[i
].pvalue
) {
36700 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36702 Py_INCREF(Py_None
);
36706 case SWIG_PY_POINTER
:
36707 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36709 case SWIG_PY_BINARY
:
36710 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36717 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36723 /* -----------------------------------------------------------------------------*/
36724 /* Fix SwigMethods to carry the callback ptrs when needed */
36725 /* -----------------------------------------------------------------------------*/
36728 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36729 swig_const_info
*const_table
,
36730 swig_type_info
**types
,
36731 swig_type_info
**types_initial
) {
36733 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36734 char *c
= methods
[i
].ml_doc
;
36735 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36737 swig_const_info
*ci
= 0;
36738 char *name
= c
+ 10;
36739 for (j
= 0; const_table
[j
].type
; j
++) {
36740 if (strncmp(const_table
[j
].name
, name
,
36741 strlen(const_table
[j
].name
)) == 0) {
36742 ci
= &(const_table
[j
]);
36747 size_t shift
= (ci
->ptype
) - types
;
36748 swig_type_info
*ty
= types_initial
[shift
];
36749 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36750 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36751 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36753 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
36754 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36756 strncpy(buff
, "swig_ptr: ", 10);
36758 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36759 methods
[i
].ml_doc
= ndoc
;
36765 /* -----------------------------------------------------------------------------*
36766 * Initialize type list
36767 * -----------------------------------------------------------------------------*/
36769 #if PY_MAJOR_VERSION < 2
36770 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36771 is copied out of Python/modsupport.c in python version 2.3.4 */
36773 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
36776 if (!PyModule_Check(m
)) {
36777 PyErr_SetString(PyExc_TypeError
,
36778 "PyModule_AddObject() needs module as first arg");
36782 PyErr_SetString(PyExc_TypeError
,
36783 "PyModule_AddObject() needs non-NULL value");
36787 dict
= PyModule_GetDict(m
);
36788 if (dict
== NULL
) {
36789 /* Internal error -- modules must have a dict! */
36790 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
36791 PyModule_GetName(m
));
36794 if (PyDict_SetItemString(dict
, name
, o
))
36801 static swig_type_info
**
36802 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
36803 static PyMethodDef swig_empty_runtime_method_table
[] = {
36805 NULL
, NULL
, 0, NULL
36809 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
36810 swig_empty_runtime_method_table
);
36811 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
36812 if (pointer
&& module) {
36813 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
36815 return type_list_handle
;
36818 static swig_type_info
**
36819 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
36820 swig_type_info
**type_pointer
;
36822 /* first check if module already created */
36823 type_pointer
= SWIG_Python_GetTypeListHandle();
36824 if (type_pointer
) {
36825 return type_pointer
;
36827 /* create a new module and variable */
36828 return SWIG_Python_SetTypeListHandle(type_list_handle
);
36836 /* -----------------------------------------------------------------------------*
36837 * Partial Init method
36838 * -----------------------------------------------------------------------------*/
36840 #ifdef SWIG_LINK_RUNTIME
36844 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36850 SWIGEXPORT(void) SWIG_init(void) {
36851 static PyObject
*SWIG_globals
= 0;
36852 static int typeinit
= 0;
36855 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
36857 /* Fix SwigMethods to carry the callback ptrs when needed */
36858 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
36860 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36861 d
= PyModule_GetDict(m
);
36864 #ifdef SWIG_LINK_RUNTIME
36865 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
36867 # ifndef SWIG_STATIC_RUNTIME
36868 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
36871 for (i
= 0; swig_types_initial
[i
]; i
++) {
36872 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
36876 SWIG_InstallConstants(d
,swig_const_table
);
36878 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
36879 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
36881 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
36884 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
36887 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
36890 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
36893 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
36896 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
36899 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
36901 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
36903 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
36906 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
36909 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
36912 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
36915 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
36918 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
36920 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
36921 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
36922 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
36924 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
36927 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
36930 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
36933 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
36935 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
36936 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
36937 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
36938 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
36939 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
36941 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
36944 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
36947 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
36950 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
36953 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
36956 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
36959 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
36962 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
36965 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
36968 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
36971 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
36974 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
36977 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
36980 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
36983 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
36986 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
36989 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
36992 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
36995 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
36998 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37001 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37004 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37007 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37010 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37013 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37016 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37019 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37022 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37025 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37028 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37031 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37034 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37037 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37040 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37043 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37046 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37049 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37052 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37055 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37058 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37061 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37064 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37067 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37069 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37070 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37073 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37074 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37075 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37077 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37080 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37083 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37086 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37088 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37089 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37090 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37091 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37093 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37096 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37099 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37102 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37105 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37108 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37111 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37114 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37117 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37120 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37123 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37125 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37126 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37127 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37129 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37132 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37135 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37138 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37141 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37144 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37147 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37150 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37153 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37156 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37159 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37161 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37162 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37164 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37167 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37170 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37173 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37176 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37179 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37184 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37187 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37190 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37193 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37196 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37199 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37201 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37202 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37204 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37207 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37210 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37213 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37216 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37219 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37222 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37225 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37228 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37231 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37234 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37237 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37240 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37243 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37245 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37247 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37250 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37253 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37256 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37259 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37262 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37265 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37268 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37271 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37274 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37277 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37280 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37283 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37286 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37289 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37292 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37295 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37298 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37301 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37304 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37307 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37310 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37313 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37316 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37319 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37322 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37325 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37328 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37331 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37334 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37337 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37340 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37343 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37346 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37349 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37352 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37355 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37358 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37361 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37364 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37367 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37370 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37373 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37376 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37379 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37382 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37385 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37388 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37391 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37394 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37397 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37400 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37403 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37406 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37409 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37412 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37415 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37418 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37421 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37424 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37427 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37430 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37433 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37436 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37439 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37442 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37445 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37448 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37450 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37451 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37452 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37453 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37454 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37455 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37456 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37457 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37458 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37459 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37460 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37461 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37462 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37463 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37464 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37465 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37468 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37469 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37470 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37473 // Map renamed classes back to their common name for OOR
37474 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37476 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37478 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37481 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37484 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37487 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37490 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37493 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37496 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37499 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37502 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37505 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37508 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37511 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37514 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37517 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37520 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37523 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37526 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37529 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37532 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37535 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37538 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37541 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37544 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37547 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37550 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37553 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37556 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37559 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37562 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37565 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37568 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37571 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37574 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37577 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37580 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37582 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37585 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37586 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37587 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37588 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37589 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37590 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37591 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37592 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37593 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37594 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37595 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37596 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37597 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37598 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37599 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37604 // Map renamed classes back to their common name for OOR
37605 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37606 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37608 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37610 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37613 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37616 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37619 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37622 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37625 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37628 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37630 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37631 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37633 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");