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
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 bool blocked
= wxPyBeginBlockThreads();
1834 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1835 PyObject
* result
= PyEval_CallObject(func
, args
);
1838 retval
= PyInt_AsLong(result
);
1842 wxPyEndBlockThreads(blocked
);
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl
: public wxListCtrl
{
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1855 const wxValidator
& validator
,
1856 const wxString
& name
) :
1857 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1859 bool Create(wxWindow
* parent
, wxWindowID id
,
1863 const wxValidator
& validator
,
1864 const wxString
& name
) {
1865 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1884 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1886 item
.SetMask( wxLIST_MASK_STATE
|
1894 if (self
->GetColumn(col
, item
))
1895 return new wxListItem(item
);
1899 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1900 wxListItem
* info
= new wxListItem
;
1901 info
->m_itemId
= itemId
;
1903 info
->m_mask
= 0xFFFF;
1904 self
->GetItem(*info
);
1907 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1909 self
->GetItemPosition(item
, pos
);
1912 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1914 self
->GetItemRect(item
, rect
, code
);
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1919 if (!PyCallable_Check(func
))
1921 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1923 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
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
);
2196 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2198 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2199 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2200 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2201 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2203 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2204 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2207 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2208 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2210 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2211 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2212 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2215 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2216 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2217 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2219 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2220 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2223 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2224 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2228 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2230 #include <wx/generic/dragimgg.h>
2235 static int _wrap_ButtonNameStr_set(PyObject
*) {
2236 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2241 static PyObject
*_wrap_ButtonNameStr_get(void) {
2246 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2248 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2255 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxWindow
*arg1
= (wxWindow
*) 0 ;
2258 int arg2
= (int) -1 ;
2259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2265 long arg6
= (long) 0 ;
2266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2268 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2271 bool temp3
= false ;
2274 bool temp8
= false ;
2275 PyObject
* obj0
= 0 ;
2276 PyObject
* obj1
= 0 ;
2277 PyObject
* obj2
= 0 ;
2278 PyObject
* obj3
= 0 ;
2279 PyObject
* obj4
= 0 ;
2280 PyObject
* obj5
= 0 ;
2281 PyObject
* obj6
= 0 ;
2282 PyObject
* obj7
= 0 ;
2284 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail
;
2292 arg2
= (int)(SWIG_As_int(obj1
));
2293 if (SWIG_arg_fail(2)) SWIG_fail
;
2298 arg3
= wxString_in_helper(obj2
);
2299 if (arg3
== NULL
) SWIG_fail
;
2306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2317 arg6
= (long)(SWIG_As_long(obj5
));
2318 if (SWIG_arg_fail(6)) SWIG_fail
;
2323 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2324 if (SWIG_arg_fail(7)) SWIG_fail
;
2326 SWIG_null_ref("wxValidator");
2328 if (SWIG_arg_fail(7)) SWIG_fail
;
2333 arg8
= wxString_in_helper(obj7
);
2334 if (arg8
== NULL
) SWIG_fail
;
2339 if (!wxPyCheckForApp()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2369 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2378 if (!wxPyCheckForApp()) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (wxButton
*)new wxButton();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2392 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxButton
*arg1
= (wxButton
*) 0 ;
2395 wxWindow
*arg2
= (wxWindow
*) 0 ;
2396 int arg3
= (int) -1 ;
2397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2399 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2400 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2401 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2402 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2403 long arg7
= (long) 0 ;
2404 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2405 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2406 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2407 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2409 bool temp4
= false ;
2412 bool temp9
= false ;
2413 PyObject
* obj0
= 0 ;
2414 PyObject
* obj1
= 0 ;
2415 PyObject
* obj2
= 0 ;
2416 PyObject
* obj3
= 0 ;
2417 PyObject
* obj4
= 0 ;
2418 PyObject
* obj5
= 0 ;
2419 PyObject
* obj6
= 0 ;
2420 PyObject
* obj7
= 0 ;
2421 PyObject
* obj8
= 0 ;
2423 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2428 if (SWIG_arg_fail(1)) SWIG_fail
;
2429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2430 if (SWIG_arg_fail(2)) SWIG_fail
;
2433 arg3
= (int)(SWIG_As_int(obj2
));
2434 if (SWIG_arg_fail(3)) SWIG_fail
;
2439 arg4
= wxString_in_helper(obj3
);
2440 if (arg4
== NULL
) SWIG_fail
;
2447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2458 arg7
= (long)(SWIG_As_long(obj6
));
2459 if (SWIG_arg_fail(7)) SWIG_fail
;
2464 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2465 if (SWIG_arg_fail(8)) SWIG_fail
;
2467 SWIG_null_ref("wxValidator");
2469 if (SWIG_arg_fail(8)) SWIG_fail
;
2474 arg9
= wxString_in_helper(obj8
);
2475 if (arg9
== NULL
) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2511 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 wxButton
*arg1
= (wxButton
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2521 if (SWIG_arg_fail(1)) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetDefault();
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= wxButton::GetDefaultSize();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2553 resultptr
= new wxSize((wxSize
&)(result
));
2554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2562 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2565 wxVisualAttributes result
;
2566 PyObject
* obj0
= 0 ;
2568 (char *) "variant", NULL
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2574 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2575 if (SWIG_arg_fail(1)) SWIG_fail
;
2579 if (!wxPyCheckForApp()) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 wxVisualAttributes
* resultptr
;
2588 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2597 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2600 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2602 return Py_BuildValue((char *)"");
2604 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxWindow
*arg1
= (wxWindow
*) 0 ;
2607 int arg2
= (int) -1 ;
2608 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2609 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2614 long arg6
= (long) wxBU_AUTODRAW
;
2615 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2616 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2617 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2618 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2619 wxBitmapButton
*result
;
2622 bool temp8
= false ;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2625 PyObject
* obj2
= 0 ;
2626 PyObject
* obj3
= 0 ;
2627 PyObject
* obj4
= 0 ;
2628 PyObject
* obj5
= 0 ;
2629 PyObject
* obj6
= 0 ;
2630 PyObject
* obj7
= 0 ;
2632 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2637 if (SWIG_arg_fail(1)) SWIG_fail
;
2640 arg2
= (int)(SWIG_As_int(obj1
));
2641 if (SWIG_arg_fail(2)) SWIG_fail
;
2646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2647 if (SWIG_arg_fail(3)) SWIG_fail
;
2649 SWIG_null_ref("wxBitmap");
2651 if (SWIG_arg_fail(3)) SWIG_fail
;
2657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2668 arg6
= (long)(SWIG_As_long(obj5
));
2669 if (SWIG_arg_fail(6)) SWIG_fail
;
2674 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2675 if (SWIG_arg_fail(7)) SWIG_fail
;
2677 SWIG_null_ref("wxValidator");
2679 if (SWIG_arg_fail(7)) SWIG_fail
;
2684 arg8
= wxString_in_helper(obj7
);
2685 if (arg8
== NULL
) SWIG_fail
;
2690 if (!wxPyCheckForApp()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2712 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxBitmapButton
*result
;
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2721 if (!wxPyCheckForApp()) SWIG_fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= (wxBitmapButton
*)new wxBitmapButton();
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2735 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
*resultobj
;
2737 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2738 wxWindow
*arg2
= (wxWindow
*) 0 ;
2739 int arg3
= (int) -1 ;
2740 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2741 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2746 long arg7
= (long) wxBU_AUTODRAW
;
2747 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2748 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2749 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2750 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2754 bool temp9
= false ;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2757 PyObject
* obj2
= 0 ;
2758 PyObject
* obj3
= 0 ;
2759 PyObject
* obj4
= 0 ;
2760 PyObject
* obj5
= 0 ;
2761 PyObject
* obj6
= 0 ;
2762 PyObject
* obj7
= 0 ;
2763 PyObject
* obj8
= 0 ;
2765 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail
;
2771 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2772 if (SWIG_arg_fail(2)) SWIG_fail
;
2775 arg3
= (int)(SWIG_As_int(obj2
));
2776 if (SWIG_arg_fail(3)) SWIG_fail
;
2781 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2782 if (SWIG_arg_fail(4)) SWIG_fail
;
2784 SWIG_null_ref("wxBitmap");
2786 if (SWIG_arg_fail(4)) SWIG_fail
;
2792 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2798 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2803 arg7
= (long)(SWIG_As_long(obj6
));
2804 if (SWIG_arg_fail(7)) SWIG_fail
;
2809 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2810 if (SWIG_arg_fail(8)) SWIG_fail
;
2812 SWIG_null_ref("wxValidator");
2814 if (SWIG_arg_fail(8)) SWIG_fail
;
2819 arg9
= wxString_in_helper(obj8
);
2820 if (arg9
== NULL
) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2848 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= (arg1
)->GetBitmapLabel();
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2868 wxBitmap
* resultptr
;
2869 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2878 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2884 (char *) "self", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2889 if (SWIG_arg_fail(1)) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= (arg1
)->GetBitmapDisabled();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 wxBitmap
* resultptr
;
2899 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2908 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2919 if (SWIG_arg_fail(1)) SWIG_fail
;
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (arg1
)->GetBitmapFocus();
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 wxBitmap
* resultptr
;
2929 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2938 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2949 if (SWIG_arg_fail(1)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (arg1
)->GetBitmapSelected();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2958 wxBitmap
* resultptr
;
2959 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2968 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2971 wxBitmap
*arg2
= 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "bitmap", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2980 if (SWIG_arg_fail(1)) SWIG_fail
;
2982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2983 if (SWIG_arg_fail(2)) SWIG_fail
;
2985 SWIG_null_ref("wxBitmap");
2987 if (SWIG_arg_fail(2)) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3006 wxBitmap
*arg2
= 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "bitmap", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3015 if (SWIG_arg_fail(1)) SWIG_fail
;
3017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3018 if (SWIG_arg_fail(2)) SWIG_fail
;
3020 SWIG_null_ref("wxBitmap");
3022 if (SWIG_arg_fail(2)) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3031 Py_INCREF(Py_None
); resultobj
= Py_None
;
3038 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
*resultobj
;
3040 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3041 wxBitmap
*arg2
= 0 ;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3045 (char *) "self",(char *) "bitmap", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3050 if (SWIG_arg_fail(1)) SWIG_fail
;
3052 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3053 if (SWIG_arg_fail(2)) SWIG_fail
;
3055 SWIG_null_ref("wxBitmap");
3057 if (SWIG_arg_fail(2)) SWIG_fail
;
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 Py_INCREF(Py_None
); resultobj
= Py_None
;
3073 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3076 wxBitmap
*arg2
= 0 ;
3077 PyObject
* obj0
= 0 ;
3078 PyObject
* obj1
= 0 ;
3080 (char *) "self",(char *) "bitmap", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3088 if (SWIG_arg_fail(2)) SWIG_fail
;
3090 SWIG_null_ref("wxBitmap");
3092 if (SWIG_arg_fail(2)) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 Py_INCREF(Py_None
); resultobj
= Py_None
;
3108 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3117 (char *) "self",(char *) "x",(char *) "y", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3122 if (SWIG_arg_fail(1)) SWIG_fail
;
3124 arg2
= (int)(SWIG_As_int(obj1
));
3125 if (SWIG_arg_fail(2)) SWIG_fail
;
3128 arg3
= (int)(SWIG_As_int(obj2
));
3129 if (SWIG_arg_fail(3)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->SetMargins(arg2
,arg3
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3151 (char *) "self", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3156 if (SWIG_arg_fail(1)) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3165 resultobj
= SWIG_From_int((int)(result
));
3173 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3179 (char *) "self", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_From_int((int)(result
));
3201 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3204 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3206 return Py_BuildValue((char *)"");
3208 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3209 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3214 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3219 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3221 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3228 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxWindow
*arg1
= (wxWindow
*) 0 ;
3231 int arg2
= (int) -1 ;
3232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3238 long arg6
= (long) 0 ;
3239 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3240 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3241 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3242 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3244 bool temp3
= false ;
3247 bool temp8
= false ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3250 PyObject
* obj2
= 0 ;
3251 PyObject
* obj3
= 0 ;
3252 PyObject
* obj4
= 0 ;
3253 PyObject
* obj5
= 0 ;
3254 PyObject
* obj6
= 0 ;
3255 PyObject
* obj7
= 0 ;
3257 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3262 if (SWIG_arg_fail(1)) SWIG_fail
;
3265 arg2
= (int)(SWIG_As_int(obj1
));
3266 if (SWIG_arg_fail(2)) SWIG_fail
;
3271 arg3
= wxString_in_helper(obj2
);
3272 if (arg3
== NULL
) SWIG_fail
;
3279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3290 arg6
= (long)(SWIG_As_long(obj5
));
3291 if (SWIG_arg_fail(6)) SWIG_fail
;
3296 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(7)) SWIG_fail
;
3299 SWIG_null_ref("wxValidator");
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3306 arg8
= wxString_in_helper(obj7
);
3307 if (arg8
== NULL
) SWIG_fail
;
3312 if (!wxPyCheckForApp()) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3342 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3351 if (!wxPyCheckForApp()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (wxCheckBox
*)new wxCheckBox();
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3365 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3368 wxWindow
*arg2
= (wxWindow
*) 0 ;
3369 int arg3
= (int) -1 ;
3370 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3371 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3372 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3373 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3374 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3375 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3376 long arg7
= (long) 0 ;
3377 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3378 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3379 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3380 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3382 bool temp4
= false ;
3385 bool temp9
= false ;
3386 PyObject
* obj0
= 0 ;
3387 PyObject
* obj1
= 0 ;
3388 PyObject
* obj2
= 0 ;
3389 PyObject
* obj3
= 0 ;
3390 PyObject
* obj4
= 0 ;
3391 PyObject
* obj5
= 0 ;
3392 PyObject
* obj6
= 0 ;
3393 PyObject
* obj7
= 0 ;
3394 PyObject
* obj8
= 0 ;
3396 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3403 if (SWIG_arg_fail(2)) SWIG_fail
;
3406 arg3
= (int)(SWIG_As_int(obj2
));
3407 if (SWIG_arg_fail(3)) SWIG_fail
;
3412 arg4
= wxString_in_helper(obj3
);
3413 if (arg4
== NULL
) SWIG_fail
;
3420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3426 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3431 arg7
= (long)(SWIG_As_long(obj6
));
3432 if (SWIG_arg_fail(7)) SWIG_fail
;
3437 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(8)) SWIG_fail
;
3440 SWIG_null_ref("wxValidator");
3442 if (SWIG_arg_fail(8)) SWIG_fail
;
3447 arg9
= wxString_in_helper(obj8
);
3448 if (arg9
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3484 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (bool)(arg1
)->GetValue();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3512 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3523 if (SWIG_arg_fail(1)) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (bool)(arg1
)->IsChecked();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3540 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3545 PyObject
* obj1
= 0 ;
3547 (char *) "self",(char *) "state", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3552 if (SWIG_arg_fail(1)) SWIG_fail
;
3554 arg2
= (bool const)(SWIG_As_bool(obj1
));
3555 if (SWIG_arg_fail(2)) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 (arg1
)->SetValue(arg2
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 Py_INCREF(Py_None
); resultobj
= Py_None
;
3571 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3574 wxCheckBoxState result
;
3575 PyObject
* obj0
= 0 ;
3577 (char *) "self", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3582 if (SWIG_arg_fail(1)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_From_int((result
));
3597 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3600 wxCheckBoxState arg2
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "state", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail
;
3611 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3612 if (SWIG_arg_fail(2)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "self", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3656 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3684 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3687 wxVisualAttributes result
;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "variant", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3696 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3701 if (!wxPyCheckForApp()) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 wxVisualAttributes
* resultptr
;
3710 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3719 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3722 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3724 return Py_BuildValue((char *)"");
3726 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3727 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3732 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3737 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3739 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3746 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxWindow
*arg1
= (wxWindow
*) 0 ;
3749 int arg2
= (int) -1 ;
3750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3754 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3755 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3756 long arg6
= (long) 0 ;
3757 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3758 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3759 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3764 bool temp5
= false ;
3765 bool temp8
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 PyObject
* obj6
= 0 ;
3773 PyObject
* obj7
= 0 ;
3775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail
;
3783 arg2
= (int)(SWIG_As_int(obj1
));
3784 if (SWIG_arg_fail(2)) SWIG_fail
;
3790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3801 if (! PySequence_Check(obj4
)) {
3802 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3805 arg5
= new wxArrayString
;
3807 int i
, len
=PySequence_Length(obj4
);
3808 for (i
=0; i
<len
; i
++) {
3809 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3811 PyObject
* str
= PyObject_Unicode(item
);
3813 PyObject
* str
= PyObject_Str(item
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3816 arg5
->Add(Py2wxString(str
));
3824 arg6
= (long)(SWIG_As_long(obj5
));
3825 if (SWIG_arg_fail(6)) SWIG_fail
;
3830 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(7)) SWIG_fail
;
3833 SWIG_null_ref("wxValidator");
3835 if (SWIG_arg_fail(7)) SWIG_fail
;
3840 arg8
= wxString_in_helper(obj7
);
3841 if (arg8
== NULL
) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3855 if (temp5
) delete arg5
;
3864 if (temp5
) delete arg5
;
3874 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3883 if (!wxPyCheckForApp()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxChoice
*)new wxChoice();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3897 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxChoice
*arg1
= (wxChoice
*) 0 ;
3900 wxWindow
*arg2
= (wxWindow
*) 0 ;
3901 int arg3
= (int) -1 ;
3902 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3903 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3904 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3905 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3906 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3907 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3908 long arg7
= (long) 0 ;
3909 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3910 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3911 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3912 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3916 bool temp6
= false ;
3917 bool temp9
= false ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3933 if (SWIG_arg_fail(1)) SWIG_fail
;
3934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(2)) SWIG_fail
;
3938 arg3
= (int)(SWIG_As_int(obj2
));
3939 if (SWIG_arg_fail(3)) SWIG_fail
;
3945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3956 if (! PySequence_Check(obj5
)) {
3957 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3960 arg6
= new wxArrayString
;
3962 int i
, len
=PySequence_Length(obj5
);
3963 for (i
=0; i
<len
; i
++) {
3964 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3966 PyObject
* str
= PyObject_Unicode(item
);
3968 PyObject
* str
= PyObject_Str(item
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3971 arg6
->Add(Py2wxString(str
));
3979 arg7
= (long)(SWIG_As_long(obj6
));
3980 if (SWIG_arg_fail(7)) SWIG_fail
;
3985 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3986 if (SWIG_arg_fail(8)) SWIG_fail
;
3988 SWIG_null_ref("wxValidator");
3990 if (SWIG_arg_fail(8)) SWIG_fail
;
3995 arg9
= wxString_in_helper(obj8
);
3996 if (arg9
== NULL
) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4011 if (temp6
) delete arg6
;
4020 if (temp6
) delete arg6
;
4030 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
;
4032 wxChoice
*arg1
= (wxChoice
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4035 PyObject
* obj1
= 0 ;
4037 (char *) "self",(char *) "n", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail
;
4044 arg2
= (int const)(SWIG_As_int(obj1
));
4045 if (SWIG_arg_fail(2)) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->SetSelection(arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxChoice
*arg1
= (wxChoice
*) 0 ;
4064 wxString
*arg2
= 0 ;
4066 bool temp2
= false ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "self",(char *) "string", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4075 if (SWIG_arg_fail(1)) SWIG_fail
;
4077 arg2
= wxString_in_helper(obj1
);
4078 if (arg2
== NULL
) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4105 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxChoice
*arg1
= (wxChoice
*) 0 ;
4109 wxString
*arg3
= 0 ;
4110 bool temp3
= false ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4113 PyObject
* obj2
= 0 ;
4115 (char *) "self",(char *) "n",(char *) "string", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4122 arg2
= (int)(SWIG_As_int(obj1
));
4123 if (SWIG_arg_fail(2)) SWIG_fail
;
4126 arg3
= wxString_in_helper(obj2
);
4127 if (arg3
== NULL
) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4152 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4155 wxVisualAttributes result
;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "variant", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4164 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4165 if (SWIG_arg_fail(1)) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 wxVisualAttributes
* resultptr
;
4178 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4187 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4190 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4192 return Py_BuildValue((char *)"");
4194 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4195 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4200 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4205 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4207 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4214 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxWindow
*arg1
= (wxWindow
*) 0 ;
4217 int arg2
= (int) -1 ;
4218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4220 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4221 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4222 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4223 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4224 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4225 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4226 long arg7
= (long) 0 ;
4227 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4228 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4229 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4230 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4232 bool temp3
= false ;
4235 bool temp6
= false ;
4236 bool temp9
= false ;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 PyObject
* obj2
= 0 ;
4240 PyObject
* obj3
= 0 ;
4241 PyObject
* obj4
= 0 ;
4242 PyObject
* obj5
= 0 ;
4243 PyObject
* obj6
= 0 ;
4244 PyObject
* obj7
= 0 ;
4245 PyObject
* obj8
= 0 ;
4247 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail
;
4255 arg2
= (int)(SWIG_As_int(obj1
));
4256 if (SWIG_arg_fail(2)) SWIG_fail
;
4261 arg3
= wxString_in_helper(obj2
);
4262 if (arg3
== NULL
) SWIG_fail
;
4269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4280 if (! PySequence_Check(obj5
)) {
4281 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4284 arg6
= new wxArrayString
;
4286 int i
, len
=PySequence_Length(obj5
);
4287 for (i
=0; i
<len
; i
++) {
4288 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4290 PyObject
* str
= PyObject_Unicode(item
);
4292 PyObject
* str
= PyObject_Str(item
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4295 arg6
->Add(Py2wxString(str
));
4303 arg7
= (long)(SWIG_As_long(obj6
));
4304 if (SWIG_arg_fail(7)) SWIG_fail
;
4309 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(8)) SWIG_fail
;
4312 SWIG_null_ref("wxValidator");
4314 if (SWIG_arg_fail(8)) SWIG_fail
;
4319 arg9
= wxString_in_helper(obj8
);
4320 if (arg9
== NULL
) SWIG_fail
;
4325 if (!wxPyCheckForApp()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 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
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4338 if (temp6
) delete arg6
;
4351 if (temp6
) delete arg6
;
4361 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4370 if (!wxPyCheckForApp()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxComboBox
*)new wxComboBox();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4384 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4387 wxWindow
*arg2
= (wxWindow
*) 0 ;
4388 int arg3
= (int) -1 ;
4389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4395 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4396 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4397 long arg8
= (long) 0 ;
4398 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4399 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4400 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4401 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4403 bool temp4
= false ;
4406 bool temp7
= false ;
4407 bool temp10
= false ;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4415 PyObject
* obj7
= 0 ;
4416 PyObject
* obj8
= 0 ;
4417 PyObject
* obj9
= 0 ;
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail
;
4429 arg3
= (int)(SWIG_As_int(obj2
));
4430 if (SWIG_arg_fail(3)) SWIG_fail
;
4435 arg4
= wxString_in_helper(obj3
);
4436 if (arg4
== NULL
) SWIG_fail
;
4443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4454 if (! PySequence_Check(obj6
)) {
4455 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4458 arg7
= new wxArrayString
;
4460 int i
, len
=PySequence_Length(obj6
);
4461 for (i
=0; i
<len
; i
++) {
4462 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4464 PyObject
* str
= PyObject_Unicode(item
);
4466 PyObject
* str
= PyObject_Str(item
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4469 arg7
->Add(Py2wxString(str
));
4477 arg8
= (long)(SWIG_As_long(obj7
));
4478 if (SWIG_arg_fail(8)) SWIG_fail
;
4483 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4484 if (SWIG_arg_fail(9)) SWIG_fail
;
4486 SWIG_null_ref("wxValidator");
4488 if (SWIG_arg_fail(9)) SWIG_fail
;
4493 arg10
= wxString_in_helper(obj9
);
4494 if (arg10
== NULL
) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 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
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 if (temp7
) delete arg7
;
4526 if (temp7
) delete arg7
;
4536 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= ((wxComboBox
const *)arg1
)->GetValue();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4568 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4571 wxString
*arg2
= 0 ;
4572 bool temp2
= false ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "value", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4581 if (SWIG_arg_fail(1)) SWIG_fail
;
4583 arg2
= wxString_in_helper(obj1
);
4584 if (arg2
== NULL
) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 (arg1
)->SetValue((wxString
const &)*arg2
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4644 if (SWIG_arg_fail(1)) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4684 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4691 (char *) "self",(char *) "pos", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail
;
4698 arg2
= (long)(SWIG_As_long(obj1
));
4699 if (SWIG_arg_fail(2)) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetInsertionPoint(arg2
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_long((long)(result
));
4743 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_long((long)(result
));
4771 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4776 wxString
*arg4
= 0 ;
4777 bool temp4
= false ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4783 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail
;
4790 arg2
= (long)(SWIG_As_long(obj1
));
4791 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 arg3
= (long)(SWIG_As_long(obj2
));
4795 if (SWIG_arg_fail(3)) SWIG_fail
;
4798 arg4
= wxString_in_helper(obj3
);
4799 if (arg4
== NULL
) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "self",(char *) "n", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail
;
4838 arg2
= (int)(SWIG_As_int(obj1
));
4839 if (SWIG_arg_fail(2)) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->SetSelection(arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4862 PyObject
* obj2
= 0 ;
4864 (char *) "self",(char *) "from",(char *) "to", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4869 if (SWIG_arg_fail(1)) SWIG_fail
;
4871 arg2
= (long)(SWIG_As_long(obj1
));
4872 if (SWIG_arg_fail(2)) SWIG_fail
;
4875 arg3
= (long)(SWIG_As_long(obj2
));
4876 if (SWIG_arg_fail(3)) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 (arg1
)->SetSelection(arg2
,arg3
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 Py_INCREF(Py_None
); resultobj
= Py_None
;
4892 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4895 wxString
*arg2
= 0 ;
4897 bool temp2
= false ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4901 (char *) "self",(char *) "string", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail
;
4908 arg2
= wxString_in_helper(obj1
);
4909 if (arg2
== NULL
) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4936 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4940 wxString
*arg3
= 0 ;
4941 bool temp3
= false ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4946 (char *) "self",(char *) "n",(char *) "string", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail
;
4953 arg2
= (int)(SWIG_As_int(obj1
));
4954 if (SWIG_arg_fail(2)) SWIG_fail
;
4957 arg3
= wxString_in_helper(obj2
);
4958 if (arg3
== NULL
) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4983 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 (char *) "self",(char *) "editable", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail
;
4997 arg2
= (bool)(SWIG_As_bool(obj1
));
4998 if (SWIG_arg_fail(2)) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 (arg1
)->SetEditable(arg2
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 Py_INCREF(Py_None
); resultobj
= Py_None
;
5014 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->SetInsertionPointEnd();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5048 (char *) "self",(char *) "from",(char *) "to", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5053 if (SWIG_arg_fail(1)) SWIG_fail
;
5055 arg2
= (long)(SWIG_As_long(obj1
));
5056 if (SWIG_arg_fail(2)) SWIG_fail
;
5059 arg3
= (long)(SWIG_As_long(obj2
));
5060 if (SWIG_arg_fail(3)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 (arg1
)->Remove(arg2
,arg3
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 Py_INCREF(Py_None
); resultobj
= Py_None
;
5076 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5082 (char *) "self", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5104 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5107 PyObject
* obj0
= 0 ;
5109 (char *) "self", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5114 if (SWIG_arg_fail(1)) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 Py_INCREF(Py_None
); resultobj
= Py_None
;
5129 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "self", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 Py_INCREF(Py_None
); resultobj
= Py_None
;
5154 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 (arg1
)->SelectAll();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5207 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "self", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5235 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5246 if (SWIG_arg_fail(1)) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5263 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5274 if (SWIG_arg_fail(1)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5291 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5297 (char *) "self", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5302 if (SWIG_arg_fail(1)) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5319 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5322 wxVisualAttributes result
;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "variant", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5331 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5332 if (SWIG_arg_fail(1)) SWIG_fail
;
5336 if (!wxPyCheckForApp()) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5344 wxVisualAttributes
* resultptr
;
5345 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5354 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5357 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5359 return Py_BuildValue((char *)"");
5361 static int _wrap_GaugeNameStr_set(PyObject
*) {
5362 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5367 static PyObject
*_wrap_GaugeNameStr_get(void) {
5372 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5374 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5381 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxWindow
*arg1
= (wxWindow
*) 0 ;
5384 int arg2
= (int) -1 ;
5385 int arg3
= (int) 100 ;
5386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5390 long arg6
= (long) wxGA_HORIZONTAL
;
5391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5393 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5398 bool temp8
= false ;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5401 PyObject
* obj2
= 0 ;
5402 PyObject
* obj3
= 0 ;
5403 PyObject
* obj4
= 0 ;
5404 PyObject
* obj5
= 0 ;
5405 PyObject
* obj6
= 0 ;
5406 PyObject
* obj7
= 0 ;
5408 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5413 if (SWIG_arg_fail(1)) SWIG_fail
;
5416 arg2
= (int)(SWIG_As_int(obj1
));
5417 if (SWIG_arg_fail(2)) SWIG_fail
;
5422 arg3
= (int)(SWIG_As_int(obj2
));
5423 if (SWIG_arg_fail(3)) SWIG_fail
;
5429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5440 arg6
= (long)(SWIG_As_long(obj5
));
5441 if (SWIG_arg_fail(6)) SWIG_fail
;
5446 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5447 if (SWIG_arg_fail(7)) SWIG_fail
;
5449 SWIG_null_ref("wxValidator");
5451 if (SWIG_arg_fail(7)) SWIG_fail
;
5456 arg8
= wxString_in_helper(obj7
);
5457 if (arg8
== NULL
) SWIG_fail
;
5462 if (!wxPyCheckForApp()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5484 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5493 if (!wxPyCheckForApp()) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (wxGauge
*)new wxGauge();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5507 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
;
5509 wxGauge
*arg1
= (wxGauge
*) 0 ;
5510 wxWindow
*arg2
= (wxWindow
*) 0 ;
5511 int arg3
= (int) -1 ;
5512 int arg4
= (int) 100 ;
5513 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5514 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5515 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5516 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5517 long arg7
= (long) wxGA_HORIZONTAL
;
5518 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5519 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5520 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5521 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5525 bool temp9
= false ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5529 PyObject
* obj3
= 0 ;
5530 PyObject
* obj4
= 0 ;
5531 PyObject
* obj5
= 0 ;
5532 PyObject
* obj6
= 0 ;
5533 PyObject
* obj7
= 0 ;
5534 PyObject
* obj8
= 0 ;
5536 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail
;
5542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5543 if (SWIG_arg_fail(2)) SWIG_fail
;
5546 arg3
= (int)(SWIG_As_int(obj2
));
5547 if (SWIG_arg_fail(3)) SWIG_fail
;
5552 arg4
= (int)(SWIG_As_int(obj3
));
5553 if (SWIG_arg_fail(4)) SWIG_fail
;
5559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5565 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5570 arg7
= (long)(SWIG_As_long(obj6
));
5571 if (SWIG_arg_fail(7)) SWIG_fail
;
5576 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5577 if (SWIG_arg_fail(8)) SWIG_fail
;
5579 SWIG_null_ref("wxValidator");
5581 if (SWIG_arg_fail(8)) SWIG_fail
;
5586 arg9
= wxString_in_helper(obj8
);
5587 if (arg9
== NULL
) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5615 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxGauge
*arg1
= (wxGauge
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "range", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail
;
5629 arg2
= (int)(SWIG_As_int(obj1
));
5630 if (SWIG_arg_fail(2)) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetRange(arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxGauge
*arg1
= (wxGauge
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_From_int((int)(result
));
5674 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxGauge
*arg1
= (wxGauge
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5681 (char *) "self",(char *) "pos", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail
;
5688 arg2
= (int)(SWIG_As_int(obj1
));
5689 if (SWIG_arg_fail(2)) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 (arg1
)->SetValue(arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxGauge
*arg1
= (wxGauge
*) 0 ;
5709 PyObject
* obj0
= 0 ;
5711 (char *) "self", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5716 if (SWIG_arg_fail(1)) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_From_int((int)(result
));
5733 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxGauge
*arg1
= (wxGauge
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 (char *) "self", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5761 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxGauge
*arg1
= (wxGauge
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5768 (char *) "self",(char *) "w", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail
;
5775 arg2
= (int)(SWIG_As_int(obj1
));
5776 if (SWIG_arg_fail(2)) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 (arg1
)->SetShadowWidth(arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxGauge
*arg1
= (wxGauge
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_From_int((int)(result
));
5820 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxGauge
*arg1
= (wxGauge
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 (char *) "self",(char *) "w", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5832 if (SWIG_arg_fail(1)) SWIG_fail
;
5834 arg2
= (int)(SWIG_As_int(obj1
));
5835 if (SWIG_arg_fail(2)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 (arg1
)->SetBezelFace(arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 Py_INCREF(Py_None
); resultobj
= Py_None
;
5851 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxGauge
*arg1
= (wxGauge
*) 0 ;
5855 PyObject
* obj0
= 0 ;
5857 (char *) "self", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5862 if (SWIG_arg_fail(1)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= SWIG_From_int((int)(result
));
5879 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5882 wxVisualAttributes result
;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "variant", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5891 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5892 if (SWIG_arg_fail(1)) SWIG_fail
;
5896 if (!wxPyCheckForApp()) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 wxVisualAttributes
* resultptr
;
5905 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5914 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5917 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5919 return Py_BuildValue((char *)"");
5921 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5922 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5927 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5932 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5934 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5941 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5942 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5947 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5952 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5954 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5961 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5962 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5967 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5972 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5974 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5981 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxWindow
*arg1
= (wxWindow
*) 0 ;
5984 int arg2
= (int) -1 ;
5985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5991 long arg6
= (long) 0 ;
5992 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5994 wxStaticBox
*result
;
5995 bool temp3
= false ;
5998 bool temp7
= false ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 PyObject
* obj2
= 0 ;
6002 PyObject
* obj3
= 0 ;
6003 PyObject
* obj4
= 0 ;
6004 PyObject
* obj5
= 0 ;
6005 PyObject
* obj6
= 0 ;
6007 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6012 if (SWIG_arg_fail(1)) SWIG_fail
;
6015 arg2
= (int)(SWIG_As_int(obj1
));
6016 if (SWIG_arg_fail(2)) SWIG_fail
;
6021 arg3
= wxString_in_helper(obj2
);
6022 if (arg3
== NULL
) SWIG_fail
;
6029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6040 arg6
= (long)(SWIG_As_long(obj5
));
6041 if (SWIG_arg_fail(6)) SWIG_fail
;
6046 arg7
= wxString_in_helper(obj6
);
6047 if (arg7
== NULL
) SWIG_fail
;
6052 if (!wxPyCheckForApp()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6082 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxStaticBox
*result
;
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6091 if (!wxPyCheckForApp()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxStaticBox
*)new wxStaticBox();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6105 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6108 wxWindow
*arg2
= (wxWindow
*) 0 ;
6109 int arg3
= (int) -1 ;
6110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6116 long arg7
= (long) 0 ;
6117 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6118 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6120 bool temp4
= false ;
6123 bool temp8
= false ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6126 PyObject
* obj2
= 0 ;
6127 PyObject
* obj3
= 0 ;
6128 PyObject
* obj4
= 0 ;
6129 PyObject
* obj5
= 0 ;
6130 PyObject
* obj6
= 0 ;
6131 PyObject
* obj7
= 0 ;
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6138 if (SWIG_arg_fail(1)) SWIG_fail
;
6139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6140 if (SWIG_arg_fail(2)) SWIG_fail
;
6143 arg3
= (int)(SWIG_As_int(obj2
));
6144 if (SWIG_arg_fail(3)) SWIG_fail
;
6149 arg4
= wxString_in_helper(obj3
);
6150 if (arg4
== NULL
) SWIG_fail
;
6157 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6163 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6168 arg7
= (long)(SWIG_As_long(obj6
));
6169 if (SWIG_arg_fail(7)) SWIG_fail
;
6174 arg8
= wxString_in_helper(obj7
);
6175 if (arg8
== NULL
) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6211 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6214 wxVisualAttributes result
;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "variant", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6223 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6224 if (SWIG_arg_fail(1)) SWIG_fail
;
6228 if (!wxPyCheckForApp()) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 wxVisualAttributes
* resultptr
;
6237 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6246 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6251 return Py_BuildValue((char *)"");
6253 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxWindow
*arg1
= (wxWindow
*) 0 ;
6256 int arg2
= (int) -1 ;
6257 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6258 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6259 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6260 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6261 long arg5
= (long) wxLI_HORIZONTAL
;
6262 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6263 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6264 wxStaticLine
*result
;
6267 bool temp6
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6271 PyObject
* obj3
= 0 ;
6272 PyObject
* obj4
= 0 ;
6273 PyObject
* obj5
= 0 ;
6275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6283 arg2
= (int)(SWIG_As_int(obj1
));
6284 if (SWIG_arg_fail(2)) SWIG_fail
;
6290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6296 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6301 arg5
= (long)(SWIG_As_long(obj4
));
6302 if (SWIG_arg_fail(5)) SWIG_fail
;
6307 arg6
= wxString_in_helper(obj5
);
6308 if (arg6
== NULL
) SWIG_fail
;
6313 if (!wxPyCheckForApp()) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6335 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxStaticLine
*result
;
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6344 if (!wxPyCheckForApp()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (wxStaticLine
*)new wxStaticLine();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6358 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6361 wxWindow
*arg2
= (wxWindow
*) 0 ;
6362 int arg3
= (int) -1 ;
6363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6367 long arg6
= (long) wxLI_HORIZONTAL
;
6368 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6373 bool temp7
= false ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6378 PyObject
* obj4
= 0 ;
6379 PyObject
* obj5
= 0 ;
6380 PyObject
* obj6
= 0 ;
6382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6389 if (SWIG_arg_fail(2)) SWIG_fail
;
6392 arg3
= (int)(SWIG_As_int(obj2
));
6393 if (SWIG_arg_fail(3)) SWIG_fail
;
6399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6410 arg6
= (long)(SWIG_As_long(obj5
));
6411 if (SWIG_arg_fail(6)) SWIG_fail
;
6416 arg7
= wxString_in_helper(obj6
);
6417 if (arg7
== NULL
) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6445 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6473 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (int)wxStaticLine::GetDefaultSize();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_From_int((int)(result
));
6497 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6500 wxVisualAttributes result
;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "variant", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6509 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6510 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 wxVisualAttributes
* resultptr
;
6523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6532 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6537 return Py_BuildValue((char *)"");
6539 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxWindow
*arg1
= (wxWindow
*) 0 ;
6542 int arg2
= (int) -1 ;
6543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6549 long arg6
= (long) 0 ;
6550 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6552 wxStaticText
*result
;
6553 bool temp3
= false ;
6556 bool temp7
= false ;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6559 PyObject
* obj2
= 0 ;
6560 PyObject
* obj3
= 0 ;
6561 PyObject
* obj4
= 0 ;
6562 PyObject
* obj5
= 0 ;
6563 PyObject
* obj6
= 0 ;
6565 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6570 if (SWIG_arg_fail(1)) SWIG_fail
;
6573 arg2
= (int)(SWIG_As_int(obj1
));
6574 if (SWIG_arg_fail(2)) SWIG_fail
;
6579 arg3
= wxString_in_helper(obj2
);
6580 if (arg3
== NULL
) SWIG_fail
;
6587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6598 arg6
= (long)(SWIG_As_long(obj5
));
6599 if (SWIG_arg_fail(6)) SWIG_fail
;
6604 arg7
= wxString_in_helper(obj6
);
6605 if (arg7
== NULL
) SWIG_fail
;
6610 if (!wxPyCheckForApp()) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6640 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxStaticText
*result
;
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxStaticText
*)new wxStaticText();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6663 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6666 wxWindow
*arg2
= (wxWindow
*) 0 ;
6667 int arg3
= (int) -1 ;
6668 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6669 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6670 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6671 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6672 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6673 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6674 long arg7
= (long) 0 ;
6675 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6676 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6678 bool temp4
= false ;
6681 bool temp8
= false ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 PyObject
* obj2
= 0 ;
6685 PyObject
* obj3
= 0 ;
6686 PyObject
* obj4
= 0 ;
6687 PyObject
* obj5
= 0 ;
6688 PyObject
* obj6
= 0 ;
6689 PyObject
* obj7
= 0 ;
6691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6696 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6698 if (SWIG_arg_fail(2)) SWIG_fail
;
6701 arg3
= (int)(SWIG_As_int(obj2
));
6702 if (SWIG_arg_fail(3)) SWIG_fail
;
6707 arg4
= wxString_in_helper(obj3
);
6708 if (arg4
== NULL
) SWIG_fail
;
6715 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6721 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6726 arg7
= (long)(SWIG_As_long(obj6
));
6727 if (SWIG_arg_fail(7)) SWIG_fail
;
6732 arg8
= wxString_in_helper(obj7
);
6733 if (arg8
== NULL
) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6769 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6772 wxVisualAttributes result
;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "variant", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6781 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6782 if (SWIG_arg_fail(1)) SWIG_fail
;
6786 if (!wxPyCheckForApp()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6794 wxVisualAttributes
* resultptr
;
6795 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6804 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6809 return Py_BuildValue((char *)"");
6811 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxWindow
*arg1
= (wxWindow
*) 0 ;
6814 int arg2
= (int) -1 ;
6815 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6816 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6821 long arg6
= (long) 0 ;
6822 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6824 wxStaticBitmap
*result
;
6827 bool temp7
= false ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6830 PyObject
* obj2
= 0 ;
6831 PyObject
* obj3
= 0 ;
6832 PyObject
* obj4
= 0 ;
6833 PyObject
* obj5
= 0 ;
6834 PyObject
* obj6
= 0 ;
6836 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6844 arg2
= (int)(SWIG_As_int(obj1
));
6845 if (SWIG_arg_fail(2)) SWIG_fail
;
6850 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6851 if (SWIG_arg_fail(3)) SWIG_fail
;
6853 SWIG_null_ref("wxBitmap");
6855 if (SWIG_arg_fail(3)) SWIG_fail
;
6861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 arg6
= (long)(SWIG_As_long(obj5
));
6873 if (SWIG_arg_fail(6)) SWIG_fail
;
6878 arg7
= wxString_in_helper(obj6
);
6879 if (arg7
== NULL
) SWIG_fail
;
6884 if (!wxPyCheckForApp()) SWIG_fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6906 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxStaticBitmap
*result
;
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6915 if (!wxPyCheckForApp()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6929 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6932 wxWindow
*arg2
= (wxWindow
*) 0 ;
6933 int arg3
= (int) -1 ;
6934 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6935 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6940 long arg7
= (long) 0 ;
6941 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6946 bool temp8
= false ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6950 PyObject
* obj3
= 0 ;
6951 PyObject
* obj4
= 0 ;
6952 PyObject
* obj5
= 0 ;
6953 PyObject
* obj6
= 0 ;
6954 PyObject
* obj7
= 0 ;
6956 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail
;
6962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6963 if (SWIG_arg_fail(2)) SWIG_fail
;
6966 arg3
= (int)(SWIG_As_int(obj2
));
6967 if (SWIG_arg_fail(3)) SWIG_fail
;
6972 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6973 if (SWIG_arg_fail(4)) SWIG_fail
;
6975 SWIG_null_ref("wxBitmap");
6977 if (SWIG_arg_fail(4)) SWIG_fail
;
6983 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6989 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6994 arg7
= (long)(SWIG_As_long(obj6
));
6995 if (SWIG_arg_fail(7)) SWIG_fail
;
7000 arg8
= wxString_in_helper(obj7
);
7001 if (arg8
== NULL
) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7029 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7035 (char *) "self", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7040 if (SWIG_arg_fail(1)) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (arg1
)->GetBitmap();
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 wxBitmap
* resultptr
;
7050 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7059 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7062 wxBitmap
*arg2
= 0 ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7066 (char *) "self",(char *) "bitmap", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7071 if (SWIG_arg_fail(1)) SWIG_fail
;
7073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7074 if (SWIG_arg_fail(2)) SWIG_fail
;
7076 SWIG_null_ref("wxBitmap");
7078 if (SWIG_arg_fail(2)) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 Py_INCREF(Py_None
); resultobj
= Py_None
;
7094 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7101 (char *) "self",(char *) "icon", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(2)) SWIG_fail
;
7111 SWIG_null_ref("wxIcon");
7113 if (SWIG_arg_fail(2)) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7132 wxVisualAttributes result
;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "variant", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7141 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7142 if (SWIG_arg_fail(1)) SWIG_fail
;
7146 if (!wxPyCheckForApp()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 wxVisualAttributes
* resultptr
;
7155 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7164 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7167 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7169 return Py_BuildValue((char *)"");
7171 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7172 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7177 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7182 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7184 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7191 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxWindow
*arg1
= (wxWindow
*) 0 ;
7194 int arg2
= (int) -1 ;
7195 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7196 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7197 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7198 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7199 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7200 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7201 long arg6
= (long) 0 ;
7202 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7203 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7204 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7205 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7209 bool temp5
= false ;
7210 bool temp8
= false ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7214 PyObject
* obj3
= 0 ;
7215 PyObject
* obj4
= 0 ;
7216 PyObject
* obj5
= 0 ;
7217 PyObject
* obj6
= 0 ;
7218 PyObject
* obj7
= 0 ;
7220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail
;
7228 arg2
= (int)(SWIG_As_int(obj1
));
7229 if (SWIG_arg_fail(2)) SWIG_fail
;
7235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7241 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7246 if (! PySequence_Check(obj4
)) {
7247 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7250 arg5
= new wxArrayString
;
7252 int i
, len
=PySequence_Length(obj4
);
7253 for (i
=0; i
<len
; i
++) {
7254 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7256 PyObject
* str
= PyObject_Unicode(item
);
7258 PyObject
* str
= PyObject_Str(item
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7261 arg5
->Add(Py2wxString(str
));
7269 arg6
= (long)(SWIG_As_long(obj5
));
7270 if (SWIG_arg_fail(6)) SWIG_fail
;
7275 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7276 if (SWIG_arg_fail(7)) SWIG_fail
;
7278 SWIG_null_ref("wxValidator");
7280 if (SWIG_arg_fail(7)) SWIG_fail
;
7285 arg8
= wxString_in_helper(obj7
);
7286 if (arg8
== NULL
) SWIG_fail
;
7291 if (!wxPyCheckForApp()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7300 if (temp5
) delete arg5
;
7309 if (temp5
) delete arg5
;
7319 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7328 if (!wxPyCheckForApp()) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (wxListBox
*)new wxListBox();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7342 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxListBox
*arg1
= (wxListBox
*) 0 ;
7345 wxWindow
*arg2
= (wxWindow
*) 0 ;
7346 int arg3
= (int) -1 ;
7347 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7348 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7349 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7350 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7351 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7352 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7353 long arg7
= (long) 0 ;
7354 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7355 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7356 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7357 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7361 bool temp6
= false ;
7362 bool temp9
= false ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7366 PyObject
* obj3
= 0 ;
7367 PyObject
* obj4
= 0 ;
7368 PyObject
* obj5
= 0 ;
7369 PyObject
* obj6
= 0 ;
7370 PyObject
* obj7
= 0 ;
7371 PyObject
* obj8
= 0 ;
7373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7378 if (SWIG_arg_fail(1)) SWIG_fail
;
7379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7380 if (SWIG_arg_fail(2)) SWIG_fail
;
7383 arg3
= (int)(SWIG_As_int(obj2
));
7384 if (SWIG_arg_fail(3)) SWIG_fail
;
7390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7401 if (! PySequence_Check(obj5
)) {
7402 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7405 arg6
= new wxArrayString
;
7407 int i
, len
=PySequence_Length(obj5
);
7408 for (i
=0; i
<len
; i
++) {
7409 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7411 PyObject
* str
= PyObject_Unicode(item
);
7413 PyObject
* str
= PyObject_Str(item
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7416 arg6
->Add(Py2wxString(str
));
7424 arg7
= (long)(SWIG_As_long(obj6
));
7425 if (SWIG_arg_fail(7)) SWIG_fail
;
7430 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7431 if (SWIG_arg_fail(8)) SWIG_fail
;
7433 SWIG_null_ref("wxValidator");
7435 if (SWIG_arg_fail(8)) SWIG_fail
;
7440 arg9
= wxString_in_helper(obj8
);
7441 if (arg9
== NULL
) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7456 if (temp6
) delete arg6
;
7465 if (temp6
) delete arg6
;
7475 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxListBox
*arg1
= (wxListBox
*) 0 ;
7478 wxString
*arg2
= 0 ;
7480 PyObject
*arg4
= (PyObject
*) NULL
;
7481 bool temp2
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7487 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 arg2
= wxString_in_helper(obj1
);
7495 if (arg2
== NULL
) SWIG_fail
;
7499 arg3
= (int)(SWIG_As_int(obj2
));
7500 if (SWIG_arg_fail(3)) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxListBox
*arg1
= (wxListBox
*) 0 ;
7530 wxArrayString
*arg2
= 0 ;
7532 bool temp2
= false ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7537 (char *) "self",(char *) "items",(char *) "pos", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7542 if (SWIG_arg_fail(1)) SWIG_fail
;
7544 if (! PySequence_Check(obj1
)) {
7545 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7548 arg2
= new wxArrayString
;
7550 int i
, len
=PySequence_Length(obj1
);
7551 for (i
=0; i
<len
; i
++) {
7552 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7554 PyObject
* str
= PyObject_Unicode(item
);
7556 PyObject
* str
= PyObject_Str(item
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7559 arg2
->Add(Py2wxString(str
));
7565 arg3
= (int)(SWIG_As_int(obj2
));
7566 if (SWIG_arg_fail(3)) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 Py_INCREF(Py_None
); resultobj
= Py_None
;
7577 if (temp2
) delete arg2
;
7582 if (temp2
) delete arg2
;
7588 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxListBox
*arg1
= (wxListBox
*) 0 ;
7591 wxArrayString
*arg2
= 0 ;
7592 bool temp2
= false ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7596 (char *) "self",(char *) "items", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 if (! PySequence_Check(obj1
)) {
7604 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7607 arg2
= new wxArrayString
;
7609 int i
, len
=PySequence_Length(obj1
);
7610 for (i
=0; i
<len
; i
++) {
7611 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7613 PyObject
* str
= PyObject_Unicode(item
);
7615 PyObject
* str
= PyObject_Str(item
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7618 arg2
->Add(Py2wxString(str
));
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->Set((wxArrayString
const &)*arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 if (temp2
) delete arg2
;
7637 if (temp2
) delete arg2
;
7643 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxListBox
*arg1
= (wxListBox
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7651 (char *) "self",(char *) "n", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail
;
7658 arg2
= (int)(SWIG_As_int(obj1
));
7659 if (SWIG_arg_fail(2)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7677 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxListBox
*arg1
= (wxListBox
*) 0 ;
7681 bool arg3
= (bool) true ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 PyObject
* obj2
= 0 ;
7686 (char *) "self",(char *) "n",(char *) "select", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail
;
7693 arg2
= (int)(SWIG_As_int(obj1
));
7694 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 arg3
= (bool)(SWIG_As_bool(obj2
));
7699 if (SWIG_arg_fail(3)) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 (arg1
)->SetSelection(arg2
,arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxListBox
*arg1
= (wxListBox
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "n", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 arg2
= (int)(SWIG_As_int(obj1
));
7731 if (SWIG_arg_fail(2)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->Select(arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxListBox
*arg1
= (wxListBox
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "n", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail
;
7761 arg2
= (int)(SWIG_As_int(obj1
));
7762 if (SWIG_arg_fail(2)) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->Deselect(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxListBox
*arg1
= (wxListBox
*) 0 ;
7781 int arg2
= (int) -1 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7785 (char *) "self",(char *) "itemToLeaveSelected", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7793 arg2
= (int)(SWIG_As_int(obj1
));
7794 if (SWIG_arg_fail(2)) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 (arg1
)->DeselectAll(arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 Py_INCREF(Py_None
); resultobj
= Py_None
;
7811 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxListBox
*arg1
= (wxListBox
*) 0 ;
7814 wxString
*arg2
= 0 ;
7815 bool arg3
= (bool) true ;
7817 bool temp2
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7822 (char *) "self",(char *) "s",(char *) "select", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 arg2
= wxString_in_helper(obj1
);
7830 if (arg2
== NULL
) SWIG_fail
;
7835 arg3
= (bool)(SWIG_As_bool(obj2
));
7836 if (SWIG_arg_fail(3)) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7863 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxListBox
*arg1
= (wxListBox
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7889 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxListBox
*arg1
= (wxListBox
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7896 (char *) "self",(char *) "n", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail
;
7903 arg2
= (int)(SWIG_As_int(obj1
));
7904 if (SWIG_arg_fail(2)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 (arg1
)->SetFirstItem(arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 Py_INCREF(Py_None
); resultobj
= Py_None
;
7920 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxListBox
*arg1
= (wxListBox
*) 0 ;
7923 wxString
*arg2
= 0 ;
7924 bool temp2
= false ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7928 (char *) "self",(char *) "s", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 arg2
= wxString_in_helper(obj1
);
7936 if (arg2
== NULL
) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7961 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxListBox
*arg1
= (wxListBox
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "n", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7973 if (SWIG_arg_fail(1)) SWIG_fail
;
7975 arg2
= (int)(SWIG_As_int(obj1
));
7976 if (SWIG_arg_fail(2)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 (arg1
)->EnsureVisible(arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxListBox
*arg1
= (wxListBox
*) 0 ;
7995 wxString
*arg2
= 0 ;
7996 bool temp2
= false ;
7997 PyObject
* obj0
= 0 ;
7998 PyObject
* obj1
= 0 ;
8000 (char *) "self",(char *) "s", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail
;
8007 arg2
= wxString_in_helper(obj1
);
8008 if (arg2
== NULL
) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8033 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxListBox
*arg1
= (wxListBox
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8061 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxListBox
*arg1
= (wxListBox
*) 0 ;
8065 wxColour
*arg3
= 0 ;
8067 PyObject
* obj0
= 0 ;
8068 PyObject
* obj1
= 0 ;
8069 PyObject
* obj2
= 0 ;
8071 (char *) "self",(char *) "item",(char *) "c", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 arg2
= (int)(SWIG_As_int(obj1
));
8079 if (SWIG_arg_fail(2)) SWIG_fail
;
8083 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxListBox
*arg1
= (wxListBox
*) 0 ;
8103 wxColour
*arg3
= 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8109 (char *) "self",(char *) "item",(char *) "c", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8114 if (SWIG_arg_fail(1)) SWIG_fail
;
8116 arg2
= (int)(SWIG_As_int(obj1
));
8117 if (SWIG_arg_fail(2)) SWIG_fail
;
8121 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8137 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxListBox
*arg1
= (wxListBox
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8146 (char *) "self",(char *) "item",(char *) "f", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail
;
8153 arg2
= (int)(SWIG_As_int(obj1
));
8154 if (SWIG_arg_fail(2)) SWIG_fail
;
8157 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(3)) SWIG_fail
;
8160 SWIG_null_ref("wxFont");
8162 if (SWIG_arg_fail(3)) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8181 wxVisualAttributes result
;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "variant", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8190 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 if (!wxPyCheckForApp()) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 wxVisualAttributes
* resultptr
;
8204 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8213 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8218 return Py_BuildValue((char *)"");
8220 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxWindow
*arg1
= (wxWindow
*) 0 ;
8223 int arg2
= (int) -1 ;
8224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8228 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8229 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8230 long arg6
= (long) 0 ;
8231 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8232 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8233 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8234 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8235 wxCheckListBox
*result
;
8238 bool temp5
= false ;
8239 bool temp8
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8242 PyObject
* obj2
= 0 ;
8243 PyObject
* obj3
= 0 ;
8244 PyObject
* obj4
= 0 ;
8245 PyObject
* obj5
= 0 ;
8246 PyObject
* obj6
= 0 ;
8247 PyObject
* obj7
= 0 ;
8249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail
;
8257 arg2
= (int)(SWIG_As_int(obj1
));
8258 if (SWIG_arg_fail(2)) SWIG_fail
;
8264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8275 if (! PySequence_Check(obj4
)) {
8276 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8279 arg5
= new wxArrayString
;
8281 int i
, len
=PySequence_Length(obj4
);
8282 for (i
=0; i
<len
; i
++) {
8283 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8285 PyObject
* str
= PyObject_Unicode(item
);
8287 PyObject
* str
= PyObject_Str(item
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8290 arg5
->Add(Py2wxString(str
));
8298 arg6
= (long)(SWIG_As_long(obj5
));
8299 if (SWIG_arg_fail(6)) SWIG_fail
;
8304 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(7)) SWIG_fail
;
8307 SWIG_null_ref("wxValidator");
8309 if (SWIG_arg_fail(7)) SWIG_fail
;
8314 arg8
= wxString_in_helper(obj7
);
8315 if (arg8
== NULL
) SWIG_fail
;
8320 if (!wxPyCheckForApp()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8329 if (temp5
) delete arg5
;
8338 if (temp5
) delete arg5
;
8348 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxCheckListBox
*result
;
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8357 if (!wxPyCheckForApp()) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (wxCheckListBox
*)new wxCheckListBox();
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8371 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
;
8373 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8374 wxWindow
*arg2
= (wxWindow
*) 0 ;
8375 int arg3
= (int) -1 ;
8376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8380 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8381 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8382 long arg7
= (long) 0 ;
8383 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8384 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8385 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8386 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8390 bool temp6
= false ;
8391 bool temp9
= false ;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8394 PyObject
* obj2
= 0 ;
8395 PyObject
* obj3
= 0 ;
8396 PyObject
* obj4
= 0 ;
8397 PyObject
* obj5
= 0 ;
8398 PyObject
* obj6
= 0 ;
8399 PyObject
* obj7
= 0 ;
8400 PyObject
* obj8
= 0 ;
8402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8407 if (SWIG_arg_fail(1)) SWIG_fail
;
8408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(2)) SWIG_fail
;
8412 arg3
= (int)(SWIG_As_int(obj2
));
8413 if (SWIG_arg_fail(3)) SWIG_fail
;
8419 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8425 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8430 if (! PySequence_Check(obj5
)) {
8431 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8434 arg6
= new wxArrayString
;
8436 int i
, len
=PySequence_Length(obj5
);
8437 for (i
=0; i
<len
; i
++) {
8438 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8440 PyObject
* str
= PyObject_Unicode(item
);
8442 PyObject
* str
= PyObject_Str(item
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8445 arg6
->Add(Py2wxString(str
));
8453 arg7
= (long)(SWIG_As_long(obj6
));
8454 if (SWIG_arg_fail(7)) SWIG_fail
;
8459 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(8)) SWIG_fail
;
8462 SWIG_null_ref("wxValidator");
8464 if (SWIG_arg_fail(8)) SWIG_fail
;
8469 arg9
= wxString_in_helper(obj8
);
8470 if (arg9
== NULL
) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8485 if (temp6
) delete arg6
;
8494 if (temp6
) delete arg6
;
8504 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "index", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8519 arg2
= (int)(SWIG_As_int(obj1
));
8520 if (SWIG_arg_fail(2)) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (bool)(arg1
)->IsChecked(arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8538 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8542 int arg3
= (int) true ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8545 PyObject
* obj2
= 0 ;
8547 (char *) "self",(char *) "index",(char *) "check", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8554 arg2
= (int)(SWIG_As_int(obj1
));
8555 if (SWIG_arg_fail(2)) SWIG_fail
;
8559 arg3
= (int)(SWIG_As_int(obj2
));
8560 if (SWIG_arg_fail(3)) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 (arg1
)->Check(arg2
,arg3
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8586 (char *) "self",(char *) "pt", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_From_int((int)(result
));
8612 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8622 (char *) "self",(char *) "x",(char *) "y", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8627 if (SWIG_arg_fail(1)) SWIG_fail
;
8629 arg2
= (int)(SWIG_As_int(obj1
));
8630 if (SWIG_arg_fail(2)) SWIG_fail
;
8633 arg3
= (int)(SWIG_As_int(obj2
));
8634 if (SWIG_arg_fail(3)) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_From_int((int)(result
));
8652 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8655 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8657 return Py_BuildValue((char *)"");
8659 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8660 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8665 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8670 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8672 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8679 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxColour
const &arg1_defvalue
= wxNullColour
;
8682 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8683 wxColour
const &arg2_defvalue
= wxNullColour
;
8684 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8685 wxFont
const &arg3_defvalue
= wxNullFont
;
8686 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8687 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 PyObject
* obj2
= 0 ;
8694 PyObject
* obj3
= 0 ;
8696 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8703 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8714 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(3)) SWIG_fail
;
8717 SWIG_null_ref("wxFont");
8719 if (SWIG_arg_fail(3)) SWIG_fail
;
8724 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8725 if (SWIG_arg_fail(4)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8742 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8747 (char *) "self", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8767 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8770 PyObject
* obj0
= 0 ;
8772 (char *) "self", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8777 if (SWIG_arg_fail(1)) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8795 wxColour
*arg2
= 0 ;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8800 (char *) "self",(char *) "colText", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail
;
8808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8827 wxColour
*arg2
= 0 ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "colBack", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8860 long arg3
= (long) wxTEXT_ATTR_FONT
;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8865 (char *) "self",(char *) "font",(char *) "flags", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail
;
8872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(2)) SWIG_fail
;
8875 SWIG_null_ref("wxFont");
8877 if (SWIG_arg_fail(2)) SWIG_fail
;
8881 arg3
= (long)(SWIG_As_long(obj2
));
8882 if (SWIG_arg_fail(3)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8902 wxTextAttrAlignment arg2
;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8906 (char *) "self",(char *) "alignment", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8911 if (SWIG_arg_fail(1)) SWIG_fail
;
8913 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8914 if (SWIG_arg_fail(2)) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8933 wxArrayInt
*arg2
= 0 ;
8934 bool temp2
= false ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8938 (char *) "self",(char *) "tabs", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail
;
8945 if (! PySequence_Check(obj1
)) {
8946 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8949 arg2
= new wxArrayInt
;
8951 int i
, len
=PySequence_Length(obj1
);
8952 for (i
=0; i
<len
; i
++) {
8953 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8954 PyObject
* number
= PyNumber_Int(item
);
8955 arg2
->Add(PyInt_AS_LONG(number
));
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 if (temp2
) delete arg2
;
8974 if (temp2
) delete arg2
;
8980 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8984 int arg3
= (int) 0 ;
8985 PyObject
* obj0
= 0 ;
8986 PyObject
* obj1
= 0 ;
8987 PyObject
* obj2
= 0 ;
8989 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8996 arg2
= (int)(SWIG_As_int(obj1
));
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
9001 arg3
= (int)(SWIG_As_int(obj2
));
9002 if (SWIG_arg_fail(3)) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 (arg1
)->SetLeftIndent(arg2
,arg3
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9026 (char *) "self",(char *) "indent", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9031 if (SWIG_arg_fail(1)) SWIG_fail
;
9033 arg2
= (int)(SWIG_As_int(obj1
));
9034 if (SWIG_arg_fail(2)) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 (arg1
)->SetRightIndent(arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "self",(char *) "flags", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9062 if (SWIG_arg_fail(1)) SWIG_fail
;
9064 arg2
= (long)(SWIG_As_long(obj1
));
9065 if (SWIG_arg_fail(2)) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->SetFlags(arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9109 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9137 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9148 if (SWIG_arg_fail(1)) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9204 if (SWIG_arg_fail(1)) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9221 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "self", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9232 if (SWIG_arg_fail(1)) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9249 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9277 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9283 PyObject
* obj1
= 0 ;
9285 (char *) "self",(char *) "flag", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail
;
9292 arg2
= (long)(SWIG_As_long(obj1
));
9293 if (SWIG_arg_fail(2)) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9317 (char *) "self", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9327 result
= (wxColour
*) &_result_ref
;
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9340 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9346 (char *) "self", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9356 result
= (wxColour
*) &_result_ref
;
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9369 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9375 (char *) "self", NULL
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9385 result
= (wxFont
*) &_result_ref
;
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 wxFont
* resultptr
= new wxFont(*result
);
9393 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9401 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9404 wxTextAttrAlignment result
;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9412 if (SWIG_arg_fail(1)) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_From_int((result
));
9427 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9443 result
= (wxArrayInt
*) &_result_ref
;
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= PyList_New(0);
9452 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9453 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9454 PyList_Append(resultobj
, val
);
9464 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "self", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_long((long)(result
));
9492 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_From_long((long)(result
));
9520 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9531 if (SWIG_arg_fail(1)) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_From_long((long)(result
));
9548 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9559 if (SWIG_arg_fail(1)) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_From_long((long)(result
));
9576 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9587 if (SWIG_arg_fail(1)) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9604 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxTextAttr
*arg1
= 0 ;
9607 wxTextAttr
*arg2
= 0 ;
9608 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9612 PyObject
* obj2
= 0 ;
9614 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9620 if (SWIG_arg_fail(1)) SWIG_fail
;
9622 SWIG_null_ref("wxTextAttr");
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(2)) SWIG_fail
;
9630 SWIG_null_ref("wxTextAttr");
9632 if (SWIG_arg_fail(2)) SWIG_fail
;
9634 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9635 if (SWIG_arg_fail(3)) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 wxTextAttr
* resultptr
;
9645 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9654 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9657 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9659 return Py_BuildValue((char *)"");
9661 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxWindow
*arg1
= (wxWindow
*) 0 ;
9664 int arg2
= (int) -1 ;
9665 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9666 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9671 long arg6
= (long) 0 ;
9672 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9673 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9674 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9675 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9677 bool temp3
= false ;
9680 bool temp8
= false ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 PyObject
* obj2
= 0 ;
9684 PyObject
* obj3
= 0 ;
9685 PyObject
* obj4
= 0 ;
9686 PyObject
* obj5
= 0 ;
9687 PyObject
* obj6
= 0 ;
9688 PyObject
* obj7
= 0 ;
9690 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9695 if (SWIG_arg_fail(1)) SWIG_fail
;
9698 arg2
= (int)(SWIG_As_int(obj1
));
9699 if (SWIG_arg_fail(2)) SWIG_fail
;
9704 arg3
= wxString_in_helper(obj2
);
9705 if (arg3
== NULL
) SWIG_fail
;
9712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9723 arg6
= (long)(SWIG_As_long(obj5
));
9724 if (SWIG_arg_fail(6)) SWIG_fail
;
9729 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9730 if (SWIG_arg_fail(7)) SWIG_fail
;
9732 SWIG_null_ref("wxValidator");
9734 if (SWIG_arg_fail(7)) SWIG_fail
;
9739 arg8
= wxString_in_helper(obj7
);
9740 if (arg8
== NULL
) SWIG_fail
;
9745 if (!wxPyCheckForApp()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9775 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9784 if (!wxPyCheckForApp()) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (wxTextCtrl
*)new wxTextCtrl();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9798 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9801 wxWindow
*arg2
= (wxWindow
*) 0 ;
9802 int arg3
= (int) -1 ;
9803 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9804 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9805 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9806 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9807 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9808 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9809 long arg7
= (long) 0 ;
9810 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9811 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9812 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9813 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9815 bool temp4
= false ;
9818 bool temp9
= false ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 PyObject
* obj2
= 0 ;
9822 PyObject
* obj3
= 0 ;
9823 PyObject
* obj4
= 0 ;
9824 PyObject
* obj5
= 0 ;
9825 PyObject
* obj6
= 0 ;
9826 PyObject
* obj7
= 0 ;
9827 PyObject
* obj8
= 0 ;
9829 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9836 if (SWIG_arg_fail(2)) SWIG_fail
;
9839 arg3
= (int)(SWIG_As_int(obj2
));
9840 if (SWIG_arg_fail(3)) SWIG_fail
;
9845 arg4
= wxString_in_helper(obj3
);
9846 if (arg4
== NULL
) SWIG_fail
;
9853 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9859 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9864 arg7
= (long)(SWIG_As_long(obj6
));
9865 if (SWIG_arg_fail(7)) SWIG_fail
;
9870 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(8)) SWIG_fail
;
9873 SWIG_null_ref("wxValidator");
9875 if (SWIG_arg_fail(8)) SWIG_fail
;
9880 arg9
= wxString_in_helper(obj8
);
9881 if (arg9
== NULL
) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9917 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9949 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9952 wxString
*arg2
= 0 ;
9953 bool temp2
= false ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9957 (char *) "self",(char *) "value", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 arg2
= wxString_in_helper(obj1
);
9965 if (arg2
== NULL
) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->SetValue((wxString
const &)*arg2
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9990 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9997 PyObject
* obj1
= 0 ;
9998 PyObject
* obj2
= 0 ;
10000 (char *) "self",(char *) "from",(char *) "to", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail
;
10007 arg2
= (long)(SWIG_As_long(obj1
));
10008 if (SWIG_arg_fail(2)) SWIG_fail
;
10011 arg3
= (long)(SWIG_As_long(obj2
));
10012 if (SWIG_arg_fail(3)) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10034 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 PyObject
* obj1
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "lineNo", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail
;
10049 arg2
= (long)(SWIG_As_long(obj1
));
10050 if (SWIG_arg_fail(2)) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_From_int((int)(result
));
10068 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "lineNo", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10081 if (SWIG_arg_fail(1)) SWIG_fail
;
10083 arg2
= (long)(SWIG_As_long(obj1
));
10084 if (SWIG_arg_fail(2)) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10106 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10117 if (SWIG_arg_fail(1)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_From_int((int)(result
));
10134 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10145 if (SWIG_arg_fail(1)) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10162 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10166 PyObject
* obj0
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10173 if (SWIG_arg_fail(1)) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10190 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10229 if (SWIG_arg_fail(1)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10246 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10249 long *arg2
= (long *) 0 ;
10250 long *arg3
= (long *) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self", NULL
10260 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10261 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10264 if (SWIG_arg_fail(1)) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10274 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10276 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10283 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10294 if (SWIG_arg_fail(1)) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10315 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10325 if (SWIG_arg_fail(1)) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 Py_INCREF(Py_None
); resultobj
= Py_None
;
10340 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10345 wxString
*arg4
= 0 ;
10346 bool temp4
= false ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 PyObject
* obj2
= 0 ;
10350 PyObject
* obj3
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10357 if (SWIG_arg_fail(1)) SWIG_fail
;
10359 arg2
= (long)(SWIG_As_long(obj1
));
10360 if (SWIG_arg_fail(2)) SWIG_fail
;
10363 arg3
= (long)(SWIG_As_long(obj2
));
10364 if (SWIG_arg_fail(3)) SWIG_fail
;
10367 arg4
= wxString_in_helper(obj3
);
10368 if (arg4
== NULL
) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 PyObject
* obj2
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self",(char *) "from",(char *) "to", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 arg2
= (long)(SWIG_As_long(obj1
));
10410 if (SWIG_arg_fail(2)) SWIG_fail
;
10413 arg3
= (long)(SWIG_As_long(obj2
));
10414 if (SWIG_arg_fail(3)) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->Remove(arg2
,arg3
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10433 wxString
*arg2
= 0 ;
10435 bool temp2
= false ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "file", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail
;
10446 arg2
= wxString_in_helper(obj1
);
10447 if (arg2
== NULL
) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10477 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10478 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10480 bool temp2
= false ;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "file", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail
;
10492 arg2
= wxString_in_helper(obj1
);
10493 if (arg2
== NULL
) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10521 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail
;
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->MarkDirty();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 Py_INCREF(Py_None
); resultobj
= Py_None
;
10546 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->DiscardEdits();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10574 unsigned long arg2
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "len", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10583 if (SWIG_arg_fail(1)) SWIG_fail
;
10585 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10586 if (SWIG_arg_fail(2)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->SetMaxLength(arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10605 wxString
*arg2
= 0 ;
10606 bool temp2
= false ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "text", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail
;
10617 arg2
= wxString_in_helper(obj1
);
10618 if (arg2
== NULL
) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->WriteText((wxString
const &)*arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10643 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10646 wxString
*arg2
= 0 ;
10647 bool temp2
= false ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "text", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail
;
10658 arg2
= wxString_in_helper(obj1
);
10659 if (arg2
== NULL
) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->AppendText((wxString
const &)*arg2
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 Py_INCREF(Py_None
); resultobj
= Py_None
;
10684 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10687 wxKeyEvent
*arg2
= 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "event", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10697 if (SWIG_arg_fail(1)) SWIG_fail
;
10699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(2)) SWIG_fail
;
10701 if (arg2
== NULL
) {
10702 SWIG_null_ref("wxKeyEvent");
10704 if (SWIG_arg_fail(2)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10722 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10727 wxTextAttr
*arg4
= 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 PyObject
* obj2
= 0 ;
10732 PyObject
* obj3
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail
;
10741 arg2
= (long)(SWIG_As_long(obj1
));
10742 if (SWIG_arg_fail(2)) SWIG_fail
;
10745 arg3
= (long)(SWIG_As_long(obj2
));
10746 if (SWIG_arg_fail(3)) SWIG_fail
;
10749 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10750 if (SWIG_arg_fail(4)) SWIG_fail
;
10751 if (arg4
== NULL
) {
10752 SWIG_null_ref("wxTextAttr");
10754 if (SWIG_arg_fail(4)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10772 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10776 wxTextAttr
*arg3
= 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "position",(char *) "style", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 arg2
= (long)(SWIG_As_long(obj1
));
10790 if (SWIG_arg_fail(2)) SWIG_fail
;
10793 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10794 if (SWIG_arg_fail(3)) SWIG_fail
;
10795 if (arg3
== NULL
) {
10796 SWIG_null_ref("wxTextAttr");
10798 if (SWIG_arg_fail(3)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10816 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10819 wxTextAttr
*arg2
= 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self",(char *) "style", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail
;
10831 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(2)) SWIG_fail
;
10833 if (arg2
== NULL
) {
10834 SWIG_null_ref("wxTextAttr");
10836 if (SWIG_arg_fail(2)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10854 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10857 wxTextAttr
*result
;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10865 if (SWIG_arg_fail(1)) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10870 result
= (wxTextAttr
*) &_result_ref
;
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10883 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 PyObject
* obj2
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self",(char *) "x",(char *) "y", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail
;
10900 arg2
= (long)(SWIG_As_long(obj1
));
10901 if (SWIG_arg_fail(2)) SWIG_fail
;
10904 arg3
= (long)(SWIG_As_long(obj2
));
10905 if (SWIG_arg_fail(3)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_From_long((long)(result
));
10923 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10927 long *arg3
= (long *) 0 ;
10928 long *arg4
= (long *) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "pos", NULL
10939 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10940 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail
;
10945 arg2
= (long)(SWIG_As_long(obj1
));
10946 if (SWIG_arg_fail(2)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10957 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10958 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10959 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10966 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "pos", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail
;
10980 arg2
= (long)(SWIG_As_long(obj1
));
10981 if (SWIG_arg_fail(2)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 (arg1
)->ShowPosition(arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10997 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11000 wxPoint
*arg2
= 0 ;
11001 long *arg3
= (long *) 0 ;
11002 long *arg4
= (long *) 0 ;
11003 wxTextCtrlHitTestResult result
;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self",(char *) "pt", NULL
11015 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11016 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_From_int((result
));
11032 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11033 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11034 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11035 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11042 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11045 wxPoint
*arg2
= 0 ;
11046 long *arg3
= (long *) 0 ;
11047 wxTextCtrlHitTestResult result
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "pt", NULL
11057 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_From_int((result
));
11073 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11074 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11081 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 Py_INCREF(Py_None
); resultobj
= Py_None
;
11106 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11116 if (SWIG_arg_fail(1)) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 Py_INCREF(Py_None
); resultobj
= Py_None
;
11156 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11167 if (SWIG_arg_fail(1)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11212 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11265 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "self", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11275 if (SWIG_arg_fail(1)) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 Py_INCREF(Py_None
); resultobj
= Py_None
;
11290 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11318 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self",(char *) "pos", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11358 if (SWIG_arg_fail(1)) SWIG_fail
;
11360 arg2
= (long)(SWIG_As_long(obj1
));
11361 if (SWIG_arg_fail(2)) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetInsertionPoint(arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11387 if (SWIG_arg_fail(1)) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 (arg1
)->SetInsertionPointEnd();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11413 if (SWIG_arg_fail(1)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long((long)(result
));
11430 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long((long)(result
));
11458 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 PyObject
* obj2
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self",(char *) "from",(char *) "to", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 arg2
= (long)(SWIG_As_long(obj1
));
11475 if (SWIG_arg_fail(2)) SWIG_fail
;
11478 arg3
= (long)(SWIG_As_long(obj2
));
11479 if (SWIG_arg_fail(3)) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetSelection(arg2
,arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11505 if (SWIG_arg_fail(1)) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 (arg1
)->SelectAll();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 Py_INCREF(Py_None
); resultobj
= Py_None
;
11520 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "editable", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail
;
11534 arg2
= (bool)(SWIG_As_bool(obj1
));
11535 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetEditable(arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11554 wxString
*arg2
= 0 ;
11555 bool temp2
= false ;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "text", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11564 if (SWIG_arg_fail(1)) SWIG_fail
;
11566 arg2
= wxString_in_helper(obj1
);
11567 if (arg2
== NULL
) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 PyObject
* obj2
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "from",(char *) "to", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11609 arg2
= (long)(SWIG_As_long(obj1
));
11610 if (SWIG_arg_fail(2)) SWIG_fail
;
11613 arg3
= (long)(SWIG_As_long(obj2
));
11614 if (SWIG_arg_fail(3)) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11636 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11639 wxVisualAttributes result
;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "variant", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11648 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11649 if (SWIG_arg_fail(1)) SWIG_fail
;
11653 if (!wxPyCheckForApp()) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 wxVisualAttributes
* resultptr
;
11662 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11671 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11674 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11676 return Py_BuildValue((char *)"");
11678 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11681 wxMouseEvent
*arg2
= 0 ;
11684 wxTextUrlEvent
*result
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11695 arg1
= (int)(SWIG_As_int(obj0
));
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11700 if (SWIG_arg_fail(2)) SWIG_fail
;
11701 if (arg2
== NULL
) {
11702 SWIG_null_ref("wxMouseEvent");
11704 if (SWIG_arg_fail(2)) SWIG_fail
;
11707 arg3
= (long)(SWIG_As_long(obj2
));
11708 if (SWIG_arg_fail(3)) SWIG_fail
;
11711 arg4
= (long)(SWIG_As_long(obj3
));
11712 if (SWIG_arg_fail(4)) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11728 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11731 wxMouseEvent
*result
;
11732 PyObject
* obj0
= 0 ;
11733 char *kwnames
[] = {
11734 (char *) "self", NULL
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11744 result
= (wxMouseEvent
*) &_result_ref
;
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11757 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_From_long((long)(result
));
11785 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "self", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_long((long)(result
));
11813 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11816 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11818 return Py_BuildValue((char *)"");
11820 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11821 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11826 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11831 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11833 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11840 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxWindow
*arg1
= (wxWindow
*) 0 ;
11843 int arg2
= (int) -1 ;
11844 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11845 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11846 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11847 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11848 long arg5
= (long) wxSB_HORIZONTAL
;
11849 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11850 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11851 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11853 wxScrollBar
*result
;
11856 bool temp7
= false ;
11857 PyObject
* obj0
= 0 ;
11858 PyObject
* obj1
= 0 ;
11859 PyObject
* obj2
= 0 ;
11860 PyObject
* obj3
= 0 ;
11861 PyObject
* obj4
= 0 ;
11862 PyObject
* obj5
= 0 ;
11863 PyObject
* obj6
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11870 if (SWIG_arg_fail(1)) SWIG_fail
;
11873 arg2
= (int)(SWIG_As_int(obj1
));
11874 if (SWIG_arg_fail(2)) SWIG_fail
;
11880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11886 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11891 arg5
= (long)(SWIG_As_long(obj4
));
11892 if (SWIG_arg_fail(5)) SWIG_fail
;
11897 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11898 if (SWIG_arg_fail(6)) SWIG_fail
;
11899 if (arg6
== NULL
) {
11900 SWIG_null_ref("wxValidator");
11902 if (SWIG_arg_fail(6)) SWIG_fail
;
11907 arg7
= wxString_in_helper(obj6
);
11908 if (arg7
== NULL
) SWIG_fail
;
11913 if (!wxPyCheckForApp()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11935 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxScrollBar
*result
;
11938 char *kwnames
[] = {
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11944 if (!wxPyCheckForApp()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (wxScrollBar
*)new wxScrollBar();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11958 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11961 wxWindow
*arg2
= (wxWindow
*) 0 ;
11962 int arg3
= (int) -1 ;
11963 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11964 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11965 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11966 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11967 long arg6
= (long) wxSB_HORIZONTAL
;
11968 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11969 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11970 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11975 bool temp8
= false ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 PyObject
* obj4
= 0 ;
11981 PyObject
* obj5
= 0 ;
11982 PyObject
* obj6
= 0 ;
11983 PyObject
* obj7
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11992 if (SWIG_arg_fail(2)) SWIG_fail
;
11995 arg3
= (int)(SWIG_As_int(obj2
));
11996 if (SWIG_arg_fail(3)) SWIG_fail
;
12002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12013 arg6
= (long)(SWIG_As_long(obj5
));
12014 if (SWIG_arg_fail(6)) SWIG_fail
;
12019 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(7)) SWIG_fail
;
12021 if (arg7
== NULL
) {
12022 SWIG_null_ref("wxValidator");
12024 if (SWIG_arg_fail(7)) SWIG_fail
;
12029 arg8
= wxString_in_helper(obj7
);
12030 if (arg8
== NULL
) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12058 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_From_int((int)(result
));
12086 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_int((int)(result
));
12114 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(1)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_From_int((int)(result
));
12142 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_From_int((int)(result
));
12170 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12198 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "viewStart", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail
;
12212 arg2
= (int)(SWIG_As_int(obj1
));
12213 if (SWIG_arg_fail(2)) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 (arg1
)->SetThumbPosition(arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 Py_INCREF(Py_None
); resultobj
= Py_None
;
12229 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12236 bool arg6
= (bool) true ;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 PyObject
* obj3
= 0 ;
12241 PyObject
* obj4
= 0 ;
12242 PyObject
* obj5
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 arg2
= (int)(SWIG_As_int(obj1
));
12252 if (SWIG_arg_fail(2)) SWIG_fail
;
12255 arg3
= (int)(SWIG_As_int(obj2
));
12256 if (SWIG_arg_fail(3)) SWIG_fail
;
12259 arg4
= (int)(SWIG_As_int(obj3
));
12260 if (SWIG_arg_fail(4)) SWIG_fail
;
12263 arg5
= (int)(SWIG_As_int(obj4
));
12264 if (SWIG_arg_fail(5)) SWIG_fail
;
12268 arg6
= (bool)(SWIG_As_bool(obj5
));
12269 if (SWIG_arg_fail(6)) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12286 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12289 wxVisualAttributes result
;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "variant", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12298 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12299 if (SWIG_arg_fail(1)) SWIG_fail
;
12303 if (!wxPyCheckForApp()) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12311 wxVisualAttributes
* resultptr
;
12312 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12321 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12324 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12326 return Py_BuildValue((char *)"");
12328 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12329 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12334 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12339 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12341 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12348 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12349 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12354 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12359 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12361 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12368 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxWindow
*arg1
= (wxWindow
*) 0 ;
12371 int arg2
= (int) -1 ;
12372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12376 long arg5
= (long) wxSP_HORIZONTAL
;
12377 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12378 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12379 wxSpinButton
*result
;
12382 bool temp6
= false ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 PyObject
* obj3
= 0 ;
12387 PyObject
* obj4
= 0 ;
12388 PyObject
* obj5
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12398 arg2
= (int)(SWIG_As_int(obj1
));
12399 if (SWIG_arg_fail(2)) SWIG_fail
;
12405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12416 arg5
= (long)(SWIG_As_long(obj4
));
12417 if (SWIG_arg_fail(5)) SWIG_fail
;
12422 arg6
= wxString_in_helper(obj5
);
12423 if (arg6
== NULL
) SWIG_fail
;
12428 if (!wxPyCheckForApp()) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12450 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxSpinButton
*result
;
12453 char *kwnames
[] = {
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12459 if (!wxPyCheckForApp()) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (wxSpinButton
*)new wxSpinButton();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12473 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12476 wxWindow
*arg2
= (wxWindow
*) 0 ;
12477 int arg3
= (int) -1 ;
12478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12482 long arg6
= (long) wxSP_HORIZONTAL
;
12483 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12488 bool temp7
= false ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 PyObject
* obj4
= 0 ;
12494 PyObject
* obj5
= 0 ;
12495 PyObject
* obj6
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail
;
12503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12504 if (SWIG_arg_fail(2)) SWIG_fail
;
12507 arg3
= (int)(SWIG_As_int(obj2
));
12508 if (SWIG_arg_fail(3)) SWIG_fail
;
12514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12525 arg6
= (long)(SWIG_As_long(obj5
));
12526 if (SWIG_arg_fail(6)) SWIG_fail
;
12531 arg7
= wxString_in_helper(obj6
);
12532 if (arg7
== NULL
) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12560 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12571 if (SWIG_arg_fail(1)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_From_int((int)(result
));
12588 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int((int)(result
));
12616 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_int((int)(result
));
12644 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "val", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12656 if (SWIG_arg_fail(1)) SWIG_fail
;
12658 arg2
= (int)(SWIG_As_int(obj1
));
12659 if (SWIG_arg_fail(2)) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 (arg1
)->SetValue(arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 Py_INCREF(Py_None
); resultobj
= Py_None
;
12675 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 PyObject
* obj1
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self",(char *) "minVal", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail
;
12689 arg2
= (int)(SWIG_As_int(obj1
));
12690 if (SWIG_arg_fail(2)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->SetMin(arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self",(char *) "maxVal", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail
;
12720 arg2
= (int)(SWIG_As_int(obj1
));
12721 if (SWIG_arg_fail(2)) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 (arg1
)->SetMax(arg2
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 PyObject
* obj2
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 arg2
= (int)(SWIG_As_int(obj1
));
12754 if (SWIG_arg_fail(2)) SWIG_fail
;
12757 arg3
= (int)(SWIG_As_int(obj2
));
12758 if (SWIG_arg_fail(3)) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 (arg1
)->SetRange(arg2
,arg3
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 Py_INCREF(Py_None
); resultobj
= Py_None
;
12774 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12785 if (SWIG_arg_fail(1)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12802 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12805 wxVisualAttributes result
;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "variant", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12814 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12819 if (!wxPyCheckForApp()) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12827 wxVisualAttributes
* resultptr
;
12828 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12837 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12840 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12842 return Py_BuildValue((char *)"");
12844 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxWindow
*arg1
= (wxWindow
*) 0 ;
12847 int arg2
= (int) -1 ;
12848 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12849 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12854 long arg6
= (long) wxSP_ARROW_KEYS
;
12855 int arg7
= (int) 0 ;
12856 int arg8
= (int) 100 ;
12857 int arg9
= (int) 0 ;
12858 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12859 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12860 wxSpinCtrl
*result
;
12861 bool temp3
= false ;
12864 bool temp10
= false ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 PyObject
* obj2
= 0 ;
12868 PyObject
* obj3
= 0 ;
12869 PyObject
* obj4
= 0 ;
12870 PyObject
* obj5
= 0 ;
12871 PyObject
* obj6
= 0 ;
12872 PyObject
* obj7
= 0 ;
12873 PyObject
* obj8
= 0 ;
12874 PyObject
* obj9
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12884 arg2
= (int)(SWIG_As_int(obj1
));
12885 if (SWIG_arg_fail(2)) SWIG_fail
;
12890 arg3
= wxString_in_helper(obj2
);
12891 if (arg3
== NULL
) SWIG_fail
;
12898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12909 arg6
= (long)(SWIG_As_long(obj5
));
12910 if (SWIG_arg_fail(6)) SWIG_fail
;
12915 arg7
= (int)(SWIG_As_int(obj6
));
12916 if (SWIG_arg_fail(7)) SWIG_fail
;
12921 arg8
= (int)(SWIG_As_int(obj7
));
12922 if (SWIG_arg_fail(8)) SWIG_fail
;
12927 arg9
= (int)(SWIG_As_int(obj8
));
12928 if (SWIG_arg_fail(9)) SWIG_fail
;
12933 arg10
= wxString_in_helper(obj9
);
12934 if (arg10
== NULL
) SWIG_fail
;
12939 if (!wxPyCheckForApp()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12969 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxSpinCtrl
*result
;
12972 char *kwnames
[] = {
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12978 if (!wxPyCheckForApp()) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12992 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12995 wxWindow
*arg2
= (wxWindow
*) 0 ;
12996 int arg3
= (int) -1 ;
12997 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12998 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12999 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13000 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13001 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13002 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13003 long arg7
= (long) wxSP_ARROW_KEYS
;
13004 int arg8
= (int) 0 ;
13005 int arg9
= (int) 100 ;
13006 int arg10
= (int) 0 ;
13007 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13008 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13010 bool temp4
= false ;
13013 bool temp11
= false ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 PyObject
* obj2
= 0 ;
13017 PyObject
* obj3
= 0 ;
13018 PyObject
* obj4
= 0 ;
13019 PyObject
* obj5
= 0 ;
13020 PyObject
* obj6
= 0 ;
13021 PyObject
* obj7
= 0 ;
13022 PyObject
* obj8
= 0 ;
13023 PyObject
* obj9
= 0 ;
13024 PyObject
* obj10
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13031 if (SWIG_arg_fail(1)) SWIG_fail
;
13032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(2)) SWIG_fail
;
13036 arg3
= (int)(SWIG_As_int(obj2
));
13037 if (SWIG_arg_fail(3)) SWIG_fail
;
13042 arg4
= wxString_in_helper(obj3
);
13043 if (arg4
== NULL
) SWIG_fail
;
13050 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13056 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13061 arg7
= (long)(SWIG_As_long(obj6
));
13062 if (SWIG_arg_fail(7)) SWIG_fail
;
13067 arg8
= (int)(SWIG_As_int(obj7
));
13068 if (SWIG_arg_fail(8)) SWIG_fail
;
13073 arg9
= (int)(SWIG_As_int(obj8
));
13074 if (SWIG_arg_fail(9)) SWIG_fail
;
13079 arg10
= (int)(SWIG_As_int(obj9
));
13080 if (SWIG_arg_fail(10)) SWIG_fail
;
13085 arg11
= wxString_in_helper(obj10
);
13086 if (arg11
== NULL
) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_From_int((int)(result
));
13150 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "value", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 arg2
= (int)(SWIG_As_int(obj1
));
13165 if (SWIG_arg_fail(2)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetValue(arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13184 wxString
*arg2
= 0 ;
13185 bool temp2
= false ;
13186 PyObject
* obj0
= 0 ;
13187 PyObject
* obj1
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "text", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail
;
13196 arg2
= wxString_in_helper(obj1
);
13197 if (arg2
== NULL
) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SetValue((wxString
const &)*arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13236 if (SWIG_arg_fail(1)) SWIG_fail
;
13238 arg2
= (int)(SWIG_As_int(obj1
));
13239 if (SWIG_arg_fail(2)) SWIG_fail
;
13242 arg3
= (int)(SWIG_As_int(obj2
));
13243 if (SWIG_arg_fail(3)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->SetRange(arg2
,arg3
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 Py_INCREF(Py_None
); resultobj
= Py_None
;
13259 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)(result
));
13287 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13298 if (SWIG_arg_fail(1)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_From_int((int)(result
));
13315 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "from",(char *) "to", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13329 if (SWIG_arg_fail(1)) SWIG_fail
;
13331 arg2
= (long)(SWIG_As_long(obj1
));
13332 if (SWIG_arg_fail(2)) SWIG_fail
;
13335 arg3
= (long)(SWIG_As_long(obj2
));
13336 if (SWIG_arg_fail(3)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 (arg1
)->SetSelection(arg2
,arg3
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 Py_INCREF(Py_None
); resultobj
= Py_None
;
13352 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13355 wxVisualAttributes result
;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "variant", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13364 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13365 if (SWIG_arg_fail(1)) SWIG_fail
;
13369 if (!wxPyCheckForApp()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 wxVisualAttributes
* resultptr
;
13378 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13387 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13390 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13392 return Py_BuildValue((char *)"");
13394 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13397 int arg2
= (int) 0 ;
13398 wxSpinEvent
*result
;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "commandType",(char *) "winid", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13408 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13409 if (SWIG_arg_fail(1)) SWIG_fail
;
13414 arg2
= (int)(SWIG_As_int(obj1
));
13415 if (SWIG_arg_fail(2)) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13432 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_From_int((int)(result
));
13460 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self",(char *) "pos", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail
;
13474 arg2
= (int)(SWIG_As_int(obj1
));
13475 if (SWIG_arg_fail(2)) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 (arg1
)->SetPosition(arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 Py_INCREF(Py_None
); resultobj
= Py_None
;
13491 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13496 return Py_BuildValue((char *)"");
13498 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13499 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13504 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13509 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13511 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13518 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13519 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13524 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13529 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13531 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13538 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxWindow
*arg1
= (wxWindow
*) 0 ;
13541 int arg2
= (int) -1 ;
13542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13548 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13549 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13550 int arg7
= (int) 0 ;
13551 long arg8
= (long) wxRA_HORIZONTAL
;
13552 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13553 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13554 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13555 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13556 wxRadioBox
*result
;
13557 bool temp3
= false ;
13560 bool temp6
= false ;
13561 bool temp10
= false ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 PyObject
* obj2
= 0 ;
13565 PyObject
* obj3
= 0 ;
13566 PyObject
* obj4
= 0 ;
13567 PyObject
* obj5
= 0 ;
13568 PyObject
* obj6
= 0 ;
13569 PyObject
* obj7
= 0 ;
13570 PyObject
* obj8
= 0 ;
13571 PyObject
* obj9
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail
;
13581 arg2
= (int)(SWIG_As_int(obj1
));
13582 if (SWIG_arg_fail(2)) SWIG_fail
;
13587 arg3
= wxString_in_helper(obj2
);
13588 if (arg3
== NULL
) SWIG_fail
;
13595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13606 if (! PySequence_Check(obj5
)) {
13607 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13610 arg6
= new wxArrayString
;
13612 int i
, len
=PySequence_Length(obj5
);
13613 for (i
=0; i
<len
; i
++) {
13614 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13616 PyObject
* str
= PyObject_Unicode(item
);
13618 PyObject
* str
= PyObject_Str(item
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13621 arg6
->Add(Py2wxString(str
));
13629 arg7
= (int)(SWIG_As_int(obj6
));
13630 if (SWIG_arg_fail(7)) SWIG_fail
;
13635 arg8
= (long)(SWIG_As_long(obj7
));
13636 if (SWIG_arg_fail(8)) SWIG_fail
;
13641 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13642 if (SWIG_arg_fail(9)) SWIG_fail
;
13643 if (arg9
== NULL
) {
13644 SWIG_null_ref("wxValidator");
13646 if (SWIG_arg_fail(9)) SWIG_fail
;
13651 arg10
= wxString_in_helper(obj9
);
13652 if (arg10
== NULL
) SWIG_fail
;
13657 if (!wxPyCheckForApp()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 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
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13670 if (temp6
) delete arg6
;
13683 if (temp6
) delete arg6
;
13693 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxRadioBox
*result
;
13696 char *kwnames
[] = {
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13702 if (!wxPyCheckForApp()) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (wxRadioBox
*)new wxRadioBox();
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13716 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13719 wxWindow
*arg2
= (wxWindow
*) 0 ;
13720 int arg3
= (int) -1 ;
13721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13723 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13724 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13725 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13726 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13727 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13728 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13729 int arg8
= (int) 0 ;
13730 long arg9
= (long) wxRA_HORIZONTAL
;
13731 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13732 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13733 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13734 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13736 bool temp4
= false ;
13739 bool temp7
= false ;
13740 bool temp11
= false ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 PyObject
* obj2
= 0 ;
13744 PyObject
* obj3
= 0 ;
13745 PyObject
* obj4
= 0 ;
13746 PyObject
* obj5
= 0 ;
13747 PyObject
* obj6
= 0 ;
13748 PyObject
* obj7
= 0 ;
13749 PyObject
* obj8
= 0 ;
13750 PyObject
* obj9
= 0 ;
13751 PyObject
* obj10
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13758 if (SWIG_arg_fail(1)) SWIG_fail
;
13759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13760 if (SWIG_arg_fail(2)) SWIG_fail
;
13763 arg3
= (int)(SWIG_As_int(obj2
));
13764 if (SWIG_arg_fail(3)) SWIG_fail
;
13769 arg4
= wxString_in_helper(obj3
);
13770 if (arg4
== NULL
) SWIG_fail
;
13777 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13783 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13788 if (! PySequence_Check(obj6
)) {
13789 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13792 arg7
= new wxArrayString
;
13794 int i
, len
=PySequence_Length(obj6
);
13795 for (i
=0; i
<len
; i
++) {
13796 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13798 PyObject
* str
= PyObject_Unicode(item
);
13800 PyObject
* str
= PyObject_Str(item
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13803 arg7
->Add(Py2wxString(str
));
13811 arg8
= (int)(SWIG_As_int(obj7
));
13812 if (SWIG_arg_fail(8)) SWIG_fail
;
13817 arg9
= (long)(SWIG_As_long(obj8
));
13818 if (SWIG_arg_fail(9)) SWIG_fail
;
13823 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13824 if (SWIG_arg_fail(10)) SWIG_fail
;
13825 if (arg10
== NULL
) {
13826 SWIG_null_ref("wxValidator");
13828 if (SWIG_arg_fail(10)) SWIG_fail
;
13833 arg11
= wxString_in_helper(obj10
);
13834 if (arg11
== NULL
) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 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
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13853 if (temp7
) delete arg7
;
13866 if (temp7
) delete arg7
;
13876 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "n", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail
;
13890 arg2
= (int)(SWIG_As_int(obj1
));
13891 if (SWIG_arg_fail(2)) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 (arg1
)->SetSelection(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13907 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13918 if (SWIG_arg_fail(1)) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_int((int)(result
));
13935 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13939 PyObject
* obj0
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13946 if (SWIG_arg_fail(1)) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13967 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13970 wxString
*arg2
= 0 ;
13972 bool temp2
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "s", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 arg2
= wxString_in_helper(obj1
);
13984 if (arg2
== NULL
) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14011 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14015 PyObject
* obj0
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14022 if (SWIG_arg_fail(1)) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_From_int((int)(result
));
14039 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14042 wxString
*arg2
= 0 ;
14044 bool temp2
= false ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self",(char *) "s", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14053 if (SWIG_arg_fail(1)) SWIG_fail
;
14055 arg2
= wxString_in_helper(obj1
);
14056 if (arg2
== NULL
) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_From_int((int)(result
));
14083 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "n", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail
;
14098 arg2
= (int)(SWIG_As_int(obj1
));
14099 if (SWIG_arg_fail(2)) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14121 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14125 wxString
*arg3
= 0 ;
14126 bool temp3
= false ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 PyObject
* obj2
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "n",(char *) "label", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail
;
14138 arg2
= (int)(SWIG_As_int(obj1
));
14139 if (SWIG_arg_fail(2)) SWIG_fail
;
14142 arg3
= wxString_in_helper(obj2
);
14143 if (arg3
== NULL
) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14168 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14172 bool arg3
= (bool) true ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 PyObject
* obj2
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "n",(char *) "enable", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14184 arg2
= (int)(SWIG_As_int(obj1
));
14185 if (SWIG_arg_fail(2)) SWIG_fail
;
14189 arg3
= (bool)(SWIG_As_bool(obj2
));
14190 if (SWIG_arg_fail(3)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 (arg1
)->Enable(arg2
,arg3
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 Py_INCREF(Py_None
); resultobj
= Py_None
;
14207 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14211 bool arg3
= (bool) true ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "n",(char *) "show", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 arg2
= (int)(SWIG_As_int(obj1
));
14224 if (SWIG_arg_fail(2)) SWIG_fail
;
14228 arg3
= (bool)(SWIG_As_bool(obj2
));
14229 if (SWIG_arg_fail(3)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->Show(arg2
,arg3
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14257 if (SWIG_arg_fail(1)) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_int((int)(result
));
14274 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_From_int((int)(result
));
14302 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 PyObject
* obj2
= 0 ;
14312 PyObject
* obj3
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 arg2
= (int)(SWIG_As_int(obj1
));
14322 if (SWIG_arg_fail(2)) SWIG_fail
;
14325 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14326 if (SWIG_arg_fail(3)) SWIG_fail
;
14329 arg4
= (long)(SWIG_As_long(obj3
));
14330 if (SWIG_arg_fail(4)) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_From_int((int)(result
));
14348 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14351 wxVisualAttributes result
;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "variant", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14360 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14361 if (SWIG_arg_fail(1)) SWIG_fail
;
14365 if (!wxPyCheckForApp()) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 wxVisualAttributes
* resultptr
;
14374 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14383 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14388 return Py_BuildValue((char *)"");
14390 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxWindow
*arg1
= (wxWindow
*) 0 ;
14393 int arg2
= (int) -1 ;
14394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14400 long arg6
= (long) 0 ;
14401 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14402 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14403 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14404 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14405 wxRadioButton
*result
;
14406 bool temp3
= false ;
14409 bool temp8
= false ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 PyObject
* obj2
= 0 ;
14413 PyObject
* obj3
= 0 ;
14414 PyObject
* obj4
= 0 ;
14415 PyObject
* obj5
= 0 ;
14416 PyObject
* obj6
= 0 ;
14417 PyObject
* obj7
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14424 if (SWIG_arg_fail(1)) SWIG_fail
;
14427 arg2
= (int)(SWIG_As_int(obj1
));
14428 if (SWIG_arg_fail(2)) SWIG_fail
;
14433 arg3
= wxString_in_helper(obj2
);
14434 if (arg3
== NULL
) SWIG_fail
;
14441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14452 arg6
= (long)(SWIG_As_long(obj5
));
14453 if (SWIG_arg_fail(6)) SWIG_fail
;
14458 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(7)) SWIG_fail
;
14460 if (arg7
== NULL
) {
14461 SWIG_null_ref("wxValidator");
14463 if (SWIG_arg_fail(7)) SWIG_fail
;
14468 arg8
= wxString_in_helper(obj7
);
14469 if (arg8
== NULL
) SWIG_fail
;
14474 if (!wxPyCheckForApp()) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14504 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxRadioButton
*result
;
14507 char *kwnames
[] = {
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14513 if (!wxPyCheckForApp()) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (wxRadioButton
*)new wxRadioButton();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14527 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14530 wxWindow
*arg2
= (wxWindow
*) 0 ;
14531 int arg3
= (int) -1 ;
14532 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14533 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14534 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14535 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14536 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14537 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14538 long arg7
= (long) 0 ;
14539 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14540 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14541 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14542 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14544 bool temp4
= false ;
14547 bool temp9
= false ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 PyObject
* obj2
= 0 ;
14551 PyObject
* obj3
= 0 ;
14552 PyObject
* obj4
= 0 ;
14553 PyObject
* obj5
= 0 ;
14554 PyObject
* obj6
= 0 ;
14555 PyObject
* obj7
= 0 ;
14556 PyObject
* obj8
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14565 if (SWIG_arg_fail(2)) SWIG_fail
;
14568 arg3
= (int)(SWIG_As_int(obj2
));
14569 if (SWIG_arg_fail(3)) SWIG_fail
;
14574 arg4
= wxString_in_helper(obj3
);
14575 if (arg4
== NULL
) SWIG_fail
;
14582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14588 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14593 arg7
= (long)(SWIG_As_long(obj6
));
14594 if (SWIG_arg_fail(7)) SWIG_fail
;
14599 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14600 if (SWIG_arg_fail(8)) SWIG_fail
;
14601 if (arg8
== NULL
) {
14602 SWIG_null_ref("wxValidator");
14604 if (SWIG_arg_fail(8)) SWIG_fail
;
14609 arg9
= wxString_in_helper(obj8
);
14610 if (arg9
== NULL
) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14646 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14657 if (SWIG_arg_fail(1)) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)(arg1
)->GetValue();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "value", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14686 if (SWIG_arg_fail(1)) SWIG_fail
;
14688 arg2
= (bool)(SWIG_As_bool(obj1
));
14689 if (SWIG_arg_fail(2)) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 (arg1
)->SetValue(arg2
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 Py_INCREF(Py_None
); resultobj
= Py_None
;
14705 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14708 wxVisualAttributes result
;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "variant", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14717 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14718 if (SWIG_arg_fail(1)) SWIG_fail
;
14722 if (!wxPyCheckForApp()) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 wxVisualAttributes
* resultptr
;
14731 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14740 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14743 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14745 return Py_BuildValue((char *)"");
14747 static int _wrap_SliderNameStr_set(PyObject
*) {
14748 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14753 static PyObject
*_wrap_SliderNameStr_get(void) {
14758 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14760 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14767 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxWindow
*arg1
= (wxWindow
*) 0 ;
14770 int arg2
= (int) -1 ;
14771 int arg3
= (int) 0 ;
14772 int arg4
= (int) 0 ;
14773 int arg5
= (int) 100 ;
14774 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14775 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14776 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14777 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14778 long arg8
= (long) wxSL_HORIZONTAL
;
14779 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14780 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14781 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14782 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14786 bool temp10
= false ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 PyObject
* obj4
= 0 ;
14792 PyObject
* obj5
= 0 ;
14793 PyObject
* obj6
= 0 ;
14794 PyObject
* obj7
= 0 ;
14795 PyObject
* obj8
= 0 ;
14796 PyObject
* obj9
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 arg2
= (int)(SWIG_As_int(obj1
));
14807 if (SWIG_arg_fail(2)) SWIG_fail
;
14812 arg3
= (int)(SWIG_As_int(obj2
));
14813 if (SWIG_arg_fail(3)) SWIG_fail
;
14818 arg4
= (int)(SWIG_As_int(obj3
));
14819 if (SWIG_arg_fail(4)) SWIG_fail
;
14824 arg5
= (int)(SWIG_As_int(obj4
));
14825 if (SWIG_arg_fail(5)) SWIG_fail
;
14831 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14837 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14842 arg8
= (long)(SWIG_As_long(obj7
));
14843 if (SWIG_arg_fail(8)) SWIG_fail
;
14848 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(9)) SWIG_fail
;
14850 if (arg9
== NULL
) {
14851 SWIG_null_ref("wxValidator");
14853 if (SWIG_arg_fail(9)) SWIG_fail
;
14858 arg10
= wxString_in_helper(obj9
);
14859 if (arg10
== NULL
) SWIG_fail
;
14864 if (!wxPyCheckForApp()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14886 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14889 char *kwnames
[] = {
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14895 if (!wxPyCheckForApp()) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxSlider
*)new wxSlider();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14909 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxSlider
*arg1
= (wxSlider
*) 0 ;
14912 wxWindow
*arg2
= (wxWindow
*) 0 ;
14913 int arg3
= (int) -1 ;
14914 int arg4
= (int) 0 ;
14915 int arg5
= (int) 0 ;
14916 int arg6
= (int) 100 ;
14917 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14918 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14919 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14920 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14921 long arg9
= (long) wxSL_HORIZONTAL
;
14922 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14923 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14924 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14925 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14929 bool temp11
= false ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 PyObject
* obj2
= 0 ;
14933 PyObject
* obj3
= 0 ;
14934 PyObject
* obj4
= 0 ;
14935 PyObject
* obj5
= 0 ;
14936 PyObject
* obj6
= 0 ;
14937 PyObject
* obj7
= 0 ;
14938 PyObject
* obj8
= 0 ;
14939 PyObject
* obj9
= 0 ;
14940 PyObject
* obj10
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail
;
14948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14949 if (SWIG_arg_fail(2)) SWIG_fail
;
14952 arg3
= (int)(SWIG_As_int(obj2
));
14953 if (SWIG_arg_fail(3)) SWIG_fail
;
14958 arg4
= (int)(SWIG_As_int(obj3
));
14959 if (SWIG_arg_fail(4)) SWIG_fail
;
14964 arg5
= (int)(SWIG_As_int(obj4
));
14965 if (SWIG_arg_fail(5)) SWIG_fail
;
14970 arg6
= (int)(SWIG_As_int(obj5
));
14971 if (SWIG_arg_fail(6)) SWIG_fail
;
14977 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14983 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14988 arg9
= (long)(SWIG_As_long(obj8
));
14989 if (SWIG_arg_fail(9)) SWIG_fail
;
14994 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(10)) SWIG_fail
;
14996 if (arg10
== NULL
) {
14997 SWIG_null_ref("wxValidator");
14999 if (SWIG_arg_fail(10)) SWIG_fail
;
15004 arg11
= wxString_in_helper(obj10
);
15005 if (arg11
== NULL
) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15033 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxSlider
*arg1
= (wxSlider
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_From_int((int)(result
));
15061 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxSlider
*arg1
= (wxSlider
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "value", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15073 if (SWIG_arg_fail(1)) SWIG_fail
;
15075 arg2
= (int)(SWIG_As_int(obj1
));
15076 if (SWIG_arg_fail(2)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetValue(arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxSlider
*arg1
= (wxSlider
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 PyObject
* obj2
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 arg2
= (int)(SWIG_As_int(obj1
));
15109 if (SWIG_arg_fail(2)) SWIG_fail
;
15112 arg3
= (int)(SWIG_As_int(obj2
));
15113 if (SWIG_arg_fail(3)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->SetRange(arg2
,arg3
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxSlider
*arg1
= (wxSlider
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15140 if (SWIG_arg_fail(1)) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= SWIG_From_int((int)(result
));
15157 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxSlider
*arg1
= (wxSlider
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15168 if (SWIG_arg_fail(1)) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_From_int((int)(result
));
15185 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxSlider
*arg1
= (wxSlider
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self",(char *) "minValue", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail
;
15199 arg2
= (int)(SWIG_As_int(obj1
));
15200 if (SWIG_arg_fail(2)) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 (arg1
)->SetMin(arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxSlider
*arg1
= (wxSlider
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self",(char *) "maxValue", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail
;
15230 arg2
= (int)(SWIG_As_int(obj1
));
15231 if (SWIG_arg_fail(2)) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->SetMax(arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 Py_INCREF(Py_None
); resultobj
= Py_None
;
15247 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxSlider
*arg1
= (wxSlider
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "lineSize", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail
;
15261 arg2
= (int)(SWIG_As_int(obj1
));
15262 if (SWIG_arg_fail(2)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->SetLineSize(arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxSlider
*arg1
= (wxSlider
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "pageSize", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail
;
15292 arg2
= (int)(SWIG_As_int(obj1
));
15293 if (SWIG_arg_fail(2)) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 (arg1
)->SetPageSize(arg2
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxSlider
*arg1
= (wxSlider
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_From_int((int)(result
));
15337 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxSlider
*arg1
= (wxSlider
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15348 if (SWIG_arg_fail(1)) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 resultobj
= SWIG_From_int((int)(result
));
15365 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxSlider
*arg1
= (wxSlider
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self",(char *) "lenPixels", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail
;
15379 arg2
= (int)(SWIG_As_int(obj1
));
15380 if (SWIG_arg_fail(2)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 (arg1
)->SetThumbLength(arg2
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 Py_INCREF(Py_None
); resultobj
= Py_None
;
15396 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxSlider
*arg1
= (wxSlider
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15407 if (SWIG_arg_fail(1)) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= SWIG_From_int((int)(result
));
15424 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxSlider
*arg1
= (wxSlider
*) 0 ;
15428 int arg3
= (int) 1 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 PyObject
* obj2
= 0 ;
15432 char *kwnames
[] = {
15433 (char *) "self",(char *) "n",(char *) "pos", NULL
15436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail
;
15440 arg2
= (int)(SWIG_As_int(obj1
));
15441 if (SWIG_arg_fail(2)) SWIG_fail
;
15445 arg3
= (int)(SWIG_As_int(obj2
));
15446 if (SWIG_arg_fail(3)) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->SetTickFreq(arg2
,arg3
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 Py_INCREF(Py_None
); resultobj
= Py_None
;
15463 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxSlider
*arg1
= (wxSlider
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15474 if (SWIG_arg_fail(1)) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_From_int((int)(result
));
15491 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxSlider
*arg1
= (wxSlider
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->ClearTicks();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxSlider
*arg1
= (wxSlider
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "tickPos", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15528 if (SWIG_arg_fail(1)) SWIG_fail
;
15530 arg2
= (int)(SWIG_As_int(obj1
));
15531 if (SWIG_arg_fail(2)) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->SetTick(arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15547 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxSlider
*arg1
= (wxSlider
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15557 if (SWIG_arg_fail(1)) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->ClearSel();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15572 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxSlider
*arg1
= (wxSlider
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_From_int((int)(result
));
15600 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxSlider
*arg1
= (wxSlider
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_From_int((int)(result
));
15628 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxSlider
*arg1
= (wxSlider
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 PyObject
* obj1
= 0 ;
15635 PyObject
* obj2
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "min",(char *) "max", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15642 if (SWIG_arg_fail(1)) SWIG_fail
;
15644 arg2
= (int)(SWIG_As_int(obj1
));
15645 if (SWIG_arg_fail(2)) SWIG_fail
;
15648 arg3
= (int)(SWIG_As_int(obj2
));
15649 if (SWIG_arg_fail(3)) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetSelection(arg2
,arg3
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15668 wxVisualAttributes result
;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "variant", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15677 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15678 if (SWIG_arg_fail(1)) SWIG_fail
;
15682 if (!wxPyCheckForApp()) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 wxVisualAttributes
* resultptr
;
15691 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15700 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15703 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15705 return Py_BuildValue((char *)"");
15707 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15708 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15713 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15718 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15720 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15727 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxWindow
*arg1
= (wxWindow
*) 0 ;
15730 int arg2
= (int) -1 ;
15731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15733 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15734 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15735 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15736 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15737 long arg6
= (long) 0 ;
15738 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15739 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15740 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15741 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15742 wxToggleButton
*result
;
15743 bool temp3
= false ;
15746 bool temp8
= false ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 PyObject
* obj2
= 0 ;
15750 PyObject
* obj3
= 0 ;
15751 PyObject
* obj4
= 0 ;
15752 PyObject
* obj5
= 0 ;
15753 PyObject
* obj6
= 0 ;
15754 PyObject
* obj7
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15761 if (SWIG_arg_fail(1)) SWIG_fail
;
15764 arg2
= (int)(SWIG_As_int(obj1
));
15765 if (SWIG_arg_fail(2)) SWIG_fail
;
15770 arg3
= wxString_in_helper(obj2
);
15771 if (arg3
== NULL
) SWIG_fail
;
15778 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15784 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15789 arg6
= (long)(SWIG_As_long(obj5
));
15790 if (SWIG_arg_fail(6)) SWIG_fail
;
15795 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15796 if (SWIG_arg_fail(7)) SWIG_fail
;
15797 if (arg7
== NULL
) {
15798 SWIG_null_ref("wxValidator");
15800 if (SWIG_arg_fail(7)) SWIG_fail
;
15805 arg8
= wxString_in_helper(obj7
);
15806 if (arg8
== NULL
) SWIG_fail
;
15811 if (!wxPyCheckForApp()) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15841 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxToggleButton
*result
;
15844 char *kwnames
[] = {
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15850 if (!wxPyCheckForApp()) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (wxToggleButton
*)new wxToggleButton();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15864 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15867 wxWindow
*arg2
= (wxWindow
*) 0 ;
15868 int arg3
= (int) -1 ;
15869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15871 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15872 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15873 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15874 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15875 long arg7
= (long) 0 ;
15876 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15877 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15878 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15879 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15881 bool temp4
= false ;
15884 bool temp9
= false ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 PyObject
* obj2
= 0 ;
15888 PyObject
* obj3
= 0 ;
15889 PyObject
* obj4
= 0 ;
15890 PyObject
* obj5
= 0 ;
15891 PyObject
* obj6
= 0 ;
15892 PyObject
* obj7
= 0 ;
15893 PyObject
* obj8
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15900 if (SWIG_arg_fail(1)) SWIG_fail
;
15901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15902 if (SWIG_arg_fail(2)) SWIG_fail
;
15905 arg3
= (int)(SWIG_As_int(obj2
));
15906 if (SWIG_arg_fail(3)) SWIG_fail
;
15911 arg4
= wxString_in_helper(obj3
);
15912 if (arg4
== NULL
) SWIG_fail
;
15919 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15925 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15930 arg7
= (long)(SWIG_As_long(obj6
));
15931 if (SWIG_arg_fail(7)) SWIG_fail
;
15936 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(8)) SWIG_fail
;
15938 if (arg8
== NULL
) {
15939 SWIG_null_ref("wxValidator");
15941 if (SWIG_arg_fail(8)) SWIG_fail
;
15946 arg9
= wxString_in_helper(obj8
);
15947 if (arg9
== NULL
) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15983 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "value", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15997 arg2
= (bool)(SWIG_As_bool(obj1
));
15998 if (SWIG_arg_fail(2)) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->SetValue(arg2
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16014 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16045 wxString
*arg2
= 0 ;
16046 bool temp2
= false ;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "label", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16055 if (SWIG_arg_fail(1)) SWIG_fail
;
16057 arg2
= wxString_in_helper(obj1
);
16058 if (arg2
== NULL
) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->SetLabel((wxString
const &)*arg2
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16083 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16086 wxVisualAttributes result
;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "variant", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16095 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16096 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 if (!wxPyCheckForApp()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 wxVisualAttributes
* resultptr
;
16109 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16118 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16121 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16123 return Py_BuildValue((char *)"");
16125 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
16126 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
16131 static PyObject
*_wrap_NOTEBOOK_NAME_get(void) {
16136 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
16138 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
16145 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16156 if (SWIG_arg_fail(1)) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16173 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self",(char *) "n", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16186 if (SWIG_arg_fail(1)) SWIG_fail
;
16188 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16189 if (SWIG_arg_fail(2)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= wxPyMake_wxObject(result
, 0);
16207 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= wxPyMake_wxObject(result
, 0);
16235 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16239 PyObject
* obj0
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_From_int((int)(result
));
16263 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16267 wxString
*arg3
= 0 ;
16269 bool temp3
= false ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 PyObject
* obj2
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self",(char *) "n",(char *) "strText", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16279 if (SWIG_arg_fail(1)) SWIG_fail
;
16281 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16282 if (SWIG_arg_fail(2)) SWIG_fail
;
16285 arg3
= wxString_in_helper(obj2
);
16286 if (arg3
== NULL
) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "n", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail
;
16328 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16329 if (SWIG_arg_fail(2)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16351 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16354 wxImageList
*arg2
= (wxImageList
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self",(char *) "imageList", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16363 if (SWIG_arg_fail(1)) SWIG_fail
;
16364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16365 if (SWIG_arg_fail(2)) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->SetImageList(arg2
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 Py_INCREF(Py_None
); resultobj
= Py_None
;
16380 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16383 wxImageList
*arg2
= (wxImageList
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self",(char *) "imageList", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16392 if (SWIG_arg_fail(1)) SWIG_fail
;
16393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16394 if (SWIG_arg_fail(2)) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 (arg1
)->AssignImageList(arg2
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 Py_INCREF(Py_None
); resultobj
= Py_None
;
16409 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16412 wxImageList
*result
;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= wxPyMake_wxObject(result
, 0);
16437 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "n", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail
;
16452 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16453 if (SWIG_arg_fail(2)) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_From_int((int)(result
));
16471 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 PyObject
* obj2
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "n",(char *) "imageId", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16489 if (SWIG_arg_fail(2)) SWIG_fail
;
16492 arg3
= (int)(SWIG_As_int(obj2
));
16493 if (SWIG_arg_fail(3)) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16511 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 PyObject
* obj1
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self",(char *) "size", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16524 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 PyObject
* obj1
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "sizePage", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16557 if (SWIG_arg_fail(1)) SWIG_fail
;
16560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16570 wxSize
* resultptr
;
16571 resultptr
= new wxSize((wxSize
&)(result
));
16572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16580 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "n", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16593 if (SWIG_arg_fail(1)) SWIG_fail
;
16595 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16596 if (SWIG_arg_fail(2)) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (bool)(arg1
)->DeletePage(arg2
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16614 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self",(char *) "n", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail
;
16629 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16630 if (SWIG_arg_fail(2)) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)(arg1
)->RemovePage(arg2
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16648 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (bool)(arg1
)->DeleteAllPages();
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16676 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
;
16678 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16679 wxWindow
*arg2
= (wxWindow
*) 0 ;
16680 wxString
*arg3
= 0 ;
16681 bool arg4
= (bool) false ;
16682 int arg5
= (int) -1 ;
16684 bool temp3
= false ;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 PyObject
* obj2
= 0 ;
16688 PyObject
* obj3
= 0 ;
16689 PyObject
* obj4
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16696 if (SWIG_arg_fail(1)) SWIG_fail
;
16697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16698 if (SWIG_arg_fail(2)) SWIG_fail
;
16700 arg3
= wxString_in_helper(obj2
);
16701 if (arg3
== NULL
) SWIG_fail
;
16706 arg4
= (bool)(SWIG_As_bool(obj3
));
16707 if (SWIG_arg_fail(4)) SWIG_fail
;
16712 arg5
= (int)(SWIG_As_int(obj4
));
16713 if (SWIG_arg_fail(5)) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16744 wxWindow
*arg3
= (wxWindow
*) 0 ;
16745 wxString
*arg4
= 0 ;
16746 bool arg5
= (bool) false ;
16747 int arg6
= (int) -1 ;
16749 bool temp4
= false ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 PyObject
* obj3
= 0 ;
16754 PyObject
* obj4
= 0 ;
16755 PyObject
* obj5
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail
;
16764 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16765 if (SWIG_arg_fail(2)) SWIG_fail
;
16767 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16768 if (SWIG_arg_fail(3)) SWIG_fail
;
16770 arg4
= wxString_in_helper(obj3
);
16771 if (arg4
== NULL
) SWIG_fail
;
16776 arg5
= (bool)(SWIG_As_bool(obj4
));
16777 if (SWIG_arg_fail(5)) SWIG_fail
;
16782 arg6
= (int)(SWIG_As_int(obj5
));
16783 if (SWIG_arg_fail(6)) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16810 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "n", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail
;
16825 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16826 if (SWIG_arg_fail(2)) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (int)(arg1
)->SetSelection(arg2
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_From_int((int)(result
));
16844 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16847 bool arg2
= (bool) true ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self",(char *) "forward", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail
;
16859 arg2
= (bool)(SWIG_As_bool(obj1
));
16860 if (SWIG_arg_fail(2)) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 (arg1
)->AdvanceSelection(arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 Py_INCREF(Py_None
); resultobj
= Py_None
;
16877 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16880 wxVisualAttributes result
;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "variant", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16889 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16890 if (SWIG_arg_fail(1)) SWIG_fail
;
16894 if (!wxPyCheckForApp()) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 wxVisualAttributes
* resultptr
;
16903 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16912 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16915 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16917 return Py_BuildValue((char *)"");
16919 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16922 int arg2
= (int) 0 ;
16923 int arg3
= (int) -1 ;
16924 int arg4
= (int) -1 ;
16925 wxBookCtrlBaseEvent
*result
;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 PyObject
* obj3
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16937 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16938 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 arg2
= (int)(SWIG_As_int(obj1
));
16944 if (SWIG_arg_fail(2)) SWIG_fail
;
16949 arg3
= (int)(SWIG_As_int(obj2
));
16950 if (SWIG_arg_fail(3)) SWIG_fail
;
16955 arg4
= (int)(SWIG_As_int(obj3
));
16956 if (SWIG_arg_fail(4)) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16973 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_From_int((int)(result
));
17001 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "nSel", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17013 if (SWIG_arg_fail(1)) SWIG_fail
;
17015 arg2
= (int)(SWIG_As_int(obj1
));
17016 if (SWIG_arg_fail(2)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->SetSelection(arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 Py_INCREF(Py_None
); resultobj
= Py_None
;
17032 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_From_int((int)(result
));
17060 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char *kwnames
[] = {
17067 (char *) "self",(char *) "nOldSel", NULL
17070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17072 if (SWIG_arg_fail(1)) SWIG_fail
;
17074 arg2
= (int)(SWIG_As_int(obj1
));
17075 if (SWIG_arg_fail(2)) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 (arg1
)->SetOldSelection(arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 Py_INCREF(Py_None
); resultobj
= Py_None
;
17091 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17094 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17096 return Py_BuildValue((char *)"");
17098 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxWindow
*arg1
= (wxWindow
*) 0 ;
17101 int arg2
= (int) -1 ;
17102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17106 long arg5
= (long) 0 ;
17107 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
17108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17109 wxNotebook
*result
;
17112 bool temp6
= false ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 PyObject
* obj3
= 0 ;
17117 PyObject
* obj4
= 0 ;
17118 PyObject
* obj5
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 arg2
= (int)(SWIG_As_int(obj1
));
17129 if (SWIG_arg_fail(2)) SWIG_fail
;
17135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17146 arg5
= (long)(SWIG_As_long(obj4
));
17147 if (SWIG_arg_fail(5)) SWIG_fail
;
17152 arg6
= wxString_in_helper(obj5
);
17153 if (arg6
== NULL
) SWIG_fail
;
17158 if (!wxPyCheckForApp()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17180 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxNotebook
*result
;
17183 char *kwnames
[] = {
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17189 if (!wxPyCheckForApp()) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (wxNotebook
*)new wxNotebook();
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17203 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17206 wxWindow
*arg2
= (wxWindow
*) 0 ;
17207 int arg3
= (int) -1 ;
17208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17212 long arg6
= (long) 0 ;
17213 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
17214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17218 bool temp7
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 PyObject
* obj2
= 0 ;
17222 PyObject
* obj3
= 0 ;
17223 PyObject
* obj4
= 0 ;
17224 PyObject
* obj5
= 0 ;
17225 PyObject
* obj6
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail
;
17233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17234 if (SWIG_arg_fail(2)) SWIG_fail
;
17237 arg3
= (int)(SWIG_As_int(obj2
));
17238 if (SWIG_arg_fail(3)) SWIG_fail
;
17244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17255 arg6
= (long)(SWIG_As_long(obj5
));
17256 if (SWIG_arg_fail(6)) SWIG_fail
;
17261 arg7
= wxString_in_helper(obj6
);
17262 if (arg7
== NULL
) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17290 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_From_int((int)(result
));
17318 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "padding", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17350 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self",(char *) "sz", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 Py_INCREF(Py_None
); resultobj
= Py_None
;
17382 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17385 wxPoint
*arg2
= 0 ;
17386 long *arg3
= (long *) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self",(char *) "pt", NULL
17397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail
;
17403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_From_int((int)(result
));
17415 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17416 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17423 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self",(char *) "sizePage", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17437 if (SWIG_arg_fail(1)) SWIG_fail
;
17440 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 wxSize
* resultptr
;
17451 resultptr
= new wxSize((wxSize
&)(result
));
17452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17460 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17463 wxVisualAttributes result
;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "variant", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17472 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17473 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 if (!wxPyCheckForApp()) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 wxVisualAttributes
* resultptr
;
17486 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17495 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17498 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17500 return Py_BuildValue((char *)"");
17502 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17505 int arg2
= (int) 0 ;
17506 int arg3
= (int) -1 ;
17507 int arg4
= (int) -1 ;
17508 wxNotebookEvent
*result
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 PyObject
* obj3
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17520 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17521 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 arg2
= (int)(SWIG_As_int(obj1
));
17527 if (SWIG_arg_fail(2)) SWIG_fail
;
17532 arg3
= (int)(SWIG_As_int(obj2
));
17533 if (SWIG_arg_fail(3)) SWIG_fail
;
17538 arg4
= (int)(SWIG_As_int(obj3
));
17539 if (SWIG_arg_fail(4)) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17556 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17559 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17561 return Py_BuildValue((char *)"");
17563 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxWindow
*arg1
= (wxWindow
*) 0 ;
17566 int arg2
= (int) -1 ;
17567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17571 long arg5
= (long) 0 ;
17572 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17573 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17574 wxListbook
*result
;
17577 bool temp6
= false ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 PyObject
* obj3
= 0 ;
17582 PyObject
* obj4
= 0 ;
17583 PyObject
* obj5
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail
;
17593 arg2
= (int)(SWIG_As_int(obj1
));
17594 if (SWIG_arg_fail(2)) SWIG_fail
;
17600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17611 arg5
= (long)(SWIG_As_long(obj4
));
17612 if (SWIG_arg_fail(5)) SWIG_fail
;
17617 arg6
= wxString_in_helper(obj5
);
17618 if (arg6
== NULL
) SWIG_fail
;
17623 if (!wxPyCheckForApp()) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17645 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17647 wxListbook
*result
;
17648 char *kwnames
[] = {
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17654 if (!wxPyCheckForApp()) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxListbook
*)new wxListbook();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17668 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxListbook
*arg1
= (wxListbook
*) 0 ;
17671 wxWindow
*arg2
= (wxWindow
*) 0 ;
17672 int arg3
= (int) -1 ;
17673 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17674 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17675 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17676 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17677 long arg6
= (long) 0 ;
17678 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17679 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17683 bool temp7
= false ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 PyObject
* obj2
= 0 ;
17687 PyObject
* obj3
= 0 ;
17688 PyObject
* obj4
= 0 ;
17689 PyObject
* obj5
= 0 ;
17690 PyObject
* obj6
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17697 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17699 if (SWIG_arg_fail(2)) SWIG_fail
;
17702 arg3
= (int)(SWIG_As_int(obj2
));
17703 if (SWIG_arg_fail(3)) SWIG_fail
;
17709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17720 arg6
= (long)(SWIG_As_long(obj5
));
17721 if (SWIG_arg_fail(6)) SWIG_fail
;
17726 arg7
= wxString_in_helper(obj6
);
17727 if (arg7
== NULL
) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17755 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxListbook
*arg1
= (wxListbook
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17766 if (SWIG_arg_fail(1)) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17783 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxListbook
*arg1
= (wxListbook
*) 0 ;
17786 wxListView
*result
;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (wxListView
*)(arg1
)->GetListView();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17809 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17812 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17814 return Py_BuildValue((char *)"");
17816 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17819 int arg2
= (int) 0 ;
17820 int arg3
= (int) -1 ;
17821 int arg4
= (int) -1 ;
17822 wxListbookEvent
*result
;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 PyObject
* obj2
= 0 ;
17826 PyObject
* obj3
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17834 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17835 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 arg2
= (int)(SWIG_As_int(obj1
));
17841 if (SWIG_arg_fail(2)) SWIG_fail
;
17846 arg3
= (int)(SWIG_As_int(obj2
));
17847 if (SWIG_arg_fail(3)) SWIG_fail
;
17852 arg4
= (int)(SWIG_As_int(obj3
));
17853 if (SWIG_arg_fail(4)) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17870 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17873 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17875 return Py_BuildValue((char *)"");
17877 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxWindow
*arg1
= (wxWindow
*) 0 ;
17881 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17882 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17883 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17884 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17885 long arg5
= (long) 0 ;
17886 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17887 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17888 wxChoicebook
*result
;
17891 bool temp6
= false ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 PyObject
* obj2
= 0 ;
17895 PyObject
* obj3
= 0 ;
17896 PyObject
* obj4
= 0 ;
17897 PyObject
* obj5
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17906 arg2
= (int)(SWIG_As_int(obj1
));
17907 if (SWIG_arg_fail(2)) SWIG_fail
;
17912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17918 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17923 arg5
= (long)(SWIG_As_long(obj4
));
17924 if (SWIG_arg_fail(5)) SWIG_fail
;
17929 arg6
= wxString_in_helper(obj5
);
17930 if (arg6
== NULL
) SWIG_fail
;
17935 if (!wxPyCheckForApp()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17957 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxChoicebook
*result
;
17960 char *kwnames
[] = {
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17966 if (!wxPyCheckForApp()) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (wxChoicebook
*)new wxChoicebook();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17980 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17983 wxWindow
*arg2
= (wxWindow
*) 0 ;
17985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17989 long arg6
= (long) 0 ;
17990 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17995 bool temp7
= false ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 PyObject
* obj3
= 0 ;
18000 PyObject
* obj4
= 0 ;
18001 PyObject
* obj5
= 0 ;
18002 PyObject
* obj6
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail
;
18010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18011 if (SWIG_arg_fail(2)) SWIG_fail
;
18013 arg3
= (int)(SWIG_As_int(obj2
));
18014 if (SWIG_arg_fail(3)) SWIG_fail
;
18019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18030 arg6
= (long)(SWIG_As_long(obj5
));
18031 if (SWIG_arg_fail(6)) SWIG_fail
;
18036 arg7
= wxString_in_helper(obj6
);
18037 if (arg7
== NULL
) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18065 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (bool)(arg1
)->DeleteAllPages();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18121 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18124 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18126 return Py_BuildValue((char *)"");
18128 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18131 int arg2
= (int) 0 ;
18132 int arg3
= (int) -1 ;
18133 int arg4
= (int) -1 ;
18134 wxChoicebookEvent
*result
;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 PyObject
* obj3
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18146 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18147 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 arg2
= (int)(SWIG_As_int(obj1
));
18153 if (SWIG_arg_fail(2)) SWIG_fail
;
18158 arg3
= (int)(SWIG_As_int(obj2
));
18159 if (SWIG_arg_fail(3)) SWIG_fail
;
18164 arg4
= (int)(SWIG_As_int(obj3
));
18165 if (SWIG_arg_fail(4)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18182 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18185 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18187 return Py_BuildValue((char *)"");
18189 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18192 wxBookCtrlSizer
*result
;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "nb", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18215 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->RecalcSizes();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (arg1
)->CalcMin();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 wxSize
* resultptr
;
18261 resultptr
= new wxSize((wxSize
&)(result
));
18262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18270 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18273 wxBookCtrlBase
*result
;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18296 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18299 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18301 return Py_BuildValue((char *)"");
18303 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18306 wxNotebookSizer
*result
;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "nb", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18314 if (SWIG_arg_fail(1)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18329 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 (arg1
)->RecalcSizes();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 Py_INCREF(Py_None
); resultobj
= Py_None
;
18354 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 result
= (arg1
)->CalcMin();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 wxSize
* resultptr
;
18375 resultptr
= new wxSize((wxSize
&)(result
));
18376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18384 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18387 wxNotebook
*result
;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= wxPyMake_wxObject(result
, 0);
18412 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18415 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18417 return Py_BuildValue((char *)"");
18419 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (int)(arg1
)->GetId();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_From_int((int)(result
));
18447 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18451 PyObject
* obj0
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18458 if (SWIG_arg_fail(1)) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (wxControl
*)(arg1
)->GetControl();
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= wxPyMake_wxObject(result
, 0);
18475 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18478 wxToolBarBase
*result
;
18479 PyObject
* obj0
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18486 if (SWIG_arg_fail(1)) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= wxPyMake_wxObject(result
, 0);
18503 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (int)(arg1
)->IsButton();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_From_int((int)(result
));
18531 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (int)(arg1
)->IsControl();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_From_int((int)(result
));
18559 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (int)(arg1
)->IsSeparator();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_From_int((int)(result
));
18587 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 result
= (int)(arg1
)->GetStyle();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_From_int((int)(result
));
18615 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18626 if (SWIG_arg_fail(1)) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (wxItemKind
)(arg1
)->GetKind();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_From_int((result
));
18641 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18652 if (SWIG_arg_fail(1)) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (bool)(arg1
)->IsEnabled();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18669 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (bool)(arg1
)->IsToggled();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18697 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (bool)(arg1
)->CanBeToggled();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18725 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18741 result
= (wxBitmap
*) &_result_ref
;
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 wxBitmap
* resultptr
= new wxBitmap(*result
);
18749 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18757 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18773 result
= (wxBitmap
*) &_result_ref
;
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 wxBitmap
* resultptr
= new wxBitmap(*result
);
18781 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18789 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18800 if (SWIG_arg_fail(1)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (arg1
)->GetBitmap();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18809 wxBitmap
* resultptr
;
18810 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18819 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (arg1
)->GetLabel();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18851 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= (arg1
)->GetShortHelp();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18883 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18894 if (SWIG_arg_fail(1)) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (arg1
)->GetLongHelp();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18915 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self",(char *) "enable", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
18931 if (SWIG_arg_fail(2)) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (bool)(arg1
)->Enable(arg2
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self",(char *) "toggle", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 arg2
= (bool)(SWIG_As_bool(obj1
));
18990 if (SWIG_arg_fail(2)) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (bool)(arg1
)->SetToggle(arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19011 wxString
*arg2
= 0 ;
19013 bool temp2
= false ;
19014 PyObject
* obj0
= 0 ;
19015 PyObject
* obj1
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self",(char *) "help", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail
;
19024 arg2
= wxString_in_helper(obj1
);
19025 if (arg2
== NULL
) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19052 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19055 wxString
*arg2
= 0 ;
19057 bool temp2
= false ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "help", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19066 if (SWIG_arg_fail(1)) SWIG_fail
;
19068 arg2
= wxString_in_helper(obj1
);
19069 if (arg2
== NULL
) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19099 wxBitmap
*arg2
= 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "bmp", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19108 if (SWIG_arg_fail(1)) SWIG_fail
;
19110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(2)) SWIG_fail
;
19112 if (arg2
== NULL
) {
19113 SWIG_null_ref("wxBitmap");
19115 if (SWIG_arg_fail(2)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19134 wxBitmap
*arg2
= 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "bmp", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail
;
19145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19146 if (SWIG_arg_fail(2)) SWIG_fail
;
19147 if (arg2
== NULL
) {
19148 SWIG_null_ref("wxBitmap");
19150 if (SWIG_arg_fail(2)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19169 wxString
*arg2
= 0 ;
19170 bool temp2
= false ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "label", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail
;
19181 arg2
= wxString_in_helper(obj1
);
19182 if (arg2
== NULL
) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->SetLabel((wxString
const &)*arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 Py_INCREF(Py_None
); resultobj
= Py_None
;
19232 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19235 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 PyObject
* obj1
= 0 ;
19238 char *kwnames
[] = {
19239 (char *) "self",(char *) "tbar", NULL
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19244 if (SWIG_arg_fail(1)) SWIG_fail
;
19245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19246 if (SWIG_arg_fail(2)) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->Attach(arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 Py_INCREF(Py_None
); resultobj
= Py_None
;
19261 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19272 if (SWIG_arg_fail(1)) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= result
;
19287 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19288 PyObject
*resultobj
;
19289 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19290 PyObject
*arg2
= (PyObject
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "clientData", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19299 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19318 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19320 return Py_BuildValue((char *)"");
19322 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19326 wxString
*arg3
= 0 ;
19327 wxBitmap
*arg4
= 0 ;
19328 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19329 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19330 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19331 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19333 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19335 PyObject
*arg9
= (PyObject
*) NULL
;
19336 wxToolBarToolBase
*result
;
19337 bool temp3
= false ;
19338 bool temp7
= false ;
19339 bool temp8
= false ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 PyObject
* obj2
= 0 ;
19343 PyObject
* obj3
= 0 ;
19344 PyObject
* obj4
= 0 ;
19345 PyObject
* obj5
= 0 ;
19346 PyObject
* obj6
= 0 ;
19347 PyObject
* obj7
= 0 ;
19348 PyObject
* obj8
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19355 if (SWIG_arg_fail(1)) SWIG_fail
;
19357 arg2
= (int)(SWIG_As_int(obj1
));
19358 if (SWIG_arg_fail(2)) SWIG_fail
;
19361 arg3
= wxString_in_helper(obj2
);
19362 if (arg3
== NULL
) SWIG_fail
;
19366 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19367 if (SWIG_arg_fail(4)) SWIG_fail
;
19368 if (arg4
== NULL
) {
19369 SWIG_null_ref("wxBitmap");
19371 if (SWIG_arg_fail(4)) SWIG_fail
;
19375 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19376 if (SWIG_arg_fail(5)) SWIG_fail
;
19377 if (arg5
== NULL
) {
19378 SWIG_null_ref("wxBitmap");
19380 if (SWIG_arg_fail(5)) SWIG_fail
;
19385 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19386 if (SWIG_arg_fail(6)) SWIG_fail
;
19391 arg7
= wxString_in_helper(obj6
);
19392 if (arg7
== NULL
) SWIG_fail
;
19398 arg8
= wxString_in_helper(obj7
);
19399 if (arg8
== NULL
) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= wxPyMake_wxObject(result
, 0);
19446 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19451 wxString
*arg4
= 0 ;
19452 wxBitmap
*arg5
= 0 ;
19453 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19454 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19455 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19456 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19458 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19460 PyObject
*arg10
= (PyObject
*) NULL
;
19461 wxToolBarToolBase
*result
;
19462 bool temp4
= false ;
19463 bool temp8
= false ;
19464 bool temp9
= false ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 PyObject
* obj3
= 0 ;
19469 PyObject
* obj4
= 0 ;
19470 PyObject
* obj5
= 0 ;
19471 PyObject
* obj6
= 0 ;
19472 PyObject
* obj7
= 0 ;
19473 PyObject
* obj8
= 0 ;
19474 PyObject
* obj9
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19481 if (SWIG_arg_fail(1)) SWIG_fail
;
19483 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19484 if (SWIG_arg_fail(2)) SWIG_fail
;
19487 arg3
= (int)(SWIG_As_int(obj2
));
19488 if (SWIG_arg_fail(3)) SWIG_fail
;
19491 arg4
= wxString_in_helper(obj3
);
19492 if (arg4
== NULL
) SWIG_fail
;
19496 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(5)) SWIG_fail
;
19498 if (arg5
== NULL
) {
19499 SWIG_null_ref("wxBitmap");
19501 if (SWIG_arg_fail(5)) SWIG_fail
;
19505 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19506 if (SWIG_arg_fail(6)) SWIG_fail
;
19507 if (arg6
== NULL
) {
19508 SWIG_null_ref("wxBitmap");
19510 if (SWIG_arg_fail(6)) SWIG_fail
;
19515 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19516 if (SWIG_arg_fail(7)) SWIG_fail
;
19521 arg8
= wxString_in_helper(obj7
);
19522 if (arg8
== NULL
) SWIG_fail
;
19528 arg9
= wxString_in_helper(obj8
);
19529 if (arg9
== NULL
) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 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
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= wxPyMake_wxObject(result
, 0);
19576 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19579 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19580 wxToolBarToolBase
*result
;
19581 PyObject
* obj0
= 0 ;
19582 PyObject
* obj1
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self",(char *) "tool", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19589 if (SWIG_arg_fail(1)) SWIG_fail
;
19590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19591 if (SWIG_arg_fail(2)) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= wxPyMake_wxObject(result
, 0);
19608 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19612 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19613 wxToolBarToolBase
*result
;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 PyObject
* obj2
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "pos",(char *) "tool", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail
;
19625 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19626 if (SWIG_arg_fail(2)) SWIG_fail
;
19628 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19629 if (SWIG_arg_fail(3)) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= wxPyMake_wxObject(result
, 0);
19646 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19649 wxControl
*arg2
= (wxControl
*) 0 ;
19650 wxToolBarToolBase
*result
;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "control", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail
;
19660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19661 if (SWIG_arg_fail(2)) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= wxPyMake_wxObject(result
, 0);
19678 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19682 wxControl
*arg3
= (wxControl
*) 0 ;
19683 wxToolBarToolBase
*result
;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 PyObject
* obj2
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self",(char *) "pos",(char *) "control", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail
;
19695 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19696 if (SWIG_arg_fail(2)) SWIG_fail
;
19698 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19699 if (SWIG_arg_fail(3)) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= wxPyMake_wxObject(result
, 0);
19716 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self",(char *) "id", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 arg2
= (int)(SWIG_As_int(obj1
));
19732 if (SWIG_arg_fail(2)) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= wxPyMake_wxObject(result
, 0);
19750 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19753 wxToolBarToolBase
*result
;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= wxPyMake_wxObject(result
, 0);
19778 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19782 wxToolBarToolBase
*result
;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "pos", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19791 if (SWIG_arg_fail(1)) SWIG_fail
;
19793 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19794 if (SWIG_arg_fail(2)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= wxPyMake_wxObject(result
, 0);
19812 static PyObject
*_wrap_ToolBarBase_RemoveTool(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 *) "id", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",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
= (int)(SWIG_As_int(obj1
));
19828 if (SWIG_arg_fail(2)) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= wxPyMake_wxObject(result
, 0);
19846 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self",(char *) "pos", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",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
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19862 if (SWIG_arg_fail(2)) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19880 static PyObject
*_wrap_ToolBarBase_DeleteTool(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 *) "id", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",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
= (int)(SWIG_As_int(obj1
));
19896 if (SWIG_arg_fail(2)) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= (bool)(arg1
)->DeleteTool(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_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->ClearTools();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->Realize();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 PyObject
* obj2
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self",(char *) "id",(char *) "enable", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 arg2
= (int)(SWIG_As_int(obj1
));
19984 if (SWIG_arg_fail(2)) SWIG_fail
;
19987 arg3
= (bool)(SWIG_As_bool(obj2
));
19988 if (SWIG_arg_fail(3)) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 (arg1
)->EnableTool(arg2
,arg3
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 Py_INCREF(Py_None
); resultobj
= Py_None
;
20004 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 PyObject
* obj2
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "id",(char *) "toggle", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20020 arg2
= (int)(SWIG_As_int(obj1
));
20021 if (SWIG_arg_fail(2)) SWIG_fail
;
20024 arg3
= (bool)(SWIG_As_bool(obj2
));
20025 if (SWIG_arg_fail(3)) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 (arg1
)->ToggleTool(arg2
,arg3
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 Py_INCREF(Py_None
); resultobj
= Py_None
;
20041 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "id",(char *) "toggle", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 arg2
= (int)(SWIG_As_int(obj1
));
20058 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 arg3
= (bool)(SWIG_As_bool(obj2
));
20062 if (SWIG_arg_fail(3)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetToggle(arg2
,arg3
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self",(char *) "id", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20091 if (SWIG_arg_fail(1)) SWIG_fail
;
20093 arg2
= (int)(SWIG_As_int(obj1
));
20094 if (SWIG_arg_fail(2)) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
;
20110 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20114 PyObject
*arg3
= (PyObject
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 PyObject
* obj2
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "id",(char *) "clientData", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20124 if (SWIG_arg_fail(1)) SWIG_fail
;
20126 arg2
= (int)(SWIG_As_int(obj1
));
20127 if (SWIG_arg_fail(2)) SWIG_fail
;
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 Py_INCREF(Py_None
); resultobj
= Py_None
;
20144 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "id", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20159 arg2
= (int)(SWIG_As_int(obj1
));
20160 if (SWIG_arg_fail(2)) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_From_int((int)(result
));
20178 static PyObject
*_wrap_ToolBarBase_GetToolState(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_GetToolState",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
= (bool)(arg1
)->GetToolState(arg2
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20212 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(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_GetToolEnabled",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
)->GetToolEnabled(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_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20250 wxString
*arg3
= 0 ;
20251 bool temp3
= false ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 PyObject
* obj2
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "id",(char *) "helpString", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail
;
20263 arg2
= (int)(SWIG_As_int(obj1
));
20264 if (SWIG_arg_fail(2)) SWIG_fail
;
20267 arg3
= wxString_in_helper(obj2
);
20268 if (arg3
== NULL
) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "id", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail
;
20308 arg2
= (int)(SWIG_As_int(obj1
));
20309 if (SWIG_arg_fail(2)) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 result
= (arg1
)->GetToolShortHelp(arg2
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20331 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20335 wxString
*arg3
= 0 ;
20336 bool temp3
= false ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 PyObject
* obj2
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "id",(char *) "helpString", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 arg2
= (int)(SWIG_As_int(obj1
));
20349 if (SWIG_arg_fail(2)) SWIG_fail
;
20352 arg3
= wxString_in_helper(obj2
);
20353 if (arg3
== NULL
) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "id", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 arg2
= (int)(SWIG_As_int(obj1
));
20394 if (SWIG_arg_fail(2)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (arg1
)->GetToolLongHelp(arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20416 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 PyObject
* obj1
= 0 ;
20423 PyObject
* obj2
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self",(char *) "x",(char *) "y", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20430 if (SWIG_arg_fail(1)) SWIG_fail
;
20432 arg2
= (int)(SWIG_As_int(obj1
));
20433 if (SWIG_arg_fail(2)) SWIG_fail
;
20436 arg3
= (int)(SWIG_As_int(obj2
));
20437 if (SWIG_arg_fail(3)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->SetMargins(arg2
,arg3
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "size", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "packing", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail
;
20499 arg2
= (int)(SWIG_As_int(obj1
));
20500 if (SWIG_arg_fail(2)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 (arg1
)->SetToolPacking(arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 Py_INCREF(Py_None
); resultobj
= Py_None
;
20516 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "separation", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 arg2
= (int)(SWIG_As_int(obj1
));
20531 if (SWIG_arg_fail(2)) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->SetToolSeparation(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (arg1
)->GetToolMargins();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 wxSize
* resultptr
;
20568 resultptr
= new wxSize((wxSize
&)(result
));
20569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20577 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (arg1
)->GetMargins();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20597 wxSize
* resultptr
;
20598 resultptr
= new wxSize((wxSize
&)(result
));
20599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20607 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
;
20609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (int)(arg1
)->GetToolPacking();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= SWIG_From_int((int)(result
));
20635 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20646 if (SWIG_arg_fail(1)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (int)(arg1
)->GetToolSeparation();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_From_int((int)(result
));
20663 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self",(char *) "nRows", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 arg2
= (int)(SWIG_As_int(obj1
));
20678 if (SWIG_arg_fail(2)) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->SetRows(arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 Py_INCREF(Py_None
); resultobj
= Py_None
;
20694 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 PyObject
* obj2
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "rows",(char *) "cols", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20710 arg2
= (int)(SWIG_As_int(obj1
));
20711 if (SWIG_arg_fail(2)) SWIG_fail
;
20714 arg3
= (int)(SWIG_As_int(obj2
));
20715 if (SWIG_arg_fail(3)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (int)(arg1
)->GetMaxRows();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_From_int((int)(result
));
20759 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (int)(arg1
)->GetMaxCols();
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_From_int((int)(result
));
20787 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self",(char *) "size", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 Py_INCREF(Py_None
); resultobj
= Py_None
;
20819 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (arg1
)->GetToolBitmapSize();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 wxSize
* resultptr
;
20840 resultptr
= new wxSize((wxSize
&)(result
));
20841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20849 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20853 PyObject
* obj0
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 result
= (arg1
)->GetToolSize();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 wxSize
* resultptr
;
20870 resultptr
= new wxSize((wxSize
&)(result
));
20871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20879 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20884 wxToolBarToolBase
*result
;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 PyObject
* obj2
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self",(char *) "x",(char *) "y", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20897 if (SWIG_arg_fail(2)) SWIG_fail
;
20900 arg3
= (int)(SWIG_As_int(obj2
));
20901 if (SWIG_arg_fail(3)) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= wxPyMake_wxObject(result
, 0);
20919 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20923 wxToolBarToolBase
*result
;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self",(char *) "toolid", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail
;
20934 arg2
= (int)(SWIG_As_int(obj1
));
20935 if (SWIG_arg_fail(2)) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= wxPyMake_wxObject(result
, 0);
20953 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (bool)(arg1
)->IsVertical();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20981 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20984 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20986 return Py_BuildValue((char *)"");
20988 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxWindow
*arg1
= (wxWindow
*) 0 ;
20991 int arg2
= (int) -1 ;
20992 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20993 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20994 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20995 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20996 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20997 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20998 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21002 bool temp6
= false ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 PyObject
* obj2
= 0 ;
21006 PyObject
* obj3
= 0 ;
21007 PyObject
* obj4
= 0 ;
21008 PyObject
* obj5
= 0 ;
21009 char *kwnames
[] = {
21010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21015 if (SWIG_arg_fail(1)) SWIG_fail
;
21018 arg2
= (int)(SWIG_As_int(obj1
));
21019 if (SWIG_arg_fail(2)) SWIG_fail
;
21025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21031 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21036 arg5
= (long)(SWIG_As_long(obj4
));
21037 if (SWIG_arg_fail(5)) SWIG_fail
;
21042 arg6
= wxString_in_helper(obj5
);
21043 if (arg6
== NULL
) SWIG_fail
;
21048 if (!wxPyCheckForApp()) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21070 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21073 char *kwnames
[] = {
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21079 if (!wxPyCheckForApp()) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (wxToolBar
*)new wxToolBar();
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21093 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21096 wxWindow
*arg2
= (wxWindow
*) 0 ;
21097 int arg3
= (int) -1 ;
21098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21102 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21103 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21108 bool temp7
= false ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 PyObject
* obj2
= 0 ;
21112 PyObject
* obj3
= 0 ;
21113 PyObject
* obj4
= 0 ;
21114 PyObject
* obj5
= 0 ;
21115 PyObject
* obj6
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21124 if (SWIG_arg_fail(2)) SWIG_fail
;
21127 arg3
= (int)(SWIG_As_int(obj2
));
21128 if (SWIG_arg_fail(3)) SWIG_fail
;
21134 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21140 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21145 arg6
= (long)(SWIG_As_long(obj5
));
21146 if (SWIG_arg_fail(6)) SWIG_fail
;
21151 arg7
= wxString_in_helper(obj6
);
21152 if (arg7
== NULL
) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21185 wxToolBarToolBase
*result
;
21186 PyObject
* obj0
= 0 ;
21187 PyObject
* obj1
= 0 ;
21188 PyObject
* obj2
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "x",(char *) "y", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21195 if (SWIG_arg_fail(1)) SWIG_fail
;
21197 arg2
= (int)(SWIG_As_int(obj1
));
21198 if (SWIG_arg_fail(2)) SWIG_fail
;
21201 arg3
= (int)(SWIG_As_int(obj2
));
21202 if (SWIG_arg_fail(3)) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= wxPyMake_wxObject(result
, 0);
21220 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21223 wxVisualAttributes result
;
21224 PyObject
* obj0
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "variant", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21232 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21233 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 if (!wxPyCheckForApp()) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 wxVisualAttributes
* resultptr
;
21246 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21255 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21258 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21260 return Py_BuildValue((char *)"");
21262 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21263 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21268 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21273 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21275 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21282 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxColour
const &arg1_defvalue
= wxNullColour
;
21285 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21286 wxColour
const &arg2_defvalue
= wxNullColour
;
21287 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21288 wxFont
const &arg3_defvalue
= wxNullFont
;
21289 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21290 wxListItemAttr
*result
;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 PyObject
* obj2
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21304 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21315 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21316 if (SWIG_arg_fail(3)) SWIG_fail
;
21317 if (arg3
== NULL
) {
21318 SWIG_null_ref("wxFont");
21320 if (SWIG_arg_fail(3)) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21337 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21340 wxColour
*arg2
= 0 ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self",(char *) "colText", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail
;
21353 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 Py_INCREF(Py_None
); resultobj
= Py_None
;
21369 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21372 wxColour
*arg2
= 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "colBack", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 Py_INCREF(Py_None
); resultobj
= Py_None
;
21401 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "font", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail
;
21415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(2)) SWIG_fail
;
21417 if (arg2
== NULL
) {
21418 SWIG_null_ref("wxFont");
21420 if (SWIG_arg_fail(2)) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetFont((wxFont
const &)*arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (bool)(arg1
)->HasTextColour();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21464 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21475 if (SWIG_arg_fail(1)) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (bool)(arg1
)->HasBackgroundColour();
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21492 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "self", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (bool)(arg1
)->HasFont();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21520 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (arg1
)->GetTextColour();
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 wxColour
* resultptr
;
21541 resultptr
= new wxColour((wxColour
&)(result
));
21542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21550 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (arg1
)->GetBackgroundColour();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 wxColour
* resultptr
;
21571 resultptr
= new wxColour((wxColour
&)(result
));
21572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21580 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (arg1
)->GetFont();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 wxFont
* resultptr
;
21601 resultptr
= new wxFont((wxFont
&)(result
));
21602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21610 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21620 if (SWIG_arg_fail(1)) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 wxListItemAttr_Destroy(arg1
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21638 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21640 return Py_BuildValue((char *)"");
21642 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxListItem
*result
;
21645 char *kwnames
[] = {
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (wxListItem
*)new wxListItem();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= wxPyMake_wxObject(result
, 1);
21666 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxListItem
*arg1
= (wxListItem
*) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxListItem
*arg1
= (wxListItem
*) 0 ;
21694 PyObject
* obj0
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21701 if (SWIG_arg_fail(1)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21716 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxListItem
*arg1
= (wxListItem
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21726 if (SWIG_arg_fail(1)) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->ClearAttributes();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxListItem
*arg1
= (wxListItem
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "mask", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 arg2
= (long)(SWIG_As_long(obj1
));
21756 if (SWIG_arg_fail(2)) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 (arg1
)->SetMask(arg2
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 Py_INCREF(Py_None
); resultobj
= Py_None
;
21772 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxListItem
*arg1
= (wxListItem
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self",(char *) "id", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail
;
21786 arg2
= (long)(SWIG_As_long(obj1
));
21787 if (SWIG_arg_fail(2)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->SetId(arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21803 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxListItem
*arg1
= (wxListItem
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "col", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21815 if (SWIG_arg_fail(1)) SWIG_fail
;
21817 arg2
= (int)(SWIG_As_int(obj1
));
21818 if (SWIG_arg_fail(2)) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetColumn(arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21834 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxListItem
*arg1
= (wxListItem
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self",(char *) "state", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail
;
21848 arg2
= (long)(SWIG_As_long(obj1
));
21849 if (SWIG_arg_fail(2)) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetState(arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21865 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxListItem
*arg1
= (wxListItem
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "stateMask", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail
;
21879 arg2
= (long)(SWIG_As_long(obj1
));
21880 if (SWIG_arg_fail(2)) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 (arg1
)->SetStateMask(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 Py_INCREF(Py_None
); resultobj
= Py_None
;
21896 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxListItem
*arg1
= (wxListItem
*) 0 ;
21899 wxString
*arg2
= 0 ;
21900 bool temp2
= false ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self",(char *) "text", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail
;
21911 arg2
= wxString_in_helper(obj1
);
21912 if (arg2
== NULL
) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 (arg1
)->SetText((wxString
const &)*arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 Py_INCREF(Py_None
); resultobj
= Py_None
;
21937 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxListItem
*arg1
= (wxListItem
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "image", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21949 if (SWIG_arg_fail(1)) SWIG_fail
;
21951 arg2
= (int)(SWIG_As_int(obj1
));
21952 if (SWIG_arg_fail(2)) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 (arg1
)->SetImage(arg2
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 Py_INCREF(Py_None
); resultobj
= Py_None
;
21968 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxListItem
*arg1
= (wxListItem
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "data", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail
;
21982 arg2
= (long)(SWIG_As_long(obj1
));
21983 if (SWIG_arg_fail(2)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 (arg1
)->SetData(arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxListItem
*arg1
= (wxListItem
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "width", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail
;
22013 arg2
= (int)(SWIG_As_int(obj1
));
22014 if (SWIG_arg_fail(2)) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 (arg1
)->SetWidth(arg2
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 Py_INCREF(Py_None
); resultobj
= Py_None
;
22030 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxListItem
*arg1
= (wxListItem
*) 0 ;
22033 wxListColumnFormat arg2
;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "align", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail
;
22044 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22045 if (SWIG_arg_fail(2)) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 Py_INCREF(Py_None
); resultobj
= Py_None
;
22061 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxListItem
*arg1
= (wxListItem
*) 0 ;
22064 wxColour
*arg2
= 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "colText", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 Py_INCREF(Py_None
); resultobj
= Py_None
;
22093 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxListItem
*arg1
= (wxListItem
*) 0 ;
22096 wxColour
*arg2
= 0 ;
22098 PyObject
* obj0
= 0 ;
22099 PyObject
* obj1
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "colBack", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail
;
22109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 Py_INCREF(Py_None
); resultobj
= Py_None
;
22125 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22126 PyObject
*resultobj
;
22127 wxListItem
*arg1
= (wxListItem
*) 0 ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "font", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail
;
22139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22140 if (SWIG_arg_fail(2)) SWIG_fail
;
22141 if (arg2
== NULL
) {
22142 SWIG_null_ref("wxFont");
22144 if (SWIG_arg_fail(2)) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetFont((wxFont
const &)*arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxListItem
*arg1
= (wxListItem
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (long)(arg1
)->GetMask();
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_From_long((long)(result
));
22188 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxListItem
*arg1
= (wxListItem
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (long)(arg1
)->GetId();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_From_long((long)(result
));
22216 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxListItem
*arg1
= (wxListItem
*) 0 ;
22220 PyObject
* obj0
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22227 if (SWIG_arg_fail(1)) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (int)(arg1
)->GetColumn();
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_From_int((int)(result
));
22244 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxListItem
*arg1
= (wxListItem
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (long)(arg1
)->GetState();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_From_long((long)(result
));
22272 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxListItem
*arg1
= (wxListItem
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22283 if (SWIG_arg_fail(1)) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 wxString
const &_result_ref
= (arg1
)->GetText();
22288 result
= (wxString
*) &_result_ref
;
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22307 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxListItem
*arg1
= (wxListItem
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (int)(arg1
)->GetImage();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_From_int((int)(result
));
22335 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxListItem
*arg1
= (wxListItem
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (long)(arg1
)->GetData();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= SWIG_From_long((long)(result
));
22363 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxListItem
*arg1
= (wxListItem
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22374 if (SWIG_arg_fail(1)) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (int)(arg1
)->GetWidth();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_From_int((int)(result
));
22391 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxListItem
*arg1
= (wxListItem
*) 0 ;
22394 wxListColumnFormat result
;
22395 PyObject
* obj0
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22402 if (SWIG_arg_fail(1)) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_From_int((result
));
22417 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxListItem
*arg1
= (wxListItem
*) 0 ;
22420 wxListItemAttr
*result
;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22428 if (SWIG_arg_fail(1)) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22443 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxListItem
*arg1
= (wxListItem
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22454 if (SWIG_arg_fail(1)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (bool)(arg1
)->HasAttributes();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22471 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxListItem
*arg1
= (wxListItem
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 wxColour
* resultptr
;
22492 resultptr
= new wxColour((wxColour
&)(result
));
22493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22501 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxListItem
*arg1
= (wxListItem
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22512 if (SWIG_arg_fail(1)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 wxColour
* resultptr
;
22522 resultptr
= new wxColour((wxColour
&)(result
));
22523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22531 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxListItem
*arg1
= (wxListItem
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= ((wxListItem
const *)arg1
)->GetFont();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 wxFont
* resultptr
;
22552 resultptr
= new wxFont((wxFont
&)(result
));
22553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22561 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxListItem
*arg1
= (wxListItem
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self",(char *) "m_mask", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 arg2
= (long)(SWIG_As_long(obj1
));
22576 if (SWIG_arg_fail(2)) SWIG_fail
;
22578 if (arg1
) (arg1
)->m_mask
= arg2
;
22580 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxListItem
*arg1
= (wxListItem
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail
;
22599 result
= (long) ((arg1
)->m_mask
);
22602 resultobj
= SWIG_From_long((long)(result
));
22610 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxListItem
*arg1
= (wxListItem
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "m_itemId", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 arg2
= (long)(SWIG_As_long(obj1
));
22625 if (SWIG_arg_fail(2)) SWIG_fail
;
22627 if (arg1
) (arg1
)->m_itemId
= arg2
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxListItem
*arg1
= (wxListItem
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail
;
22648 result
= (long) ((arg1
)->m_itemId
);
22651 resultobj
= SWIG_From_long((long)(result
));
22659 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxListItem
*arg1
= (wxListItem
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "m_col", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail
;
22673 arg2
= (int)(SWIG_As_int(obj1
));
22674 if (SWIG_arg_fail(2)) SWIG_fail
;
22676 if (arg1
) (arg1
)->m_col
= arg2
;
22678 Py_INCREF(Py_None
); resultobj
= Py_None
;
22685 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxListItem
*arg1
= (wxListItem
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail
;
22697 result
= (int) ((arg1
)->m_col
);
22700 resultobj
= SWIG_From_int((int)(result
));
22708 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxListItem
*arg1
= (wxListItem
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self",(char *) "m_state", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 arg2
= (long)(SWIG_As_long(obj1
));
22723 if (SWIG_arg_fail(2)) SWIG_fail
;
22725 if (arg1
) (arg1
)->m_state
= arg2
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxListItem
*arg1
= (wxListItem
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22746 result
= (long) ((arg1
)->m_state
);
22749 resultobj
= SWIG_From_long((long)(result
));
22757 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxListItem
*arg1
= (wxListItem
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "m_stateMask", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 arg2
= (long)(SWIG_As_long(obj1
));
22772 if (SWIG_arg_fail(2)) SWIG_fail
;
22774 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22776 Py_INCREF(Py_None
); resultobj
= Py_None
;
22783 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxListItem
*arg1
= (wxListItem
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22794 if (SWIG_arg_fail(1)) SWIG_fail
;
22795 result
= (long) ((arg1
)->m_stateMask
);
22798 resultobj
= SWIG_From_long((long)(result
));
22806 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxListItem
*arg1
= (wxListItem
*) 0 ;
22809 wxString
*arg2
= (wxString
*) 0 ;
22810 bool temp2
= false ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self",(char *) "m_text", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22819 if (SWIG_arg_fail(1)) SWIG_fail
;
22821 arg2
= wxString_in_helper(obj1
);
22822 if (arg2
== NULL
) SWIG_fail
;
22825 if (arg1
) (arg1
)->m_text
= *arg2
;
22827 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxListItem
*arg1
= (wxListItem
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 result
= (wxString
*)& ((arg1
)->m_text
);
22858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22869 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxListItem
*arg1
= (wxListItem
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 PyObject
* obj1
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self",(char *) "m_image", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail
;
22883 arg2
= (int)(SWIG_As_int(obj1
));
22884 if (SWIG_arg_fail(2)) SWIG_fail
;
22886 if (arg1
) (arg1
)->m_image
= arg2
;
22888 Py_INCREF(Py_None
); resultobj
= Py_None
;
22895 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxListItem
*arg1
= (wxListItem
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22906 if (SWIG_arg_fail(1)) SWIG_fail
;
22907 result
= (int) ((arg1
)->m_image
);
22910 resultobj
= SWIG_From_int((int)(result
));
22918 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxListItem
*arg1
= (wxListItem
*) 0 ;
22922 PyObject
* obj0
= 0 ;
22923 PyObject
* obj1
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "m_data", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22930 if (SWIG_arg_fail(1)) SWIG_fail
;
22932 arg2
= (long)(SWIG_As_long(obj1
));
22933 if (SWIG_arg_fail(2)) SWIG_fail
;
22935 if (arg1
) (arg1
)->m_data
= arg2
;
22937 Py_INCREF(Py_None
); resultobj
= Py_None
;
22944 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxListItem
*arg1
= (wxListItem
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail
;
22956 result
= (long) ((arg1
)->m_data
);
22959 resultobj
= SWIG_From_long((long)(result
));
22967 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxListItem
*arg1
= (wxListItem
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "self",(char *) "m_format", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22979 if (SWIG_arg_fail(1)) SWIG_fail
;
22981 arg2
= (int)(SWIG_As_int(obj1
));
22982 if (SWIG_arg_fail(2)) SWIG_fail
;
22984 if (arg1
) (arg1
)->m_format
= arg2
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxListItem
*arg1
= (wxListItem
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
23003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23004 if (SWIG_arg_fail(1)) SWIG_fail
;
23005 result
= (int) ((arg1
)->m_format
);
23008 resultobj
= SWIG_From_int((int)(result
));
23016 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxListItem
*arg1
= (wxListItem
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "m_width", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail
;
23030 arg2
= (int)(SWIG_As_int(obj1
));
23031 if (SWIG_arg_fail(2)) SWIG_fail
;
23033 if (arg1
) (arg1
)->m_width
= arg2
;
23035 Py_INCREF(Py_None
); resultobj
= Py_None
;
23042 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxListItem
*arg1
= (wxListItem
*) 0 ;
23046 PyObject
* obj0
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail
;
23054 result
= (int) ((arg1
)->m_width
);
23057 resultobj
= SWIG_From_int((int)(result
));
23065 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23068 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23070 return Py_BuildValue((char *)"");
23072 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23075 int arg2
= (int) 0 ;
23076 wxListEvent
*result
;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "commandType",(char *) "id", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23087 if (SWIG_arg_fail(1)) SWIG_fail
;
23092 arg2
= (int)(SWIG_As_int(obj1
));
23093 if (SWIG_arg_fail(2)) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23110 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "m_code", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23122 if (SWIG_arg_fail(1)) SWIG_fail
;
23124 arg2
= (int)(SWIG_As_int(obj1
));
23125 if (SWIG_arg_fail(2)) SWIG_fail
;
23127 if (arg1
) (arg1
)->m_code
= arg2
;
23129 Py_INCREF(Py_None
); resultobj
= Py_None
;
23136 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 result
= (int) ((arg1
)->m_code
);
23151 resultobj
= SWIG_From_int((int)(result
));
23159 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self",(char *) "m_oldItemIndex", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 arg2
= (long)(SWIG_As_long(obj1
));
23174 if (SWIG_arg_fail(2)) SWIG_fail
;
23176 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail
;
23197 result
= (long) ((arg1
)->m_oldItemIndex
);
23200 resultobj
= SWIG_From_long((long)(result
));
23208 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self",(char *) "m_itemIndex", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23220 if (SWIG_arg_fail(1)) SWIG_fail
;
23222 arg2
= (long)(SWIG_As_long(obj1
));
23223 if (SWIG_arg_fail(2)) SWIG_fail
;
23225 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23227 Py_INCREF(Py_None
); resultobj
= Py_None
;
23234 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23245 if (SWIG_arg_fail(1)) SWIG_fail
;
23246 result
= (long) ((arg1
)->m_itemIndex
);
23249 resultobj
= SWIG_From_long((long)(result
));
23257 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "m_col", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23271 arg2
= (int)(SWIG_As_int(obj1
));
23272 if (SWIG_arg_fail(2)) SWIG_fail
;
23274 if (arg1
) (arg1
)->m_col
= arg2
;
23276 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail
;
23295 result
= (int) ((arg1
)->m_col
);
23298 resultobj
= SWIG_From_int((int)(result
));
23306 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23309 wxPoint
*arg2
= (wxPoint
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "m_pointDrag", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23320 if (SWIG_arg_fail(2)) SWIG_fail
;
23321 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23342 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23351 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23354 wxListItem
*result
;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23362 if (SWIG_arg_fail(1)) SWIG_fail
;
23363 result
= (wxListItem
*)& ((arg1
)->m_item
);
23366 resultobj
= wxPyMake_wxObject(result
, 0);
23374 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (int)(arg1
)->GetKeyCode();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_From_int((int)(result
));
23402 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (long)(arg1
)->GetIndex();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_From_long((long)(result
));
23430 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (int)(arg1
)->GetColumn();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_From_int((int)(result
));
23458 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (arg1
)->GetPoint();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 wxPoint
* resultptr
;
23479 resultptr
= new wxPoint((wxPoint
&)(result
));
23480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23488 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail
;
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 wxString
const &_result_ref
= (arg1
)->GetLabel();
23504 result
= (wxString
*) &_result_ref
;
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23523 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 wxString
const &_result_ref
= (arg1
)->GetText();
23539 result
= (wxString
*) &_result_ref
;
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23549 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23558 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (int)(arg1
)->GetImage();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_From_int((int)(result
));
23586 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23590 PyObject
* obj0
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23597 if (SWIG_arg_fail(1)) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (long)(arg1
)->GetData();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_From_long((long)(result
));
23614 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (long)(arg1
)->GetMask();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_From_long((long)(result
));
23642 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23645 wxListItem
*result
;
23646 PyObject
* obj0
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23653 if (SWIG_arg_fail(1)) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23658 result
= (wxListItem
*) &_result_ref
;
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23671 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23682 if (SWIG_arg_fail(1)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (long)(arg1
)->GetCacheFrom();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_From_long((long)(result
));
23699 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (long)(arg1
)->GetCacheTo();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_From_long((long)(result
));
23727 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23755 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self",(char *) "editCancelled", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail
;
23769 arg2
= (bool)(SWIG_As_bool(obj1
));
23770 if (SWIG_arg_fail(2)) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->SetEditCanceled(arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 Py_INCREF(Py_None
); resultobj
= Py_None
;
23786 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23789 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23791 return Py_BuildValue((char *)"");
23793 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxWindow
*arg1
= (wxWindow
*) 0 ;
23796 int arg2
= (int) -1 ;
23797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23801 long arg5
= (long) wxLC_ICON
;
23802 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23803 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23804 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23806 wxPyListCtrl
*result
;
23809 bool temp7
= false ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 PyObject
* obj2
= 0 ;
23813 PyObject
* obj3
= 0 ;
23814 PyObject
* obj4
= 0 ;
23815 PyObject
* obj5
= 0 ;
23816 PyObject
* obj6
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23823 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 arg2
= (int)(SWIG_As_int(obj1
));
23827 if (SWIG_arg_fail(2)) SWIG_fail
;
23833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23839 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23844 arg5
= (long)(SWIG_As_long(obj4
));
23845 if (SWIG_arg_fail(5)) SWIG_fail
;
23850 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23851 if (SWIG_arg_fail(6)) SWIG_fail
;
23852 if (arg6
== NULL
) {
23853 SWIG_null_ref("wxValidator");
23855 if (SWIG_arg_fail(6)) SWIG_fail
;
23860 arg7
= wxString_in_helper(obj6
);
23861 if (arg7
== NULL
) SWIG_fail
;
23866 if (!wxPyCheckForApp()) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23888 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPyListCtrl
*result
;
23891 char *kwnames
[] = {
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23897 if (!wxPyCheckForApp()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23911 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23914 wxWindow
*arg2
= (wxWindow
*) 0 ;
23915 int arg3
= (int) -1 ;
23916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23920 long arg6
= (long) wxLC_ICON
;
23921 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23922 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23923 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23928 bool temp8
= false ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 PyObject
* obj2
= 0 ;
23932 PyObject
* obj3
= 0 ;
23933 PyObject
* obj4
= 0 ;
23934 PyObject
* obj5
= 0 ;
23935 PyObject
* obj6
= 0 ;
23936 PyObject
* obj7
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23943 if (SWIG_arg_fail(1)) SWIG_fail
;
23944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23945 if (SWIG_arg_fail(2)) SWIG_fail
;
23948 arg3
= (int)(SWIG_As_int(obj2
));
23949 if (SWIG_arg_fail(3)) SWIG_fail
;
23955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23966 arg6
= (long)(SWIG_As_long(obj5
));
23967 if (SWIG_arg_fail(6)) SWIG_fail
;
23972 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23973 if (SWIG_arg_fail(7)) SWIG_fail
;
23974 if (arg7
== NULL
) {
23975 SWIG_null_ref("wxValidator");
23977 if (SWIG_arg_fail(7)) SWIG_fail
;
23982 arg8
= wxString_in_helper(obj7
);
23983 if (arg8
== NULL
) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24011 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24014 PyObject
*arg2
= (PyObject
*) 0 ;
24015 PyObject
*arg3
= (PyObject
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 PyObject
* obj2
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self",(char *) "self",(char *) "_class", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 Py_INCREF(Py_None
); resultobj
= Py_None
;
24042 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24045 wxColour
*arg2
= 0 ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "col", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail
;
24059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24080 wxColour
*arg2
= 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self",(char *) "col", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail
;
24094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24112 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24116 wxListItem
*result
;
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_GetColumn",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
;
24127 arg2
= (int)(SWIG_As_int(obj1
));
24128 if (SWIG_arg_fail(2)) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= wxPyMake_wxObject(result
, 0);
24146 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24150 wxListItem
*arg3
= 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 PyObject
* obj2
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self",(char *) "col",(char *) "item", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24161 if (SWIG_arg_fail(1)) SWIG_fail
;
24163 arg2
= (int)(SWIG_As_int(obj1
));
24164 if (SWIG_arg_fail(2)) SWIG_fail
;
24167 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24168 if (SWIG_arg_fail(3)) SWIG_fail
;
24169 if (arg3
== NULL
) {
24170 SWIG_null_ref("wxListItem");
24172 if (SWIG_arg_fail(3)) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24190 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "col", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail
;
24205 arg2
= (int)(SWIG_As_int(obj1
));
24206 if (SWIG_arg_fail(2)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_From_int((int)(result
));
24224 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 PyObject
* obj2
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self",(char *) "col",(char *) "width", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 arg2
= (int)(SWIG_As_int(obj1
));
24242 if (SWIG_arg_fail(2)) SWIG_fail
;
24245 arg3
= (int)(SWIG_As_int(obj2
));
24246 if (SWIG_arg_fail(3)) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24275 if (SWIG_arg_fail(1)) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_From_int((int)(result
));
24292 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24303 if (SWIG_arg_fail(1)) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 wxRect
* resultptr
;
24313 resultptr
= new wxRect((wxRect
&)(result
));
24314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24322 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24326 int arg3
= (int) 0 ;
24327 wxListItem
*result
;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 PyObject
* obj2
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self",(char *) "itemId",(char *) "col", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
24340 if (SWIG_arg_fail(2)) SWIG_fail
;
24344 arg3
= (int)(SWIG_As_int(obj2
));
24345 if (SWIG_arg_fail(3)) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= wxPyMake_wxObject(result
, 0);
24364 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24367 wxListItem
*arg2
= 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "info", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail
;
24379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24380 if (SWIG_arg_fail(2)) SWIG_fail
;
24381 if (arg2
== NULL
) {
24382 SWIG_null_ref("wxListItem");
24384 if (SWIG_arg_fail(2)) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (bool)(arg1
)->SetItem(*arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24402 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
;
24404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24407 wxString
*arg4
= 0 ;
24408 int arg5
= (int) -1 ;
24410 bool temp4
= false ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 PyObject
* obj2
= 0 ;
24414 PyObject
* obj3
= 0 ;
24415 PyObject
* obj4
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24422 if (SWIG_arg_fail(1)) SWIG_fail
;
24424 arg2
= (long)(SWIG_As_long(obj1
));
24425 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 arg3
= (int)(SWIG_As_int(obj2
));
24429 if (SWIG_arg_fail(3)) SWIG_fail
;
24432 arg4
= wxString_in_helper(obj3
);
24433 if (arg4
== NULL
) SWIG_fail
;
24438 arg5
= (int)(SWIG_As_int(obj4
));
24439 if (SWIG_arg_fail(5)) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_From_long((long)(result
));
24466 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 PyObject
* obj2
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 arg2
= (long)(SWIG_As_long(obj1
));
24484 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 arg3
= (long)(SWIG_As_long(obj2
));
24488 if (SWIG_arg_fail(3)) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_From_int((int)(result
));
24506 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24516 PyObject
* obj3
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(1)) SWIG_fail
;
24525 arg2
= (long)(SWIG_As_long(obj1
));
24526 if (SWIG_arg_fail(2)) SWIG_fail
;
24529 arg3
= (long)(SWIG_As_long(obj2
));
24530 if (SWIG_arg_fail(3)) SWIG_fail
;
24533 arg4
= (long)(SWIG_As_long(obj3
));
24534 if (SWIG_arg_fail(4)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24552 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24557 int arg4
= (int) -1 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 PyObject
* obj2
= 0 ;
24562 PyObject
* obj3
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail
;
24571 arg2
= (long)(SWIG_As_long(obj1
));
24572 if (SWIG_arg_fail(2)) SWIG_fail
;
24575 arg3
= (int)(SWIG_As_int(obj2
));
24576 if (SWIG_arg_fail(3)) SWIG_fail
;
24580 arg4
= (int)(SWIG_As_int(obj3
));
24581 if (SWIG_arg_fail(4)) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24600 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "item", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 arg2
= (long)(SWIG_As_long(obj1
));
24616 if (SWIG_arg_fail(2)) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24638 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24642 wxString
*arg3
= 0 ;
24643 bool temp3
= false ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self",(char *) "item",(char *) "str", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail
;
24655 arg2
= (long)(SWIG_As_long(obj1
));
24656 if (SWIG_arg_fail(2)) SWIG_fail
;
24659 arg3
= wxString_in_helper(obj2
);
24660 if (arg3
== NULL
) SWIG_fail
;
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "item", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(1)) SWIG_fail
;
24700 arg2
= (long)(SWIG_As_long(obj1
));
24701 if (SWIG_arg_fail(2)) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_From_long((long)(result
));
24719 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 PyObject
* obj2
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self",(char *) "item",(char *) "data", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24734 if (SWIG_arg_fail(1)) SWIG_fail
;
24736 arg2
= (long)(SWIG_As_long(obj1
));
24737 if (SWIG_arg_fail(2)) SWIG_fail
;
24740 arg3
= (long)(SWIG_As_long(obj2
));
24741 if (SWIG_arg_fail(3)) SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24759 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "item", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24772 if (SWIG_arg_fail(1)) SWIG_fail
;
24774 arg2
= (long)(SWIG_As_long(obj1
));
24775 if (SWIG_arg_fail(2)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 wxPoint
* resultptr
;
24786 resultptr
= new wxPoint((wxPoint
&)(result
));
24787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24795 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24799 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 PyObject
* obj2
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "item",(char *) "code", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24810 if (SWIG_arg_fail(1)) SWIG_fail
;
24812 arg2
= (long)(SWIG_As_long(obj1
));
24813 if (SWIG_arg_fail(2)) SWIG_fail
;
24817 arg3
= (int)(SWIG_As_int(obj2
));
24818 if (SWIG_arg_fail(3)) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 wxRect
* resultptr
;
24830 resultptr
= new wxRect((wxRect
&)(result
));
24831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24839 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24843 wxPoint
*arg3
= 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 PyObject
* obj2
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "item",(char *) "pos", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail
;
24857 arg2
= (long)(SWIG_As_long(obj1
));
24858 if (SWIG_arg_fail(2)) SWIG_fail
;
24862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24880 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_From_int((int)(result
));
24908 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24919 if (SWIG_arg_fail(1)) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_From_int((int)(result
));
24936 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 wxSize
* resultptr
;
24957 resultptr
= new wxSize((wxSize
&)(result
));
24958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24966 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
;
24968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24970 bool arg3
= (bool) false ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 PyObject
* obj2
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail
;
24982 arg2
= (int)(SWIG_As_int(obj1
));
24983 if (SWIG_arg_fail(2)) SWIG_fail
;
24987 arg3
= (bool)(SWIG_As_bool(obj2
));
24988 if (SWIG_arg_fail(3)) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->SetItemSpacing(arg2
,arg3
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 Py_INCREF(Py_None
); resultobj
= Py_None
;
25005 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_From_int((int)(result
));
25033 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25044 if (SWIG_arg_fail(1)) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 wxColour
* resultptr
;
25054 resultptr
= new wxColour((wxColour
&)(result
));
25055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25063 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25066 wxColour
*arg2
= 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "col", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25095 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= SWIG_From_long((long)(result
));
25123 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25127 bool arg3
= (bool) true ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 PyObject
* obj2
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self",(char *) "style",(char *) "add", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail
;
25139 arg2
= (long)(SWIG_As_long(obj1
));
25140 if (SWIG_arg_fail(2)) SWIG_fail
;
25144 arg3
= (bool)(SWIG_As_bool(obj2
));
25145 if (SWIG_arg_fail(3)) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 (arg1
)->SetSingleStyle(arg2
,arg3
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "style", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25176 arg2
= (long)(SWIG_As_long(obj1
));
25177 if (SWIG_arg_fail(2)) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 (arg1
)->SetWindowStyleFlag(arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 Py_INCREF(Py_None
); resultobj
= Py_None
;
25193 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25197 int arg3
= (int) wxLIST_NEXT_ALL
;
25198 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 PyObject
* obj2
= 0 ;
25203 PyObject
* obj3
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25210 if (SWIG_arg_fail(1)) SWIG_fail
;
25212 arg2
= (long)(SWIG_As_long(obj1
));
25213 if (SWIG_arg_fail(2)) SWIG_fail
;
25217 arg3
= (int)(SWIG_As_int(obj2
));
25218 if (SWIG_arg_fail(3)) SWIG_fail
;
25223 arg4
= (int)(SWIG_As_int(obj3
));
25224 if (SWIG_arg_fail(4)) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_From_long((long)(result
));
25243 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25247 wxImageList
*result
;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self",(char *) "which", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25256 if (SWIG_arg_fail(1)) SWIG_fail
;
25258 arg2
= (int)(SWIG_As_int(obj1
));
25259 if (SWIG_arg_fail(2)) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= wxPyMake_wxObject(result
, 0);
25277 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25280 wxImageList
*arg2
= (wxImageList
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 PyObject
* obj2
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "imageList",(char *) "which", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(2)) SWIG_fail
;
25295 arg3
= (int)(SWIG_As_int(obj2
));
25296 if (SWIG_arg_fail(3)) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetImageList(arg2
,arg3
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25315 wxImageList
*arg2
= (wxImageList
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "imageList",(char *) "which", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25328 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 arg3
= (int)(SWIG_As_int(obj2
));
25331 if (SWIG_arg_fail(3)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->AssignImageList(arg2
,arg3
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25347 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25375 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
;
25377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25386 if (SWIG_arg_fail(1)) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25403 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
;
25405 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "item", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25417 arg2
= (long)(SWIG_As_long(obj1
));
25418 if (SWIG_arg_fail(2)) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->RefreshItem(arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 PyObject
* obj2
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail
;
25450 arg2
= (long)(SWIG_As_long(obj1
));
25451 if (SWIG_arg_fail(2)) SWIG_fail
;
25454 arg3
= (long)(SWIG_As_long(obj2
));
25455 if (SWIG_arg_fail(3)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->RefreshItems(arg2
,arg3
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25474 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 char *kwnames
[] = {
25479 (char *) "self",(char *) "flag", NULL
25482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25484 if (SWIG_arg_fail(1)) SWIG_fail
;
25487 arg2
= (int)(SWIG_As_int(obj1
));
25488 if (SWIG_arg_fail(2)) SWIG_fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)(arg1
)->Arrange(arg2
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25507 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "item", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail
;
25522 arg2
= (long)(SWIG_As_long(obj1
));
25523 if (SWIG_arg_fail(2)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (bool)(arg1
)->DeleteItem(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_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25545 PyObject
* obj0
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail
;
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (bool)(arg1
)->DeleteAllItems();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25569 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "col", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail
;
25584 arg2
= (int)(SWIG_As_int(obj1
));
25585 if (SWIG_arg_fail(2)) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25603 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25614 if (SWIG_arg_fail(1)) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (bool)(arg1
)->DeleteAllColumns();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25631 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 (arg1
)->ClearAll();
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 Py_INCREF(Py_None
); resultobj
= Py_None
;
25656 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25660 PyObject
* obj0
= 0 ;
25661 PyObject
* obj1
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "item", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail
;
25670 arg2
= (long)(SWIG_As_long(obj1
));
25671 if (SWIG_arg_fail(2)) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->EditLabel(arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "item", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25702 arg2
= (long)(SWIG_As_long(obj1
));
25703 if (SWIG_arg_fail(2)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25721 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25725 wxString
*arg3
= 0 ;
25726 bool arg4
= (bool) false ;
25728 bool temp3
= false ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 PyObject
* obj2
= 0 ;
25732 PyObject
* obj3
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 arg2
= (long)(SWIG_As_long(obj1
));
25742 if (SWIG_arg_fail(2)) SWIG_fail
;
25745 arg3
= wxString_in_helper(obj2
);
25746 if (arg3
== NULL
) SWIG_fail
;
25751 arg4
= (bool)(SWIG_As_bool(obj3
));
25752 if (SWIG_arg_fail(4)) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_From_long((long)(result
));
25779 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 PyObject
* obj2
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "start",(char *) "data", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(1)) SWIG_fail
;
25796 arg2
= (long)(SWIG_As_long(obj1
));
25797 if (SWIG_arg_fail(2)) SWIG_fail
;
25800 arg3
= (long)(SWIG_As_long(obj2
));
25801 if (SWIG_arg_fail(3)) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_From_long((long)(result
));
25819 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25823 wxPoint
*arg3
= 0 ;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 PyObject
* obj2
= 0 ;
25830 PyObject
* obj3
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25837 if (SWIG_arg_fail(1)) SWIG_fail
;
25839 arg2
= (long)(SWIG_As_long(obj1
));
25840 if (SWIG_arg_fail(2)) SWIG_fail
;
25844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25847 arg4
= (int)(SWIG_As_int(obj3
));
25848 if (SWIG_arg_fail(4)) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_From_long((long)(result
));
25866 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25869 wxPoint
*arg2
= 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self",(char *) "point", NULL
25881 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(1)) SWIG_fail
;
25887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_From_long((long)(result
));
25899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25907 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25910 wxListItem
*arg2
= 0 ;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "info", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25920 if (SWIG_arg_fail(1)) SWIG_fail
;
25922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25923 if (SWIG_arg_fail(2)) SWIG_fail
;
25924 if (arg2
== NULL
) {
25925 SWIG_null_ref("wxListItem");
25927 if (SWIG_arg_fail(2)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (long)(arg1
)->InsertItem(*arg2
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_From_long((long)(result
));
25945 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
;
25947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25949 wxString
*arg3
= 0 ;
25951 bool temp3
= false ;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 PyObject
* obj2
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "index",(char *) "label", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25961 if (SWIG_arg_fail(1)) SWIG_fail
;
25963 arg2
= (long)(SWIG_As_long(obj1
));
25964 if (SWIG_arg_fail(2)) SWIG_fail
;
25967 arg3
= wxString_in_helper(obj2
);
25968 if (arg3
== NULL
) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_From_long((long)(result
));
25995 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 PyObject
* obj2
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26010 if (SWIG_arg_fail(1)) SWIG_fail
;
26012 arg2
= (long)(SWIG_As_long(obj1
));
26013 if (SWIG_arg_fail(2)) SWIG_fail
;
26016 arg3
= (int)(SWIG_As_int(obj2
));
26017 if (SWIG_arg_fail(3)) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_From_long((long)(result
));
26035 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26039 wxString
*arg3
= 0 ;
26042 bool temp3
= false ;
26043 PyObject
* obj0
= 0 ;
26044 PyObject
* obj1
= 0 ;
26045 PyObject
* obj2
= 0 ;
26046 PyObject
* obj3
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26053 if (SWIG_arg_fail(1)) SWIG_fail
;
26055 arg2
= (long)(SWIG_As_long(obj1
));
26056 if (SWIG_arg_fail(2)) SWIG_fail
;
26059 arg3
= wxString_in_helper(obj2
);
26060 if (arg3
== NULL
) SWIG_fail
;
26064 arg4
= (int)(SWIG_As_int(obj3
));
26065 if (SWIG_arg_fail(4)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_From_long((long)(result
));
26091 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26095 wxListItem
*arg3
= 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 PyObject
* obj2
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self",(char *) "col",(char *) "info", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26106 if (SWIG_arg_fail(1)) SWIG_fail
;
26108 arg2
= (long)(SWIG_As_long(obj1
));
26109 if (SWIG_arg_fail(2)) SWIG_fail
;
26112 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26113 if (SWIG_arg_fail(3)) SWIG_fail
;
26114 if (arg3
== NULL
) {
26115 SWIG_null_ref("wxListItem");
26117 if (SWIG_arg_fail(3)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_From_long((long)(result
));
26135 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26139 wxString
*arg3
= 0 ;
26140 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26141 int arg5
= (int) -1 ;
26143 bool temp3
= false ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 PyObject
* obj2
= 0 ;
26147 PyObject
* obj3
= 0 ;
26148 PyObject
* obj4
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26157 arg2
= (long)(SWIG_As_long(obj1
));
26158 if (SWIG_arg_fail(2)) SWIG_fail
;
26161 arg3
= wxString_in_helper(obj2
);
26162 if (arg3
== NULL
) SWIG_fail
;
26167 arg4
= (int)(SWIG_As_int(obj3
));
26168 if (SWIG_arg_fail(4)) SWIG_fail
;
26173 arg5
= (int)(SWIG_As_int(obj4
));
26174 if (SWIG_arg_fail(5)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_From_long((long)(result
));
26201 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
;
26203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self",(char *) "count", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 arg2
= (long)(SWIG_As_long(obj1
));
26216 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 (arg1
)->SetItemCount(arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 Py_INCREF(Py_None
); resultobj
= Py_None
;
26232 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
;
26234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 PyObject
* obj2
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "dx",(char *) "dy", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) 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
= (int)(SWIG_As_int(obj1
));
26250 if (SWIG_arg_fail(2)) SWIG_fail
;
26253 arg3
= (int)(SWIG_As_int(obj2
));
26254 if (SWIG_arg_fail(3)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26276 wxColour
*arg3
= 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 PyObject
* obj2
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "self",(char *) "item",(char *) "col", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26287 if (SWIG_arg_fail(1)) SWIG_fail
;
26289 arg2
= (long)(SWIG_As_long(obj1
));
26290 if (SWIG_arg_fail(2)) SWIG_fail
;
26294 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26310 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 PyObject
* obj1
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "item", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail
;
26325 arg2
= (long)(SWIG_As_long(obj1
));
26326 if (SWIG_arg_fail(2)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 wxColour
* resultptr
;
26337 resultptr
= new wxColour((wxColour
&)(result
));
26338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26346 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26350 wxColour
*arg3
= 0 ;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "item",(char *) "col", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 arg2
= (long)(SWIG_As_long(obj1
));
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26368 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26397 if (SWIG_arg_fail(1)) SWIG_fail
;
26399 arg2
= (long)(SWIG_As_long(obj1
));
26400 if (SWIG_arg_fail(2)) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 wxColour
* resultptr
;
26411 resultptr
= new wxColour((wxColour
&)(result
));
26412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26420 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26423 PyObject
*arg2
= (PyObject
*) 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self",(char *) "func", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26451 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= wxPyMake_wxObject(result
, 0);
26479 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26482 wxVisualAttributes result
;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "variant", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26491 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26492 if (SWIG_arg_fail(1)) SWIG_fail
;
26496 if (!wxPyCheckForApp()) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26504 wxVisualAttributes
* resultptr
;
26505 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26514 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26517 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26519 return Py_BuildValue((char *)"");
26521 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxWindow
*arg1
= (wxWindow
*) 0 ;
26524 int arg2
= (int) -1 ;
26525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26529 long arg5
= (long) wxLC_REPORT
;
26530 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26531 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26532 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26533 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26534 wxListView
*result
;
26537 bool temp7
= false ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 PyObject
* obj2
= 0 ;
26541 PyObject
* obj3
= 0 ;
26542 PyObject
* obj4
= 0 ;
26543 PyObject
* obj5
= 0 ;
26544 PyObject
* obj6
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26551 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 arg2
= (int)(SWIG_As_int(obj1
));
26555 if (SWIG_arg_fail(2)) SWIG_fail
;
26561 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26567 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26572 arg5
= (long)(SWIG_As_long(obj4
));
26573 if (SWIG_arg_fail(5)) SWIG_fail
;
26578 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26579 if (SWIG_arg_fail(6)) SWIG_fail
;
26580 if (arg6
== NULL
) {
26581 SWIG_null_ref("wxValidator");
26583 if (SWIG_arg_fail(6)) SWIG_fail
;
26588 arg7
= wxString_in_helper(obj6
);
26589 if (arg7
== NULL
) SWIG_fail
;
26594 if (!wxPyCheckForApp()) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26616 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxListView
*result
;
26619 char *kwnames
[] = {
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26625 if (!wxPyCheckForApp()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (wxListView
*)new wxListView();
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26639 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxListView
*arg1
= (wxListView
*) 0 ;
26642 wxWindow
*arg2
= (wxWindow
*) 0 ;
26643 int arg3
= (int) -1 ;
26644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26648 long arg6
= (long) wxLC_REPORT
;
26649 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26650 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26651 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26656 bool temp8
= false ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 PyObject
* obj2
= 0 ;
26660 PyObject
* obj3
= 0 ;
26661 PyObject
* obj4
= 0 ;
26662 PyObject
* obj5
= 0 ;
26663 PyObject
* obj6
= 0 ;
26664 PyObject
* obj7
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26673 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 arg3
= (int)(SWIG_As_int(obj2
));
26677 if (SWIG_arg_fail(3)) SWIG_fail
;
26683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26694 arg6
= (long)(SWIG_As_long(obj5
));
26695 if (SWIG_arg_fail(6)) SWIG_fail
;
26700 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26701 if (SWIG_arg_fail(7)) SWIG_fail
;
26702 if (arg7
== NULL
) {
26703 SWIG_null_ref("wxValidator");
26705 if (SWIG_arg_fail(7)) SWIG_fail
;
26710 arg8
= wxString_in_helper(obj7
);
26711 if (arg8
== NULL
) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxListView
*arg1
= (wxListView
*) 0 ;
26743 bool arg3
= (bool) true ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "n",(char *) "on", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26753 if (SWIG_arg_fail(1)) SWIG_fail
;
26755 arg2
= (long)(SWIG_As_long(obj1
));
26756 if (SWIG_arg_fail(2)) SWIG_fail
;
26760 arg3
= (bool)(SWIG_As_bool(obj2
));
26761 if (SWIG_arg_fail(3)) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 (arg1
)->Select(arg2
,arg3
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 Py_INCREF(Py_None
); resultobj
= Py_None
;
26778 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxListView
*arg1
= (wxListView
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char *kwnames
[] = {
26785 (char *) "self",(char *) "index", NULL
26788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26790 if (SWIG_arg_fail(1)) SWIG_fail
;
26792 arg2
= (long)(SWIG_As_long(obj1
));
26793 if (SWIG_arg_fail(2)) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 (arg1
)->Focus(arg2
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 Py_INCREF(Py_None
); resultobj
= Py_None
;
26809 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxListView
*arg1
= (wxListView
*) 0 ;
26813 PyObject
* obj0
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_From_long((long)(result
));
26837 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
;
26839 wxListView
*arg1
= (wxListView
*) 0 ;
26842 PyObject
* obj0
= 0 ;
26843 PyObject
* obj1
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self",(char *) "item", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26850 if (SWIG_arg_fail(1)) SWIG_fail
;
26852 arg2
= (long)(SWIG_As_long(obj1
));
26853 if (SWIG_arg_fail(2)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 resultobj
= SWIG_From_long((long)(result
));
26871 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxListView
*arg1
= (wxListView
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26885 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_From_long((long)(result
));
26899 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxListView
*arg1
= (wxListView
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "index", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail
;
26914 arg2
= (long)(SWIG_As_long(obj1
));
26915 if (SWIG_arg_fail(2)) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)(arg1
)->IsSelected(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26933 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxListView
*arg1
= (wxListView
*) 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "col",(char *) "image", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail
;
26949 arg2
= (int)(SWIG_As_int(obj1
));
26950 if (SWIG_arg_fail(2)) SWIG_fail
;
26953 arg3
= (int)(SWIG_As_int(obj2
));
26954 if (SWIG_arg_fail(3)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 (arg1
)->SetColumnImage(arg2
,arg3
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 Py_INCREF(Py_None
); resultobj
= Py_None
;
26970 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxListView
*arg1
= (wxListView
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "col", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 arg2
= (int)(SWIG_As_int(obj1
));
26985 if (SWIG_arg_fail(2)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 (arg1
)->ClearColumnImage(arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 Py_INCREF(Py_None
); resultobj
= Py_None
;
27001 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27004 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27006 return Py_BuildValue((char *)"");
27008 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27009 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27014 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27019 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27021 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27028 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxTreeItemId
*result
;
27031 char *kwnames
[] = {
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (wxTreeItemId
*)new wxTreeItemId();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27050 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 Py_INCREF(Py_None
); resultobj
= Py_None
;
27075 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27103 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27106 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "other", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27117 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(2)) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27135 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
;
27137 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27138 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "other", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27148 if (SWIG_arg_fail(1)) SWIG_fail
;
27149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(2)) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27167 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27170 void *arg2
= (void *) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "m_pItem", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27182 SWIG_arg_fail(2);SWIG_fail
;
27185 if (arg1
) (arg1
)->m_pItem
= arg2
;
27187 Py_INCREF(Py_None
); resultobj
= Py_None
;
27194 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27206 result
= (void *) ((arg1
)->m_pItem
);
27208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27215 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27218 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27220 return Py_BuildValue((char *)"");
27222 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 PyObject
*arg1
= (PyObject
*) NULL
;
27225 wxPyTreeItemData
*result
;
27226 PyObject
* obj0
= 0 ;
27227 char *kwnames
[] = {
27228 (char *) "obj", NULL
27231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27249 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (PyObject
*)(arg1
)->GetData();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= result
;
27275 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
;
27277 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27278 PyObject
*arg2
= (PyObject
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self",(char *) "obj", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 (arg1
)->SetData(arg2
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 Py_INCREF(Py_None
); resultobj
= Py_None
;
27303 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27306 wxTreeItemId
*result
;
27307 PyObject
* obj0
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27314 if (SWIG_arg_fail(1)) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27319 result
= (wxTreeItemId
*) &_result_ref
;
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27332 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27335 wxTreeItemId
*arg2
= 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "id", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail
;
27346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27347 if (SWIG_arg_fail(2)) SWIG_fail
;
27348 if (arg2
== NULL
) {
27349 SWIG_null_ref("wxTreeItemId");
27351 if (SWIG_arg_fail(2)) SWIG_fail
;
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 Py_INCREF(Py_None
); resultobj
= Py_None
;
27367 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27377 if (SWIG_arg_fail(1)) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 wxPyTreeItemData_Destroy(arg1
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27392 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27395 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27397 return Py_BuildValue((char *)"");
27399 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27402 int arg2
= (int) 0 ;
27403 wxTreeEvent
*result
;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "commandType",(char *) "id", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27413 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27414 if (SWIG_arg_fail(1)) SWIG_fail
;
27419 arg2
= (int)(SWIG_As_int(obj1
));
27420 if (SWIG_arg_fail(2)) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27437 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27440 wxTreeItemId result
;
27441 PyObject
* obj0
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 wxTreeItemId
* resultptr
;
27458 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27467 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
;
27469 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27470 wxTreeItemId
*arg2
= 0 ;
27471 PyObject
* obj0
= 0 ;
27472 PyObject
* obj1
= 0 ;
27473 char *kwnames
[] = {
27474 (char *) "self",(char *) "item", NULL
27477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27479 if (SWIG_arg_fail(1)) SWIG_fail
;
27481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(2)) SWIG_fail
;
27483 if (arg2
== NULL
) {
27484 SWIG_null_ref("wxTreeItemId");
27486 if (SWIG_arg_fail(2)) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 Py_INCREF(Py_None
); resultobj
= Py_None
;
27502 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27505 wxTreeItemId result
;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 wxTreeItemId
* resultptr
;
27523 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27532 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27535 wxTreeItemId
*arg2
= 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "item", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27544 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(2)) SWIG_fail
;
27548 if (arg2
== NULL
) {
27549 SWIG_null_ref("wxTreeItemId");
27551 if (SWIG_arg_fail(2)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 wxPoint
* resultptr
;
27588 resultptr
= new wxPoint((wxPoint
&)(result
));
27589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27597 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27600 wxPoint
*arg2
= 0 ;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "pt", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27632 wxKeyEvent
*result
;
27633 PyObject
* obj0
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27645 result
= (wxKeyEvent
*) &_result_ref
;
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27658 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_From_int((int)(result
));
27686 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27689 wxKeyEvent
*arg2
= 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "evt", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27701 if (SWIG_arg_fail(2)) SWIG_fail
;
27702 if (arg2
== NULL
) {
27703 SWIG_null_ref("wxKeyEvent");
27705 if (SWIG_arg_fail(2)) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 Py_INCREF(Py_None
); resultobj
= Py_None
;
27721 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27737 result
= (wxString
*) &_result_ref
;
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27756 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27759 wxString
*arg2
= 0 ;
27760 bool temp2
= false ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self",(char *) "label", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail
;
27771 arg2
= wxString_in_helper(obj1
);
27772 if (arg2
== NULL
) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 (arg1
)->SetLabel((wxString
const &)*arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 Py_INCREF(Py_None
); resultobj
= Py_None
;
27797 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
;
27799 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27801 PyObject
* obj0
= 0 ;
27802 char *kwnames
[] = {
27803 (char *) "self", NULL
27806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27808 if (SWIG_arg_fail(1)) SWIG_fail
;
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27825 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self",(char *) "editCancelled", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 arg2
= (bool)(SWIG_As_bool(obj1
));
27840 if (SWIG_arg_fail(2)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->SetEditCanceled(arg2
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 Py_INCREF(Py_None
); resultobj
= Py_None
;
27856 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27859 wxString
*arg2
= 0 ;
27860 bool temp2
= false ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self",(char *) "toolTip", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 arg2
= wxString_in_helper(obj1
);
27872 if (arg2
== NULL
) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 Py_INCREF(Py_None
); resultobj
= Py_None
;
27897 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27900 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27902 return Py_BuildValue((char *)"");
27904 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxWindow
*arg1
= (wxWindow
*) 0 ;
27907 int arg2
= (int) -1 ;
27908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27912 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27913 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27914 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27915 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27917 wxPyTreeCtrl
*result
;
27920 bool temp7
= false ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 PyObject
* obj2
= 0 ;
27924 PyObject
* obj3
= 0 ;
27925 PyObject
* obj4
= 0 ;
27926 PyObject
* obj5
= 0 ;
27927 PyObject
* obj6
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27937 arg2
= (int)(SWIG_As_int(obj1
));
27938 if (SWIG_arg_fail(2)) SWIG_fail
;
27944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27955 arg5
= (long)(SWIG_As_long(obj4
));
27956 if (SWIG_arg_fail(5)) SWIG_fail
;
27961 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27962 if (SWIG_arg_fail(6)) SWIG_fail
;
27963 if (arg6
== NULL
) {
27964 SWIG_null_ref("wxValidator");
27966 if (SWIG_arg_fail(6)) SWIG_fail
;
27971 arg7
= wxString_in_helper(obj6
);
27972 if (arg7
== NULL
) SWIG_fail
;
27977 if (!wxPyCheckForApp()) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27999 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxPyTreeCtrl
*result
;
28002 char *kwnames
[] = {
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28008 if (!wxPyCheckForApp()) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28022 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28025 wxWindow
*arg2
= (wxWindow
*) 0 ;
28026 int arg3
= (int) -1 ;
28027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28031 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28032 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28033 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28034 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28039 bool temp8
= false ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 PyObject
* obj2
= 0 ;
28043 PyObject
* obj3
= 0 ;
28044 PyObject
* obj4
= 0 ;
28045 PyObject
* obj5
= 0 ;
28046 PyObject
* obj6
= 0 ;
28047 PyObject
* obj7
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28054 if (SWIG_arg_fail(1)) SWIG_fail
;
28055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28056 if (SWIG_arg_fail(2)) SWIG_fail
;
28059 arg3
= (int)(SWIG_As_int(obj2
));
28060 if (SWIG_arg_fail(3)) SWIG_fail
;
28066 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28072 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28077 arg6
= (long)(SWIG_As_long(obj5
));
28078 if (SWIG_arg_fail(6)) SWIG_fail
;
28083 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28084 if (SWIG_arg_fail(7)) SWIG_fail
;
28085 if (arg7
== NULL
) {
28086 SWIG_null_ref("wxValidator");
28088 if (SWIG_arg_fail(7)) SWIG_fail
;
28093 arg8
= wxString_in_helper(obj7
);
28094 if (arg8
== NULL
) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28122 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28125 PyObject
*arg2
= (PyObject
*) 0 ;
28126 PyObject
*arg3
= (PyObject
*) 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 PyObject
* obj2
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "self",(char *) "_class", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 Py_INCREF(Py_None
); resultobj
= Py_None
;
28153 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28157 PyObject
* obj0
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28181 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28184 unsigned int result
;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28209 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28212 unsigned int arg2
;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "indent", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28221 if (SWIG_arg_fail(1)) SWIG_fail
;
28223 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28224 if (SWIG_arg_fail(2)) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->SetIndent(arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 Py_INCREF(Py_None
); resultobj
= Py_None
;
28240 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
;
28242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28243 unsigned int result
;
28244 PyObject
* obj0
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28251 if (SWIG_arg_fail(1)) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28268 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28271 unsigned int arg2
;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "spacing", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28280 if (SWIG_arg_fail(1)) SWIG_fail
;
28282 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28283 if (SWIG_arg_fail(2)) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 (arg1
)->SetSpacing(arg2
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 Py_INCREF(Py_None
); resultobj
= Py_None
;
28299 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
;
28301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28302 wxImageList
*result
;
28303 PyObject
* obj0
= 0 ;
28304 char *kwnames
[] = {
28305 (char *) "self", NULL
28308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= wxPyMake_wxObject(result
, 0);
28327 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28330 wxImageList
*result
;
28331 PyObject
* obj0
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= wxPyMake_wxObject(result
, 0);
28355 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28358 wxImageList
*arg2
= (wxImageList
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self",(char *) "imageList", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28367 if (SWIG_arg_fail(1)) SWIG_fail
;
28368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(2)) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 (arg1
)->SetImageList(arg2
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 Py_INCREF(Py_None
); resultobj
= Py_None
;
28384 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28387 wxImageList
*arg2
= (wxImageList
*) 0 ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char *kwnames
[] = {
28391 (char *) "self",(char *) "imageList", NULL
28394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28396 if (SWIG_arg_fail(1)) SWIG_fail
;
28397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28398 if (SWIG_arg_fail(2)) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->SetStateImageList(arg2
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28416 wxImageList
*arg2
= (wxImageList
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "imageList", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28425 if (SWIG_arg_fail(1)) SWIG_fail
;
28426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28427 if (SWIG_arg_fail(2)) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 (arg1
)->AssignImageList(arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 Py_INCREF(Py_None
); resultobj
= Py_None
;
28442 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28445 wxImageList
*arg2
= (wxImageList
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self",(char *) "imageList", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28454 if (SWIG_arg_fail(1)) SWIG_fail
;
28455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28456 if (SWIG_arg_fail(2)) SWIG_fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 (arg1
)->AssignStateImageList(arg2
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 Py_INCREF(Py_None
); resultobj
= Py_None
;
28471 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28474 wxTreeItemId
*arg2
= 0 ;
28476 PyObject
* obj0
= 0 ;
28477 PyObject
* obj1
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "item", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail
;
28488 if (arg2
== NULL
) {
28489 SWIG_null_ref("wxTreeItemId");
28491 if (SWIG_arg_fail(2)) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28513 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28516 wxTreeItemId
*arg2
= 0 ;
28517 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28519 PyObject
* obj0
= 0 ;
28520 PyObject
* obj1
= 0 ;
28521 PyObject
* obj2
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self",(char *) "item",(char *) "which", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail
;
28530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(2)) SWIG_fail
;
28532 if (arg2
== NULL
) {
28533 SWIG_null_ref("wxTreeItemId");
28535 if (SWIG_arg_fail(2)) SWIG_fail
;
28539 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28540 if (SWIG_arg_fail(3)) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_From_int((int)(result
));
28559 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28562 wxTreeItemId
*arg2
= 0 ;
28563 wxPyTreeItemData
*result
;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self",(char *) "item", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(1)) SWIG_fail
;
28574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28575 if (SWIG_arg_fail(2)) SWIG_fail
;
28576 if (arg2
== NULL
) {
28577 SWIG_null_ref("wxTreeItemId");
28579 if (SWIG_arg_fail(2)) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28595 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
;
28597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28598 wxTreeItemId
*arg2
= 0 ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self",(char *) "item", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail
;
28610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28611 if (SWIG_arg_fail(2)) SWIG_fail
;
28612 if (arg2
== NULL
) {
28613 SWIG_null_ref("wxTreeItemId");
28615 if (SWIG_arg_fail(2)) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= result
;
28631 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28634 wxTreeItemId
*arg2
= 0 ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 char *kwnames
[] = {
28639 (char *) "self",(char *) "item", NULL
28642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28644 if (SWIG_arg_fail(1)) SWIG_fail
;
28646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28647 if (SWIG_arg_fail(2)) SWIG_fail
;
28648 if (arg2
== NULL
) {
28649 SWIG_null_ref("wxTreeItemId");
28651 if (SWIG_arg_fail(2)) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28661 wxColour
* resultptr
;
28662 resultptr
= new wxColour((wxColour
&)(result
));
28663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28671 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28674 wxTreeItemId
*arg2
= 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self",(char *) "item", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(2)) SWIG_fail
;
28688 if (arg2
== NULL
) {
28689 SWIG_null_ref("wxTreeItemId");
28691 if (SWIG_arg_fail(2)) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28701 wxColour
* resultptr
;
28702 resultptr
= new wxColour((wxColour
&)(result
));
28703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28711 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
;
28713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28714 wxTreeItemId
*arg2
= 0 ;
28716 PyObject
* obj0
= 0 ;
28717 PyObject
* obj1
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self",(char *) "item", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28724 if (SWIG_arg_fail(1)) SWIG_fail
;
28726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28727 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 if (arg2
== NULL
) {
28729 SWIG_null_ref("wxTreeItemId");
28731 if (SWIG_arg_fail(2)) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28741 wxFont
* resultptr
;
28742 resultptr
= new wxFont((wxFont
&)(result
));
28743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28751 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28752 PyObject
*resultobj
;
28753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28754 wxTreeItemId
*arg2
= 0 ;
28755 wxString
*arg3
= 0 ;
28756 bool temp3
= false ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 PyObject
* obj2
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self",(char *) "item",(char *) "text", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail
;
28768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28769 if (SWIG_arg_fail(2)) SWIG_fail
;
28770 if (arg2
== NULL
) {
28771 SWIG_null_ref("wxTreeItemId");
28773 if (SWIG_arg_fail(2)) SWIG_fail
;
28776 arg3
= wxString_in_helper(obj2
);
28777 if (arg3
== NULL
) SWIG_fail
;
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28782 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 Py_INCREF(Py_None
); resultobj
= Py_None
;
28802 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28805 wxTreeItemId
*arg2
= 0 ;
28807 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 PyObject
* obj2
= 0 ;
28811 PyObject
* obj3
= 0 ;
28812 char *kwnames
[] = {
28813 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28818 if (SWIG_arg_fail(1)) SWIG_fail
;
28820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28821 if (SWIG_arg_fail(2)) SWIG_fail
;
28822 if (arg2
== NULL
) {
28823 SWIG_null_ref("wxTreeItemId");
28825 if (SWIG_arg_fail(2)) SWIG_fail
;
28828 arg3
= (int)(SWIG_As_int(obj2
));
28829 if (SWIG_arg_fail(3)) SWIG_fail
;
28833 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28834 if (SWIG_arg_fail(4)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 Py_INCREF(Py_None
); resultobj
= Py_None
;
28851 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28854 wxTreeItemId
*arg2
= 0 ;
28855 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self",(char *) "item",(char *) "data", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28865 if (SWIG_arg_fail(1)) SWIG_fail
;
28867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(2)) SWIG_fail
;
28869 if (arg2
== NULL
) {
28870 SWIG_null_ref("wxTreeItemId");
28872 if (SWIG_arg_fail(2)) SWIG_fail
;
28874 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28875 if (SWIG_arg_fail(3)) SWIG_fail
;
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 Py_INCREF(Py_None
); resultobj
= Py_None
;
28890 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28893 wxTreeItemId
*arg2
= 0 ;
28894 PyObject
*arg3
= (PyObject
*) 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self",(char *) "item",(char *) "obj", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28907 if (SWIG_arg_fail(2)) SWIG_fail
;
28908 if (arg2
== NULL
) {
28909 SWIG_null_ref("wxTreeItemId");
28911 if (SWIG_arg_fail(2)) SWIG_fail
;
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 Py_INCREF(Py_None
); resultobj
= Py_None
;
28928 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
;
28930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28931 wxTreeItemId
*arg2
= 0 ;
28932 bool arg3
= (bool) true ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 PyObject
* obj2
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "item",(char *) "has", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28945 if (SWIG_arg_fail(2)) SWIG_fail
;
28946 if (arg2
== NULL
) {
28947 SWIG_null_ref("wxTreeItemId");
28949 if (SWIG_arg_fail(2)) SWIG_fail
;
28953 arg3
= (bool)(SWIG_As_bool(obj2
));
28954 if (SWIG_arg_fail(3)) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 Py_INCREF(Py_None
); resultobj
= Py_None
;
28971 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28974 wxTreeItemId
*arg2
= 0 ;
28975 bool arg3
= (bool) true ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "item",(char *) "bold", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28988 if (SWIG_arg_fail(2)) SWIG_fail
;
28989 if (arg2
== NULL
) {
28990 SWIG_null_ref("wxTreeItemId");
28992 if (SWIG_arg_fail(2)) SWIG_fail
;
28996 arg3
= (bool)(SWIG_As_bool(obj2
));
28997 if (SWIG_arg_fail(3)) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 Py_INCREF(Py_None
); resultobj
= Py_None
;
29014 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29017 wxTreeItemId
*arg2
= 0 ;
29018 wxColour
*arg3
= 0 ;
29020 PyObject
* obj0
= 0 ;
29021 PyObject
* obj1
= 0 ;
29022 PyObject
* obj2
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self",(char *) "item",(char *) "col", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail
;
29031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29032 if (SWIG_arg_fail(2)) SWIG_fail
;
29033 if (arg2
== NULL
) {
29034 SWIG_null_ref("wxTreeItemId");
29036 if (SWIG_arg_fail(2)) SWIG_fail
;
29040 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 Py_INCREF(Py_None
); resultobj
= Py_None
;
29056 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29059 wxTreeItemId
*arg2
= 0 ;
29060 wxColour
*arg3
= 0 ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 PyObject
* obj2
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self",(char *) "item",(char *) "col", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail
;
29073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29074 if (SWIG_arg_fail(2)) SWIG_fail
;
29075 if (arg2
== NULL
) {
29076 SWIG_null_ref("wxTreeItemId");
29078 if (SWIG_arg_fail(2)) SWIG_fail
;
29082 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 Py_INCREF(Py_None
); resultobj
= Py_None
;
29098 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29101 wxTreeItemId
*arg2
= 0 ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 PyObject
* obj2
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self",(char *) "item",(char *) "font", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29112 if (SWIG_arg_fail(1)) SWIG_fail
;
29114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29115 if (SWIG_arg_fail(2)) SWIG_fail
;
29116 if (arg2
== NULL
) {
29117 SWIG_null_ref("wxTreeItemId");
29119 if (SWIG_arg_fail(2)) SWIG_fail
;
29122 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29123 if (SWIG_arg_fail(3)) SWIG_fail
;
29124 if (arg3
== NULL
) {
29125 SWIG_null_ref("wxFont");
29127 if (SWIG_arg_fail(3)) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 Py_INCREF(Py_None
); resultobj
= Py_None
;
29143 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29146 wxTreeItemId
*arg2
= 0 ;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "item", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail
;
29158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29159 if (SWIG_arg_fail(2)) SWIG_fail
;
29160 if (arg2
== NULL
) {
29161 SWIG_null_ref("wxTreeItemId");
29163 if (SWIG_arg_fail(2)) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29181 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29184 wxTreeItemId
*arg2
= 0 ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self",(char *) "item", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(1)) SWIG_fail
;
29196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29197 if (SWIG_arg_fail(2)) SWIG_fail
;
29198 if (arg2
== NULL
) {
29199 SWIG_null_ref("wxTreeItemId");
29201 if (SWIG_arg_fail(2)) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29219 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
;
29221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29222 wxTreeItemId
*arg2
= 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 char *kwnames
[] = {
29227 (char *) "self",(char *) "item", NULL
29230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29232 if (SWIG_arg_fail(1)) SWIG_fail
;
29234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29235 if (SWIG_arg_fail(2)) SWIG_fail
;
29236 if (arg2
== NULL
) {
29237 SWIG_null_ref("wxTreeItemId");
29239 if (SWIG_arg_fail(2)) SWIG_fail
;
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29257 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
;
29259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29260 wxTreeItemId
*arg2
= 0 ;
29262 PyObject
* obj0
= 0 ;
29263 PyObject
* obj1
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self",(char *) "item", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail
;
29272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29273 if (SWIG_arg_fail(2)) SWIG_fail
;
29274 if (arg2
== NULL
) {
29275 SWIG_null_ref("wxTreeItemId");
29277 if (SWIG_arg_fail(2)) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29295 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29298 wxTreeItemId
*arg2
= 0 ;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 char *kwnames
[] = {
29303 (char *) "self",(char *) "item", NULL
29306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29308 if (SWIG_arg_fail(1)) SWIG_fail
;
29310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(2)) SWIG_fail
;
29312 if (arg2
== NULL
) {
29313 SWIG_null_ref("wxTreeItemId");
29315 if (SWIG_arg_fail(2)) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29333 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29336 wxTreeItemId
*arg2
= 0 ;
29337 bool arg3
= (bool) true ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 char *kwnames
[] = {
29343 (char *) "self",(char *) "item",(char *) "recursively", NULL
29346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail
;
29350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29351 if (SWIG_arg_fail(2)) SWIG_fail
;
29352 if (arg2
== NULL
) {
29353 SWIG_null_ref("wxTreeItemId");
29355 if (SWIG_arg_fail(2)) SWIG_fail
;
29359 arg3
= (bool)(SWIG_As_bool(obj2
));
29360 if (SWIG_arg_fail(3)) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29379 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29382 wxTreeItemId result
;
29383 PyObject
* obj0
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29390 if (SWIG_arg_fail(1)) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29399 wxTreeItemId
* resultptr
;
29400 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29409 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29412 wxTreeItemId result
;
29413 PyObject
* obj0
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29420 if (SWIG_arg_fail(1)) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 wxTreeItemId
* resultptr
;
29430 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29439 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29443 PyObject
* obj0
= 0 ;
29444 char *kwnames
[] = {
29445 (char *) "self", NULL
29448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29450 if (SWIG_arg_fail(1)) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= result
;
29465 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29468 wxTreeItemId
*arg2
= 0 ;
29469 wxTreeItemId result
;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "item", NULL
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29478 if (SWIG_arg_fail(1)) SWIG_fail
;
29480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(2)) SWIG_fail
;
29482 if (arg2
== NULL
) {
29483 SWIG_null_ref("wxTreeItemId");
29485 if (SWIG_arg_fail(2)) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 wxTreeItemId
* resultptr
;
29496 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29505 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29508 wxTreeItemId
*arg2
= 0 ;
29510 PyObject
* obj0
= 0 ;
29511 PyObject
* obj1
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self",(char *) "item", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail
;
29520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29521 if (SWIG_arg_fail(2)) SWIG_fail
;
29522 if (arg2
== NULL
) {
29523 SWIG_null_ref("wxTreeItemId");
29525 if (SWIG_arg_fail(2)) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= result
;
29541 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29544 wxTreeItemId
*arg2
= 0 ;
29545 void *arg3
= (void *) 0 ;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 char *kwnames
[] = {
29551 (char *) "self",(char *) "item",(char *) "cookie", NULL
29554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29556 if (SWIG_arg_fail(1)) SWIG_fail
;
29558 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29559 if (SWIG_arg_fail(2)) SWIG_fail
;
29560 if (arg2
== NULL
) {
29561 SWIG_null_ref("wxTreeItemId");
29563 if (SWIG_arg_fail(2)) SWIG_fail
;
29566 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29567 SWIG_arg_fail(3);SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= result
;
29584 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
;
29586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29587 wxTreeItemId
*arg2
= 0 ;
29588 wxTreeItemId result
;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self",(char *) "item", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29597 if (SWIG_arg_fail(1)) SWIG_fail
;
29599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29600 if (SWIG_arg_fail(2)) SWIG_fail
;
29601 if (arg2
== NULL
) {
29602 SWIG_null_ref("wxTreeItemId");
29604 if (SWIG_arg_fail(2)) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 wxTreeItemId
* resultptr
;
29615 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29624 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29625 PyObject
*resultobj
;
29626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29627 wxTreeItemId
*arg2
= 0 ;
29628 wxTreeItemId result
;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self",(char *) "item", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29637 if (SWIG_arg_fail(1)) SWIG_fail
;
29639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29640 if (SWIG_arg_fail(2)) SWIG_fail
;
29641 if (arg2
== NULL
) {
29642 SWIG_null_ref("wxTreeItemId");
29644 if (SWIG_arg_fail(2)) SWIG_fail
;
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29654 wxTreeItemId
* resultptr
;
29655 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29664 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29667 wxTreeItemId
*arg2
= 0 ;
29668 wxTreeItemId result
;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 char *kwnames
[] = {
29672 (char *) "self",(char *) "item", NULL
29675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail
;
29679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29680 if (SWIG_arg_fail(2)) SWIG_fail
;
29681 if (arg2
== NULL
) {
29682 SWIG_null_ref("wxTreeItemId");
29684 if (SWIG_arg_fail(2)) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 wxTreeItemId
* resultptr
;
29695 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29704 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29707 wxTreeItemId result
;
29708 PyObject
* obj0
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self", NULL
29713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29715 if (SWIG_arg_fail(1)) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29724 wxTreeItemId
* resultptr
;
29725 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29734 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
;
29736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29737 wxTreeItemId
*arg2
= 0 ;
29738 wxTreeItemId result
;
29739 PyObject
* obj0
= 0 ;
29740 PyObject
* obj1
= 0 ;
29741 char *kwnames
[] = {
29742 (char *) "self",(char *) "item", NULL
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29747 if (SWIG_arg_fail(1)) SWIG_fail
;
29749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29750 if (SWIG_arg_fail(2)) SWIG_fail
;
29751 if (arg2
== NULL
) {
29752 SWIG_null_ref("wxTreeItemId");
29754 if (SWIG_arg_fail(2)) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29764 wxTreeItemId
* resultptr
;
29765 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29774 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
;
29776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29777 wxTreeItemId
*arg2
= 0 ;
29778 wxTreeItemId result
;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 char *kwnames
[] = {
29782 (char *) "self",(char *) "item", NULL
29785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail
;
29789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29790 if (SWIG_arg_fail(2)) SWIG_fail
;
29791 if (arg2
== NULL
) {
29792 SWIG_null_ref("wxTreeItemId");
29794 if (SWIG_arg_fail(2)) SWIG_fail
;
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29804 wxTreeItemId
* resultptr
;
29805 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29814 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29817 wxString
*arg2
= 0 ;
29818 int arg3
= (int) -1 ;
29819 int arg4
= (int) -1 ;
29820 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29821 wxTreeItemId result
;
29822 bool temp2
= false ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 PyObject
* obj2
= 0 ;
29826 PyObject
* obj3
= 0 ;
29827 PyObject
* obj4
= 0 ;
29828 char *kwnames
[] = {
29829 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29834 if (SWIG_arg_fail(1)) SWIG_fail
;
29836 arg2
= wxString_in_helper(obj1
);
29837 if (arg2
== NULL
) SWIG_fail
;
29842 arg3
= (int)(SWIG_As_int(obj2
));
29843 if (SWIG_arg_fail(3)) SWIG_fail
;
29848 arg4
= (int)(SWIG_As_int(obj3
));
29849 if (SWIG_arg_fail(4)) SWIG_fail
;
29853 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29854 if (SWIG_arg_fail(5)) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29864 wxTreeItemId
* resultptr
;
29865 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29882 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29885 wxTreeItemId
*arg2
= 0 ;
29886 wxString
*arg3
= 0 ;
29887 int arg4
= (int) -1 ;
29888 int arg5
= (int) -1 ;
29889 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29890 wxTreeItemId result
;
29891 bool temp3
= false ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 PyObject
* obj2
= 0 ;
29895 PyObject
* obj3
= 0 ;
29896 PyObject
* obj4
= 0 ;
29897 PyObject
* obj5
= 0 ;
29898 char *kwnames
[] = {
29899 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail
;
29906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(2)) SWIG_fail
;
29908 if (arg2
== NULL
) {
29909 SWIG_null_ref("wxTreeItemId");
29911 if (SWIG_arg_fail(2)) SWIG_fail
;
29914 arg3
= wxString_in_helper(obj2
);
29915 if (arg3
== NULL
) SWIG_fail
;
29920 arg4
= (int)(SWIG_As_int(obj3
));
29921 if (SWIG_arg_fail(4)) SWIG_fail
;
29926 arg5
= (int)(SWIG_As_int(obj4
));
29927 if (SWIG_arg_fail(5)) SWIG_fail
;
29931 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29932 if (SWIG_arg_fail(6)) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29942 wxTreeItemId
* resultptr
;
29943 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29960 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
;
29962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29963 wxTreeItemId
*arg2
= 0 ;
29964 wxTreeItemId
*arg3
= 0 ;
29965 wxString
*arg4
= 0 ;
29966 int arg5
= (int) -1 ;
29967 int arg6
= (int) -1 ;
29968 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29969 wxTreeItemId result
;
29970 bool temp4
= false ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 PyObject
* obj2
= 0 ;
29974 PyObject
* obj3
= 0 ;
29975 PyObject
* obj4
= 0 ;
29976 PyObject
* obj5
= 0 ;
29977 PyObject
* obj6
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail
;
29988 if (arg2
== NULL
) {
29989 SWIG_null_ref("wxTreeItemId");
29991 if (SWIG_arg_fail(2)) SWIG_fail
;
29994 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29995 if (SWIG_arg_fail(3)) SWIG_fail
;
29996 if (arg3
== NULL
) {
29997 SWIG_null_ref("wxTreeItemId");
29999 if (SWIG_arg_fail(3)) SWIG_fail
;
30002 arg4
= wxString_in_helper(obj3
);
30003 if (arg4
== NULL
) SWIG_fail
;
30008 arg5
= (int)(SWIG_As_int(obj4
));
30009 if (SWIG_arg_fail(5)) SWIG_fail
;
30014 arg6
= (int)(SWIG_As_int(obj5
));
30015 if (SWIG_arg_fail(6)) SWIG_fail
;
30019 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30020 if (SWIG_arg_fail(7)) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 wxTreeItemId
* resultptr
;
30031 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30048 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30051 wxTreeItemId
*arg2
= 0 ;
30053 wxString
*arg4
= 0 ;
30054 int arg5
= (int) -1 ;
30055 int arg6
= (int) -1 ;
30056 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30057 wxTreeItemId result
;
30058 bool temp4
= false ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 PyObject
* obj2
= 0 ;
30062 PyObject
* obj3
= 0 ;
30063 PyObject
* obj4
= 0 ;
30064 PyObject
* obj5
= 0 ;
30065 PyObject
* obj6
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30072 if (SWIG_arg_fail(1)) SWIG_fail
;
30074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30075 if (SWIG_arg_fail(2)) SWIG_fail
;
30076 if (arg2
== NULL
) {
30077 SWIG_null_ref("wxTreeItemId");
30079 if (SWIG_arg_fail(2)) SWIG_fail
;
30082 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30083 if (SWIG_arg_fail(3)) SWIG_fail
;
30086 arg4
= wxString_in_helper(obj3
);
30087 if (arg4
== NULL
) SWIG_fail
;
30092 arg5
= (int)(SWIG_As_int(obj4
));
30093 if (SWIG_arg_fail(5)) SWIG_fail
;
30098 arg6
= (int)(SWIG_As_int(obj5
));
30099 if (SWIG_arg_fail(6)) SWIG_fail
;
30103 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30104 if (SWIG_arg_fail(7)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30114 wxTreeItemId
* resultptr
;
30115 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30132 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
;
30134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30135 wxTreeItemId
*arg2
= 0 ;
30136 wxString
*arg3
= 0 ;
30137 int arg4
= (int) -1 ;
30138 int arg5
= (int) -1 ;
30139 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30140 wxTreeItemId result
;
30141 bool temp3
= false ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 PyObject
* obj2
= 0 ;
30145 PyObject
* obj3
= 0 ;
30146 PyObject
* obj4
= 0 ;
30147 PyObject
* obj5
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail
;
30156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30157 if (SWIG_arg_fail(2)) SWIG_fail
;
30158 if (arg2
== NULL
) {
30159 SWIG_null_ref("wxTreeItemId");
30161 if (SWIG_arg_fail(2)) SWIG_fail
;
30164 arg3
= wxString_in_helper(obj2
);
30165 if (arg3
== NULL
) SWIG_fail
;
30170 arg4
= (int)(SWIG_As_int(obj3
));
30171 if (SWIG_arg_fail(4)) SWIG_fail
;
30176 arg5
= (int)(SWIG_As_int(obj4
));
30177 if (SWIG_arg_fail(5)) SWIG_fail
;
30181 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(6)) SWIG_fail
;
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30192 wxTreeItemId
* resultptr
;
30193 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30210 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30213 wxTreeItemId
*arg2
= 0 ;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self",(char *) "item", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail
;
30226 if (arg2
== NULL
) {
30227 SWIG_null_ref("wxTreeItemId");
30229 if (SWIG_arg_fail(2)) SWIG_fail
;
30232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 Py_INCREF(Py_None
); resultobj
= Py_None
;
30245 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30248 wxTreeItemId
*arg2
= 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self",(char *) "item", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30257 if (SWIG_arg_fail(1)) SWIG_fail
;
30259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30260 if (SWIG_arg_fail(2)) SWIG_fail
;
30261 if (arg2
== NULL
) {
30262 SWIG_null_ref("wxTreeItemId");
30264 if (SWIG_arg_fail(2)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30280 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->DeleteAllItems();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30308 wxTreeItemId
*arg2
= 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self",(char *) "item", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30317 if (SWIG_arg_fail(1)) SWIG_fail
;
30319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30320 if (SWIG_arg_fail(2)) SWIG_fail
;
30321 if (arg2
== NULL
) {
30322 SWIG_null_ref("wxTreeItemId");
30324 if (SWIG_arg_fail(2)) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30340 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
;
30342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30343 wxTreeItemId
*arg2
= 0 ;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "item", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30355 if (SWIG_arg_fail(2)) SWIG_fail
;
30356 if (arg2
== NULL
) {
30357 SWIG_null_ref("wxTreeItemId");
30359 if (SWIG_arg_fail(2)) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 Py_INCREF(Py_None
); resultobj
= Py_None
;
30375 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30378 wxTreeItemId
*arg2
= 0 ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "item", NULL
30385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail
;
30389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(2)) SWIG_fail
;
30391 if (arg2
== NULL
) {
30392 SWIG_null_ref("wxTreeItemId");
30394 if (SWIG_arg_fail(2)) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 Py_INCREF(Py_None
); resultobj
= Py_None
;
30410 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30413 wxTreeItemId
*arg2
= 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self",(char *) "item", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30422 if (SWIG_arg_fail(1)) SWIG_fail
;
30424 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30425 if (SWIG_arg_fail(2)) SWIG_fail
;
30426 if (arg2
== NULL
) {
30427 SWIG_null_ref("wxTreeItemId");
30429 if (SWIG_arg_fail(2)) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 Py_INCREF(Py_None
); resultobj
= Py_None
;
30445 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30448 PyObject
* obj0
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->Unselect();
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 Py_INCREF(Py_None
); resultobj
= Py_None
;
30470 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30473 wxTreeItemId
*arg2
= 0 ;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self",(char *) "item", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail
;
30484 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30485 if (SWIG_arg_fail(2)) SWIG_fail
;
30486 if (arg2
== NULL
) {
30487 SWIG_null_ref("wxTreeItemId");
30489 if (SWIG_arg_fail(2)) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 Py_INCREF(Py_None
); resultobj
= Py_None
;
30505 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30515 if (SWIG_arg_fail(1)) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->UnselectAll();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30533 wxTreeItemId
*arg2
= 0 ;
30534 bool arg3
= (bool) true ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 PyObject
* obj2
= 0 ;
30538 char *kwnames
[] = {
30539 (char *) "self",(char *) "item",(char *) "select", NULL
30542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30544 if (SWIG_arg_fail(1)) SWIG_fail
;
30546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30547 if (SWIG_arg_fail(2)) SWIG_fail
;
30548 if (arg2
== NULL
) {
30549 SWIG_null_ref("wxTreeItemId");
30551 if (SWIG_arg_fail(2)) SWIG_fail
;
30555 arg3
= (bool)(SWIG_As_bool(obj2
));
30556 if (SWIG_arg_fail(3)) SWIG_fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30576 wxTreeItemId
*arg2
= 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "item", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30585 if (SWIG_arg_fail(1)) SWIG_fail
;
30587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(2)) SWIG_fail
;
30589 if (arg2
== NULL
) {
30590 SWIG_null_ref("wxTreeItemId");
30592 if (SWIG_arg_fail(2)) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 Py_INCREF(Py_None
); resultobj
= Py_None
;
30608 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30611 wxTreeItemId
*arg2
= 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "item", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail
;
30622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30623 if (SWIG_arg_fail(2)) SWIG_fail
;
30624 if (arg2
== NULL
) {
30625 SWIG_null_ref("wxTreeItemId");
30627 if (SWIG_arg_fail(2)) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30646 wxTreeItemId
*arg2
= 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 char *kwnames
[] = {
30650 (char *) "self",(char *) "item", NULL
30653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30655 if (SWIG_arg_fail(1)) SWIG_fail
;
30657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30658 if (SWIG_arg_fail(2)) SWIG_fail
;
30659 if (arg2
== NULL
) {
30660 SWIG_null_ref("wxTreeItemId");
30662 if (SWIG_arg_fail(2)) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 Py_INCREF(Py_None
); resultobj
= Py_None
;
30678 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
;
30680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30681 wxTreeItemId
*arg2
= 0 ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "item", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail
;
30692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30693 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 if (arg2
== NULL
) {
30695 SWIG_null_ref("wxTreeItemId");
30697 if (SWIG_arg_fail(2)) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 Py_INCREF(Py_None
); resultobj
= Py_None
;
30713 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
;
30715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30716 wxTextCtrl
*result
;
30717 PyObject
* obj0
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30724 if (SWIG_arg_fail(1)) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= wxPyMake_wxObject(result
, 0);
30741 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30742 PyObject
*resultobj
;
30743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30744 wxTreeItemId
*arg2
= 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 char *kwnames
[] = {
30748 (char *) "self",(char *) "item", NULL
30751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30753 if (SWIG_arg_fail(1)) SWIG_fail
;
30755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30756 if (SWIG_arg_fail(2)) SWIG_fail
;
30757 if (arg2
== NULL
) {
30758 SWIG_null_ref("wxTreeItemId");
30760 if (SWIG_arg_fail(2)) SWIG_fail
;
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 Py_INCREF(Py_None
); resultobj
= Py_None
;
30776 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30779 wxPoint
*arg2
= 0 ;
30781 wxTreeItemId result
;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char *kwnames
[] = {
30788 (char *) "self",(char *) "point", NULL
30791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail
;
30797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30807 wxTreeItemId
* resultptr
;
30808 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30811 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30812 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30819 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30822 wxTreeItemId
*arg2
= 0 ;
30823 bool arg3
= (bool) false ;
30825 PyObject
* obj0
= 0 ;
30826 PyObject
* obj1
= 0 ;
30827 PyObject
* obj2
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail
;
30836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30837 if (SWIG_arg_fail(2)) SWIG_fail
;
30838 if (arg2
== NULL
) {
30839 SWIG_null_ref("wxTreeItemId");
30841 if (SWIG_arg_fail(2)) SWIG_fail
;
30845 arg3
= (bool)(SWIG_As_bool(obj2
));
30846 if (SWIG_arg_fail(3)) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= result
;
30863 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30866 wxVisualAttributes result
;
30867 PyObject
* obj0
= 0 ;
30868 char *kwnames
[] = {
30869 (char *) "variant", NULL
30872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30875 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30876 if (SWIG_arg_fail(1)) SWIG_fail
;
30880 if (!wxPyCheckForApp()) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30888 wxVisualAttributes
* resultptr
;
30889 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30898 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30901 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30903 return Py_BuildValue((char *)"");
30905 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30906 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30911 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30916 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30918 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30925 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
;
30927 wxWindow
*arg1
= (wxWindow
*) 0 ;
30928 int arg2
= (int) (int)-1 ;
30929 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30935 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30936 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30938 int arg8
= (int) 0 ;
30939 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30940 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30941 wxGenericDirCtrl
*result
;
30942 bool temp3
= false ;
30945 bool temp7
= false ;
30946 bool temp9
= false ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 PyObject
* obj2
= 0 ;
30950 PyObject
* obj3
= 0 ;
30951 PyObject
* obj4
= 0 ;
30952 PyObject
* obj5
= 0 ;
30953 PyObject
* obj6
= 0 ;
30954 PyObject
* obj7
= 0 ;
30955 PyObject
* obj8
= 0 ;
30956 char *kwnames
[] = {
30957 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30962 if (SWIG_arg_fail(1)) SWIG_fail
;
30965 arg2
= (int const)(SWIG_As_int(obj1
));
30966 if (SWIG_arg_fail(2)) SWIG_fail
;
30971 arg3
= wxString_in_helper(obj2
);
30972 if (arg3
== NULL
) SWIG_fail
;
30979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30990 arg6
= (long)(SWIG_As_long(obj5
));
30991 if (SWIG_arg_fail(6)) SWIG_fail
;
30996 arg7
= wxString_in_helper(obj6
);
30997 if (arg7
== NULL
) SWIG_fail
;
31003 arg8
= (int)(SWIG_As_int(obj7
));
31004 if (SWIG_arg_fail(8)) SWIG_fail
;
31009 arg9
= wxString_in_helper(obj8
);
31010 if (arg9
== NULL
) SWIG_fail
;
31015 if (!wxPyCheckForApp()) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31053 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxGenericDirCtrl
*result
;
31056 char *kwnames
[] = {
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31062 if (!wxPyCheckForApp()) SWIG_fail
;
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31076 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
;
31078 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31079 wxWindow
*arg2
= (wxWindow
*) 0 ;
31080 int arg3
= (int) (int)-1 ;
31081 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31082 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31083 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31084 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31085 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31086 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31087 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31088 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31089 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31090 int arg9
= (int) 0 ;
31091 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31092 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31094 bool temp4
= false ;
31097 bool temp8
= false ;
31098 bool temp10
= false ;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 PyObject
* obj2
= 0 ;
31102 PyObject
* obj3
= 0 ;
31103 PyObject
* obj4
= 0 ;
31104 PyObject
* obj5
= 0 ;
31105 PyObject
* obj6
= 0 ;
31106 PyObject
* obj7
= 0 ;
31107 PyObject
* obj8
= 0 ;
31108 PyObject
* obj9
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31115 if (SWIG_arg_fail(1)) SWIG_fail
;
31116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31117 if (SWIG_arg_fail(2)) SWIG_fail
;
31120 arg3
= (int const)(SWIG_As_int(obj2
));
31121 if (SWIG_arg_fail(3)) SWIG_fail
;
31126 arg4
= wxString_in_helper(obj3
);
31127 if (arg4
== NULL
) SWIG_fail
;
31134 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31140 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31145 arg7
= (long)(SWIG_As_long(obj6
));
31146 if (SWIG_arg_fail(7)) SWIG_fail
;
31151 arg8
= wxString_in_helper(obj7
);
31152 if (arg8
== NULL
) SWIG_fail
;
31158 arg9
= (int)(SWIG_As_int(obj8
));
31159 if (SWIG_arg_fail(9)) SWIG_fail
;
31164 arg10
= wxString_in_helper(obj9
);
31165 if (arg10
== NULL
) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31209 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31212 wxString
*arg2
= 0 ;
31214 bool temp2
= false ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self",(char *) "path", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31223 if (SWIG_arg_fail(1)) SWIG_fail
;
31225 arg2
= wxString_in_helper(obj1
);
31226 if (arg2
== NULL
) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31253 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31257 PyObject
* obj0
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "self", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail
;
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31285 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31288 wxString
*arg2
= 0 ;
31289 bool temp2
= false ;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "path", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31298 if (SWIG_arg_fail(1)) SWIG_fail
;
31300 arg2
= wxString_in_helper(obj1
);
31301 if (arg2
== NULL
) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31337 if (SWIG_arg_fail(1)) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31358 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31390 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
;
31392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31393 wxString
*arg2
= 0 ;
31394 bool temp2
= false ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "path", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31403 if (SWIG_arg_fail(1)) SWIG_fail
;
31405 arg2
= wxString_in_helper(obj1
);
31406 if (arg2
== NULL
) SWIG_fail
;
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 (arg1
)->SetPath((wxString
const &)*arg2
);
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31416 Py_INCREF(Py_None
); resultobj
= Py_None
;
31431 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
;
31433 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self",(char *) "show", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail
;
31445 arg2
= (bool)(SWIG_As_bool(obj1
));
31446 if (SWIG_arg_fail(2)) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 (arg1
)->ShowHidden(arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 Py_INCREF(Py_None
); resultobj
= Py_None
;
31462 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31473 if (SWIG_arg_fail(1)) SWIG_fail
;
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (bool)(arg1
)->GetShowHidden();
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31490 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
;
31492 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31501 if (SWIG_arg_fail(1)) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31522 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
;
31524 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31525 wxString
*arg2
= 0 ;
31526 bool temp2
= false ;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self",(char *) "filter", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail
;
31537 arg2
= wxString_in_helper(obj1
);
31538 if (arg2
== NULL
) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->SetFilter((wxString
const &)*arg2
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 Py_INCREF(Py_None
); resultobj
= Py_None
;
31563 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31564 PyObject
*resultobj
;
31565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31567 PyObject
* obj0
= 0 ;
31568 char *kwnames
[] = {
31569 (char *) "self", NULL
31572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31574 if (SWIG_arg_fail(1)) SWIG_fail
;
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31579 wxPyEndAllowThreads(__tstate
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31583 resultobj
= SWIG_From_int((int)(result
));
31591 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
;
31593 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self",(char *) "n", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail
;
31605 arg2
= (int)(SWIG_As_int(obj1
));
31606 if (SWIG_arg_fail(2)) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetFilterIndex(arg2
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 Py_INCREF(Py_None
); resultobj
= Py_None
;
31622 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31625 wxTreeItemId result
;
31626 PyObject
* obj0
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (arg1
)->GetRootId();
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31642 wxTreeItemId
* resultptr
;
31643 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31652 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
;
31654 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31655 wxPyTreeCtrl
*result
;
31656 PyObject
* obj0
= 0 ;
31657 char *kwnames
[] = {
31658 (char *) "self", NULL
31661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= wxPyMake_wxObject(result
, 0);
31680 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31681 PyObject
*resultobj
;
31682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31683 wxDirFilterListCtrl
*result
;
31684 PyObject
* obj0
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31706 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
;
31708 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31709 wxTreeItemId arg2
;
31710 wxString
*arg3
= 0 ;
31712 wxTreeItemId result
;
31713 bool temp3
= false ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 PyObject
* obj2
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self",(char *) "parentId",(char *) "path", NULL
31723 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail
;
31728 wxTreeItemId
* argp
;
31729 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31730 if (SWIG_arg_fail(2)) SWIG_fail
;
31731 if (argp
== NULL
) {
31732 SWIG_null_ref("wxTreeItemId");
31734 if (SWIG_arg_fail(2)) SWIG_fail
;
31738 arg3
= wxString_in_helper(obj2
);
31739 if (arg3
== NULL
) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 wxTreeItemId
* resultptr
;
31751 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31754 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31755 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31770 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31771 PyObject
*resultobj
;
31772 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->DoResize();
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 Py_INCREF(Py_None
); resultobj
= Py_None
;
31795 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31805 if (SWIG_arg_fail(1)) SWIG_fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 (arg1
)->ReCreateTree();
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 Py_INCREF(Py_None
); resultobj
= Py_None
;
31820 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31823 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31825 return Py_BuildValue((char *)"");
31827 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
;
31829 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31830 int arg2
= (int) (int)-1 ;
31831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31835 long arg5
= (long) 0 ;
31836 wxDirFilterListCtrl
*result
;
31839 PyObject
* obj0
= 0 ;
31840 PyObject
* obj1
= 0 ;
31841 PyObject
* obj2
= 0 ;
31842 PyObject
* obj3
= 0 ;
31843 PyObject
* obj4
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail
;
31853 arg2
= (int const)(SWIG_As_int(obj1
));
31854 if (SWIG_arg_fail(2)) SWIG_fail
;
31860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31871 arg5
= (long)(SWIG_As_long(obj4
));
31872 if (SWIG_arg_fail(5)) SWIG_fail
;
31876 if (!wxPyCheckForApp()) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31890 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxDirFilterListCtrl
*result
;
31893 char *kwnames
[] = {
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31899 if (!wxPyCheckForApp()) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31913 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31916 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31917 int arg3
= (int) (int)-1 ;
31918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31922 long arg6
= (long) 0 ;
31926 PyObject
* obj0
= 0 ;
31927 PyObject
* obj1
= 0 ;
31928 PyObject
* obj2
= 0 ;
31929 PyObject
* obj3
= 0 ;
31930 PyObject
* obj4
= 0 ;
31931 PyObject
* obj5
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail
;
31939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31940 if (SWIG_arg_fail(2)) SWIG_fail
;
31943 arg3
= (int const)(SWIG_As_int(obj2
));
31944 if (SWIG_arg_fail(3)) SWIG_fail
;
31950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31961 arg6
= (long)(SWIG_As_long(obj5
));
31962 if (SWIG_arg_fail(6)) SWIG_fail
;
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31981 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31984 wxString
*arg2
= 0 ;
31986 bool temp2
= false ;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 PyObject
* obj2
= 0 ;
31990 char *kwnames
[] = {
31991 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31996 if (SWIG_arg_fail(1)) SWIG_fail
;
31998 arg2
= wxString_in_helper(obj1
);
31999 if (arg2
== NULL
) SWIG_fail
;
32003 arg3
= (int)(SWIG_As_int(obj2
));
32004 if (SWIG_arg_fail(3)) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 Py_INCREF(Py_None
); resultobj
= Py_None
;
32028 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32031 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32033 return Py_BuildValue((char *)"");
32035 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
;
32037 wxWindow
*arg1
= (wxWindow
*) 0 ;
32038 int arg2
= (int) (int)-1 ;
32039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32043 long arg5
= (long) 0 ;
32044 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32045 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32046 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32048 wxPyControl
*result
;
32051 bool temp7
= false ;
32052 PyObject
* obj0
= 0 ;
32053 PyObject
* obj1
= 0 ;
32054 PyObject
* obj2
= 0 ;
32055 PyObject
* obj3
= 0 ;
32056 PyObject
* obj4
= 0 ;
32057 PyObject
* obj5
= 0 ;
32058 PyObject
* obj6
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32065 if (SWIG_arg_fail(1)) SWIG_fail
;
32068 arg2
= (int const)(SWIG_As_int(obj1
));
32069 if (SWIG_arg_fail(2)) SWIG_fail
;
32075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32081 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32086 arg5
= (long)(SWIG_As_long(obj4
));
32087 if (SWIG_arg_fail(5)) SWIG_fail
;
32092 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32093 if (SWIG_arg_fail(6)) SWIG_fail
;
32094 if (arg6
== NULL
) {
32095 SWIG_null_ref("wxValidator");
32097 if (SWIG_arg_fail(6)) SWIG_fail
;
32102 arg7
= wxString_in_helper(obj6
);
32103 if (arg7
== NULL
) SWIG_fail
;
32108 if (!wxPyCheckForApp()) SWIG_fail
;
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32130 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxPyControl
*result
;
32133 char *kwnames
[] = {
32137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32139 if (!wxPyCheckForApp()) SWIG_fail
;
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 result
= (wxPyControl
*)new wxPyControl();
32143 wxPyEndAllowThreads(__tstate
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32153 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
;
32155 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32156 PyObject
*arg2
= (PyObject
*) 0 ;
32157 PyObject
*arg3
= (PyObject
*) 0 ;
32158 PyObject
* obj0
= 0 ;
32159 PyObject
* obj1
= 0 ;
32160 PyObject
* obj2
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self",(char *) "self",(char *) "_class", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32167 if (SWIG_arg_fail(1)) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32189 PyObject
* obj0
= 0 ;
32190 PyObject
* obj1
= 0 ;
32191 char *kwnames
[] = {
32192 (char *) "self",(char *) "size", NULL
32195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32197 if (SWIG_arg_fail(1)) SWIG_fail
;
32200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32206 wxPyEndAllowThreads(__tstate
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32209 Py_INCREF(Py_None
); resultobj
= Py_None
;
32216 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
;
32218 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 PyObject
* obj2
= 0 ;
32226 PyObject
* obj3
= 0 ;
32227 PyObject
* obj4
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail
;
32236 arg2
= (int)(SWIG_As_int(obj1
));
32237 if (SWIG_arg_fail(2)) SWIG_fail
;
32240 arg3
= (int)(SWIG_As_int(obj2
));
32241 if (SWIG_arg_fail(3)) SWIG_fail
;
32244 arg4
= (int)(SWIG_As_int(obj3
));
32245 if (SWIG_arg_fail(4)) SWIG_fail
;
32248 arg5
= (int)(SWIG_As_int(obj4
));
32249 if (SWIG_arg_fail(5)) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 Py_INCREF(Py_None
); resultobj
= Py_None
;
32265 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
;
32267 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32272 int arg6
= (int) wxSIZE_AUTO
;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 PyObject
* obj2
= 0 ;
32276 PyObject
* obj3
= 0 ;
32277 PyObject
* obj4
= 0 ;
32278 PyObject
* obj5
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32285 if (SWIG_arg_fail(1)) SWIG_fail
;
32287 arg2
= (int)(SWIG_As_int(obj1
));
32288 if (SWIG_arg_fail(2)) SWIG_fail
;
32291 arg3
= (int)(SWIG_As_int(obj2
));
32292 if (SWIG_arg_fail(3)) SWIG_fail
;
32295 arg4
= (int)(SWIG_As_int(obj3
));
32296 if (SWIG_arg_fail(4)) SWIG_fail
;
32299 arg5
= (int)(SWIG_As_int(obj4
));
32300 if (SWIG_arg_fail(5)) SWIG_fail
;
32304 arg6
= (int)(SWIG_As_int(obj5
));
32305 if (SWIG_arg_fail(6)) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 Py_INCREF(Py_None
); resultobj
= Py_None
;
32322 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
;
32324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32327 PyObject
* obj0
= 0 ;
32328 PyObject
* obj1
= 0 ;
32329 PyObject
* obj2
= 0 ;
32330 char *kwnames
[] = {
32331 (char *) "self",(char *) "width",(char *) "height", NULL
32334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32336 if (SWIG_arg_fail(1)) SWIG_fail
;
32338 arg2
= (int)(SWIG_As_int(obj1
));
32339 if (SWIG_arg_fail(2)) SWIG_fail
;
32342 arg3
= (int)(SWIG_As_int(obj2
));
32343 if (SWIG_arg_fail(3)) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32352 Py_INCREF(Py_None
); resultobj
= Py_None
;
32359 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 PyObject
* obj2
= 0 ;
32367 char *kwnames
[] = {
32368 (char *) "self",(char *) "x",(char *) "y", NULL
32371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32373 if (SWIG_arg_fail(1)) SWIG_fail
;
32375 arg2
= (int)(SWIG_As_int(obj1
));
32376 if (SWIG_arg_fail(2)) SWIG_fail
;
32379 arg3
= (int)(SWIG_As_int(obj2
));
32380 if (SWIG_arg_fail(3)) SWIG_fail
;
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 Py_INCREF(Py_None
); resultobj
= Py_None
;
32396 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32399 int *arg2
= (int *) 0 ;
32400 int *arg3
= (int *) 0 ;
32405 PyObject
* obj0
= 0 ;
32406 char *kwnames
[] = {
32407 (char *) "self", NULL
32410 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32411 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32414 if (SWIG_arg_fail(1)) SWIG_fail
;
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 Py_INCREF(Py_None
); resultobj
= Py_None
;
32423 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32424 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32425 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32426 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32433 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32434 PyObject
*resultobj
;
32435 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32436 int *arg2
= (int *) 0 ;
32437 int *arg3
= (int *) 0 ;
32442 PyObject
* obj0
= 0 ;
32443 char *kwnames
[] = {
32444 (char *) "self", NULL
32447 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32448 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 Py_INCREF(Py_None
); resultobj
= Py_None
;
32460 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32461 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32462 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32463 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32470 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32473 int *arg2
= (int *) 0 ;
32474 int *arg3
= (int *) 0 ;
32479 PyObject
* obj0
= 0 ;
32480 char *kwnames
[] = {
32481 (char *) "self", NULL
32484 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32485 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail
;
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 Py_INCREF(Py_None
); resultobj
= Py_None
;
32497 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32498 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32499 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32500 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32507 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32508 PyObject
*resultobj
;
32509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32511 PyObject
* obj0
= 0 ;
32512 char *kwnames
[] = {
32513 (char *) "self", NULL
32516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32518 if (SWIG_arg_fail(1)) SWIG_fail
;
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32527 wxSize
* resultptr
;
32528 resultptr
= new wxSize((wxSize
&)(result
));
32529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32537 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
;
32539 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32541 PyObject
* obj0
= 0 ;
32542 char *kwnames
[] = {
32543 (char *) "self", NULL
32546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32548 if (SWIG_arg_fail(1)) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32557 wxSize
* resultptr
;
32558 resultptr
= new wxSize((wxSize
&)(result
));
32559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32567 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
;
32569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32570 PyObject
* obj0
= 0 ;
32571 char *kwnames
[] = {
32572 (char *) "self", NULL
32575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32577 if (SWIG_arg_fail(1)) SWIG_fail
;
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32580 (arg1
)->base_InitDialog();
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 Py_INCREF(Py_None
); resultobj
= Py_None
;
32592 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32596 PyObject
* obj0
= 0 ;
32597 char *kwnames
[] = {
32598 (char *) "self", NULL
32601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32603 if (SWIG_arg_fail(1)) SWIG_fail
;
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 result
= (bool)(arg1
)->base_TransferDataToWindow();
32608 wxPyEndAllowThreads(__tstate
);
32609 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32620 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
;
32622 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32624 PyObject
* obj0
= 0 ;
32625 char *kwnames
[] = {
32626 (char *) "self", NULL
32629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32631 if (SWIG_arg_fail(1)) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32648 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32649 PyObject
*resultobj
;
32650 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32652 PyObject
* obj0
= 0 ;
32653 char *kwnames
[] = {
32654 (char *) "self", NULL
32657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32659 if (SWIG_arg_fail(1)) SWIG_fail
;
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 result
= (bool)(arg1
)->base_Validate();
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32676 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32680 PyObject
* obj0
= 0 ;
32681 char *kwnames
[] = {
32682 (char *) "self", NULL
32685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32687 if (SWIG_arg_fail(1)) SWIG_fail
;
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32704 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
;
32706 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32715 if (SWIG_arg_fail(1)) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32732 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32733 PyObject
*resultobj
;
32734 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32736 PyObject
* obj0
= 0 ;
32737 char *kwnames
[] = {
32738 (char *) "self", NULL
32741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32743 if (SWIG_arg_fail(1)) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32752 wxSize
* resultptr
;
32753 resultptr
= new wxSize((wxSize
&)(result
));
32754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32762 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
;
32764 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32765 wxWindow
*arg2
= (wxWindow
*) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "self",(char *) "child", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail
;
32775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32776 if (SWIG_arg_fail(2)) SWIG_fail
;
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 (arg1
)->base_AddChild(arg2
);
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 Py_INCREF(Py_None
); resultobj
= Py_None
;
32791 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
;
32793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32794 wxWindow
*arg2
= (wxWindow
*) 0 ;
32795 PyObject
* obj0
= 0 ;
32796 PyObject
* obj1
= 0 ;
32797 char *kwnames
[] = {
32798 (char *) "self",(char *) "child", NULL
32801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32803 if (SWIG_arg_fail(1)) SWIG_fail
;
32804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32805 if (SWIG_arg_fail(2)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 (arg1
)->base_RemoveChild(arg2
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 Py_INCREF(Py_None
); resultobj
= Py_None
;
32820 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32821 PyObject
*resultobj
;
32822 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32824 PyObject
* obj0
= 0 ;
32825 char *kwnames
[] = {
32826 (char *) "self", NULL
32829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32831 if (SWIG_arg_fail(1)) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32848 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32851 wxColour
*arg2
= 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char *kwnames
[] = {
32856 (char *) "self",(char *) "c", NULL
32859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32861 if (SWIG_arg_fail(1)) SWIG_fail
;
32864 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32868 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32873 Py_INCREF(Py_None
); resultobj
= Py_None
;
32880 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32881 PyObject
*resultobj
;
32882 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32883 wxVisualAttributes result
;
32884 PyObject
* obj0
= 0 ;
32885 char *kwnames
[] = {
32886 (char *) "self", NULL
32889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32891 if (SWIG_arg_fail(1)) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (arg1
)->base_GetDefaultAttributes();
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32900 wxVisualAttributes
* resultptr
;
32901 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32910 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32913 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32915 return Py_BuildValue((char *)"");
32917 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32918 PyObject
*resultobj
;
32919 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32920 int arg2
= (int) 0 ;
32921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32923 wxHelpEvent
*result
;
32925 PyObject
* obj0
= 0 ;
32926 PyObject
* obj1
= 0 ;
32927 PyObject
* obj2
= 0 ;
32928 char *kwnames
[] = {
32929 (char *) "type",(char *) "winid",(char *) "pt", NULL
32932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32935 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32936 if (SWIG_arg_fail(1)) SWIG_fail
;
32941 arg2
= (int)(SWIG_As_int(obj1
));
32942 if (SWIG_arg_fail(2)) SWIG_fail
;
32948 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32953 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32965 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32966 PyObject
*resultobj
;
32967 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32969 PyObject
* obj0
= 0 ;
32970 char *kwnames
[] = {
32971 (char *) "self", NULL
32974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32976 if (SWIG_arg_fail(1)) SWIG_fail
;
32978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32981 wxPyEndAllowThreads(__tstate
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32985 wxPoint
* resultptr
;
32986 resultptr
= new wxPoint((wxPoint
const &)(result
));
32987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32995 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32996 PyObject
*resultobj
;
32997 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32998 wxPoint
*arg2
= 0 ;
33000 PyObject
* obj0
= 0 ;
33001 PyObject
* obj1
= 0 ;
33002 char *kwnames
[] = {
33003 (char *) "self",(char *) "pos", NULL
33006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33008 if (SWIG_arg_fail(1)) SWIG_fail
;
33011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 Py_INCREF(Py_None
); resultobj
= Py_None
;
33027 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 char *kwnames
[] = {
33033 (char *) "self", NULL
33036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33038 if (SWIG_arg_fail(1)) SWIG_fail
;
33040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33043 result
= (wxString
*) &_result_ref
;
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33062 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33065 wxString
*arg2
= 0 ;
33066 bool temp2
= false ;
33067 PyObject
* obj0
= 0 ;
33068 PyObject
* obj1
= 0 ;
33069 char *kwnames
[] = {
33070 (char *) "self",(char *) "link", NULL
33073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33075 if (SWIG_arg_fail(1)) SWIG_fail
;
33077 arg2
= wxString_in_helper(obj1
);
33078 if (arg2
== NULL
) SWIG_fail
;
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 (arg1
)->SetLink((wxString
const &)*arg2
);
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33088 Py_INCREF(Py_None
); resultobj
= Py_None
;
33103 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
;
33105 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33107 PyObject
* obj0
= 0 ;
33108 char *kwnames
[] = {
33109 (char *) "self", NULL
33112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33114 if (SWIG_arg_fail(1)) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33118 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33119 result
= (wxString
*) &_result_ref
;
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33129 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33138 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33141 wxString
*arg2
= 0 ;
33142 bool temp2
= false ;
33143 PyObject
* obj0
= 0 ;
33144 PyObject
* obj1
= 0 ;
33145 char *kwnames
[] = {
33146 (char *) "self",(char *) "target", NULL
33149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33151 if (SWIG_arg_fail(1)) SWIG_fail
;
33153 arg2
= wxString_in_helper(obj1
);
33154 if (arg2
== NULL
) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 (arg1
)->SetTarget((wxString
const &)*arg2
);
33161 wxPyEndAllowThreads(__tstate
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33164 Py_INCREF(Py_None
); resultobj
= Py_None
;
33179 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33182 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33184 return Py_BuildValue((char *)"");
33186 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33187 PyObject
*resultobj
;
33188 wxWindow
*arg1
= (wxWindow
*) NULL
;
33189 bool arg2
= (bool) true ;
33190 wxContextHelp
*result
;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33193 char *kwnames
[] = {
33194 (char *) "window",(char *) "doNow", NULL
33197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33200 if (SWIG_arg_fail(1)) SWIG_fail
;
33204 arg2
= (bool)(SWIG_As_bool(obj1
));
33205 if (SWIG_arg_fail(2)) SWIG_fail
;
33209 if (!wxPyCheckForApp()) SWIG_fail
;
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33223 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
;
33225 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33226 PyObject
* obj0
= 0 ;
33227 char *kwnames
[] = {
33228 (char *) "self", NULL
33231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33233 if (SWIG_arg_fail(1)) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 Py_INCREF(Py_None
); resultobj
= Py_None
;
33248 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
;
33250 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33251 wxWindow
*arg2
= (wxWindow
*) NULL
;
33253 PyObject
* obj0
= 0 ;
33254 PyObject
* obj1
= 0 ;
33255 char *kwnames
[] = {
33256 (char *) "self",(char *) "window", NULL
33259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail
;
33263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33264 if (SWIG_arg_fail(2)) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33282 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33286 PyObject
* obj0
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= (bool)(arg1
)->EndContextHelp();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33310 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33313 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33315 return Py_BuildValue((char *)"");
33317 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33318 PyObject
*resultobj
;
33319 wxWindow
*arg1
= (wxWindow
*) 0 ;
33320 int arg2
= (int) wxID_CONTEXT_HELP
;
33321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33325 long arg5
= (long) wxBU_AUTODRAW
;
33326 wxContextHelpButton
*result
;
33329 PyObject
* obj0
= 0 ;
33330 PyObject
* obj1
= 0 ;
33331 PyObject
* obj2
= 0 ;
33332 PyObject
* obj3
= 0 ;
33333 PyObject
* obj4
= 0 ;
33334 char *kwnames
[] = {
33335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail
;
33343 arg2
= (int)(SWIG_As_int(obj1
));
33344 if (SWIG_arg_fail(2)) SWIG_fail
;
33350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33361 arg5
= (long)(SWIG_As_long(obj4
));
33362 if (SWIG_arg_fail(5)) SWIG_fail
;
33366 if (!wxPyCheckForApp()) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33380 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33383 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33385 return Py_BuildValue((char *)"");
33387 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33390 wxHelpProvider
*result
;
33391 PyObject
* obj0
= 0 ;
33392 char *kwnames
[] = {
33393 (char *) "helpProvider", NULL
33396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33398 if (SWIG_arg_fail(1)) SWIG_fail
;
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33403 wxPyEndAllowThreads(__tstate
);
33404 if (PyErr_Occurred()) SWIG_fail
;
33406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33413 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33414 PyObject
*resultobj
;
33415 wxHelpProvider
*result
;
33416 char *kwnames
[] = {
33420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33435 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33436 PyObject
*resultobj
;
33437 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33438 wxWindow
*arg2
= (wxWindow
*) 0 ;
33440 PyObject
* obj0
= 0 ;
33441 PyObject
* obj1
= 0 ;
33442 char *kwnames
[] = {
33443 (char *) "self",(char *) "window", NULL
33446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33448 if (SWIG_arg_fail(1)) SWIG_fail
;
33449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33450 if (SWIG_arg_fail(2)) SWIG_fail
;
33452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33471 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33474 wxWindow
*arg2
= (wxWindow
*) 0 ;
33476 PyObject
* obj0
= 0 ;
33477 PyObject
* obj1
= 0 ;
33478 char *kwnames
[] = {
33479 (char *) "self",(char *) "window", NULL
33482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33484 if (SWIG_arg_fail(1)) SWIG_fail
;
33485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33486 if (SWIG_arg_fail(2)) SWIG_fail
;
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (bool)(arg1
)->ShowHelp(arg2
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33503 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
;
33505 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33506 wxWindow
*arg2
= (wxWindow
*) 0 ;
33507 wxString
*arg3
= 0 ;
33508 bool temp3
= false ;
33509 PyObject
* obj0
= 0 ;
33510 PyObject
* obj1
= 0 ;
33511 PyObject
* obj2
= 0 ;
33512 char *kwnames
[] = {
33513 (char *) "self",(char *) "window",(char *) "text", NULL
33516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33518 if (SWIG_arg_fail(1)) SWIG_fail
;
33519 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33520 if (SWIG_arg_fail(2)) SWIG_fail
;
33522 arg3
= wxString_in_helper(obj2
);
33523 if (arg3
== NULL
) SWIG_fail
;
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33530 wxPyEndAllowThreads(__tstate
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33533 Py_INCREF(Py_None
); resultobj
= Py_None
;
33548 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
;
33550 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33552 wxString
*arg3
= 0 ;
33553 bool temp3
= false ;
33554 PyObject
* obj0
= 0 ;
33555 PyObject
* obj1
= 0 ;
33556 PyObject
* obj2
= 0 ;
33557 char *kwnames
[] = {
33558 (char *) "self",(char *) "id",(char *) "text", NULL
33561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33563 if (SWIG_arg_fail(1)) SWIG_fail
;
33565 arg2
= (int)(SWIG_As_int(obj1
));
33566 if (SWIG_arg_fail(2)) SWIG_fail
;
33569 arg3
= wxString_in_helper(obj2
);
33570 if (arg3
== NULL
) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 Py_INCREF(Py_None
); resultobj
= Py_None
;
33595 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
;
33597 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33598 wxWindow
*arg2
= (wxWindow
*) 0 ;
33599 PyObject
* obj0
= 0 ;
33600 PyObject
* obj1
= 0 ;
33601 char *kwnames
[] = {
33602 (char *) "self",(char *) "window", NULL
33605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33607 if (SWIG_arg_fail(1)) SWIG_fail
;
33608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33609 if (SWIG_arg_fail(2)) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->RemoveHelp(arg2
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 Py_INCREF(Py_None
); resultobj
= Py_None
;
33624 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33625 PyObject
*resultobj
;
33626 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33627 PyObject
* obj0
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 wxHelpProvider_Destroy(arg1
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 Py_INCREF(Py_None
); resultobj
= Py_None
;
33649 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33652 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33654 return Py_BuildValue((char *)"");
33656 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
;
33658 wxSimpleHelpProvider
*result
;
33659 char *kwnames
[] = {
33663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33668 wxPyEndAllowThreads(__tstate
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33678 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33681 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33683 return Py_BuildValue((char *)"");
33685 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
;
33687 wxBitmap
*arg1
= 0 ;
33688 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33689 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33690 wxGenericDragImage
*result
;
33691 PyObject
* obj0
= 0 ;
33692 PyObject
* obj1
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "image",(char *) "cursor", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33700 if (SWIG_arg_fail(1)) SWIG_fail
;
33701 if (arg1
== NULL
) {
33702 SWIG_null_ref("wxBitmap");
33704 if (SWIG_arg_fail(1)) SWIG_fail
;
33708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33709 if (SWIG_arg_fail(2)) SWIG_fail
;
33710 if (arg2
== NULL
) {
33711 SWIG_null_ref("wxCursor");
33713 if (SWIG_arg_fail(2)) SWIG_fail
;
33717 if (!wxPyCheckForApp()) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33731 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33732 PyObject
*resultobj
;
33734 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33735 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33736 wxGenericDragImage
*result
;
33737 PyObject
* obj0
= 0 ;
33738 PyObject
* obj1
= 0 ;
33739 char *kwnames
[] = {
33740 (char *) "image",(char *) "cursor", NULL
33743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33746 if (SWIG_arg_fail(1)) SWIG_fail
;
33747 if (arg1
== NULL
) {
33748 SWIG_null_ref("wxIcon");
33750 if (SWIG_arg_fail(1)) SWIG_fail
;
33754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33755 if (SWIG_arg_fail(2)) SWIG_fail
;
33756 if (arg2
== NULL
) {
33757 SWIG_null_ref("wxCursor");
33759 if (SWIG_arg_fail(2)) SWIG_fail
;
33763 if (!wxPyCheckForApp()) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33777 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
;
33779 wxString
*arg1
= 0 ;
33780 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33781 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33782 wxGenericDragImage
*result
;
33783 bool temp1
= false ;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 char *kwnames
[] = {
33787 (char *) "str",(char *) "cursor", NULL
33790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33792 arg1
= wxString_in_helper(obj0
);
33793 if (arg1
== NULL
) SWIG_fail
;
33798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33799 if (SWIG_arg_fail(2)) SWIG_fail
;
33800 if (arg2
== NULL
) {
33801 SWIG_null_ref("wxCursor");
33803 if (SWIG_arg_fail(2)) SWIG_fail
;
33807 if (!wxPyCheckForApp()) SWIG_fail
;
33808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33809 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33829 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
;
33831 wxPyTreeCtrl
*arg1
= 0 ;
33832 wxTreeItemId
*arg2
= 0 ;
33833 wxGenericDragImage
*result
;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 char *kwnames
[] = {
33837 (char *) "treeCtrl",(char *) "id", NULL
33840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33843 if (SWIG_arg_fail(1)) SWIG_fail
;
33844 if (arg1
== NULL
) {
33845 SWIG_null_ref("wxPyTreeCtrl");
33847 if (SWIG_arg_fail(1)) SWIG_fail
;
33850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33851 if (SWIG_arg_fail(2)) SWIG_fail
;
33852 if (arg2
== NULL
) {
33853 SWIG_null_ref("wxTreeItemId");
33855 if (SWIG_arg_fail(2)) SWIG_fail
;
33858 if (!wxPyCheckForApp()) SWIG_fail
;
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33872 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxPyListCtrl
*arg1
= 0 ;
33876 wxGenericDragImage
*result
;
33877 PyObject
* obj0
= 0 ;
33878 PyObject
* obj1
= 0 ;
33879 char *kwnames
[] = {
33880 (char *) "listCtrl",(char *) "id", NULL
33883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail
;
33887 if (arg1
== NULL
) {
33888 SWIG_null_ref("wxPyListCtrl");
33890 if (SWIG_arg_fail(1)) SWIG_fail
;
33893 arg2
= (long)(SWIG_As_long(obj1
));
33894 if (SWIG_arg_fail(2)) SWIG_fail
;
33897 if (!wxPyCheckForApp()) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33911 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
;
33913 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33914 PyObject
* obj0
= 0 ;
33915 char *kwnames
[] = {
33916 (char *) "self", NULL
33919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33921 if (SWIG_arg_fail(1)) SWIG_fail
;
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33926 wxPyEndAllowThreads(__tstate
);
33927 if (PyErr_Occurred()) SWIG_fail
;
33929 Py_INCREF(Py_None
); resultobj
= Py_None
;
33936 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33937 PyObject
*resultobj
;
33938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33939 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33940 PyObject
* obj0
= 0 ;
33941 PyObject
* obj1
= 0 ;
33942 char *kwnames
[] = {
33943 (char *) "self",(char *) "bitmap", NULL
33946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33948 if (SWIG_arg_fail(1)) SWIG_fail
;
33949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33950 if (SWIG_arg_fail(2)) SWIG_fail
;
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33953 (arg1
)->SetBackingBitmap(arg2
);
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 Py_INCREF(Py_None
); resultobj
= Py_None
;
33965 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
;
33967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33968 wxPoint
*arg2
= 0 ;
33969 wxWindow
*arg3
= (wxWindow
*) 0 ;
33970 bool arg4
= (bool) false ;
33971 wxRect
*arg5
= (wxRect
*) NULL
;
33974 PyObject
* obj0
= 0 ;
33975 PyObject
* obj1
= 0 ;
33976 PyObject
* obj2
= 0 ;
33977 PyObject
* obj3
= 0 ;
33978 PyObject
* obj4
= 0 ;
33979 char *kwnames
[] = {
33980 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33985 if (SWIG_arg_fail(1)) SWIG_fail
;
33988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33990 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33991 if (SWIG_arg_fail(3)) SWIG_fail
;
33994 arg4
= (bool)(SWIG_As_bool(obj3
));
33995 if (SWIG_arg_fail(4)) SWIG_fail
;
33999 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34000 if (SWIG_arg_fail(5)) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34018 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
;
34020 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34021 wxPoint
*arg2
= 0 ;
34022 wxWindow
*arg3
= (wxWindow
*) 0 ;
34023 wxWindow
*arg4
= (wxWindow
*) 0 ;
34026 PyObject
* obj0
= 0 ;
34027 PyObject
* obj1
= 0 ;
34028 PyObject
* obj2
= 0 ;
34029 PyObject
* obj3
= 0 ;
34030 char *kwnames
[] = {
34031 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34036 if (SWIG_arg_fail(1)) SWIG_fail
;
34039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34041 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34042 if (SWIG_arg_fail(3)) SWIG_fail
;
34043 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34044 if (SWIG_arg_fail(4)) SWIG_fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34061 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34065 PyObject
* obj0
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (bool)(arg1
)->EndDrag();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34089 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34092 wxPoint
*arg2
= 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self",(char *) "pt", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail
;
34106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34124 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
;
34126 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34128 PyObject
* obj0
= 0 ;
34129 char *kwnames
[] = {
34130 (char *) "self", NULL
34133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34135 if (SWIG_arg_fail(1)) SWIG_fail
;
34137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34138 result
= (bool)(arg1
)->Show();
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34152 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
;
34154 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34156 PyObject
* obj0
= 0 ;
34157 char *kwnames
[] = {
34158 (char *) "self", NULL
34161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail
;
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 result
= (bool)(arg1
)->Hide();
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34180 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
;
34182 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34183 wxPoint
*arg2
= 0 ;
34186 PyObject
* obj0
= 0 ;
34187 PyObject
* obj1
= 0 ;
34188 char *kwnames
[] = {
34189 (char *) "self",(char *) "pos", NULL
34192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail
;
34197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34207 wxRect
* resultptr
;
34208 resultptr
= new wxRect((wxRect
&)(result
));
34209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34217 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34218 PyObject
*resultobj
;
34219 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34221 wxPoint
*arg3
= 0 ;
34224 PyObject
* obj0
= 0 ;
34225 PyObject
* obj1
= 0 ;
34226 PyObject
* obj2
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self",(char *) "dc",(char *) "pos", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34233 if (SWIG_arg_fail(1)) SWIG_fail
;
34235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34236 if (SWIG_arg_fail(2)) SWIG_fail
;
34237 if (arg2
== NULL
) {
34238 SWIG_null_ref("wxDC");
34240 if (SWIG_arg_fail(2)) SWIG_fail
;
34244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34262 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34263 PyObject
*resultobj
;
34264 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34266 wxMemoryDC
*arg3
= 0 ;
34272 PyObject
* obj0
= 0 ;
34273 PyObject
* obj1
= 0 ;
34274 PyObject
* obj2
= 0 ;
34275 PyObject
* obj3
= 0 ;
34276 PyObject
* obj4
= 0 ;
34277 char *kwnames
[] = {
34278 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34283 if (SWIG_arg_fail(1)) SWIG_fail
;
34285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34286 if (SWIG_arg_fail(2)) SWIG_fail
;
34287 if (arg2
== NULL
) {
34288 SWIG_null_ref("wxDC");
34290 if (SWIG_arg_fail(2)) SWIG_fail
;
34293 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34294 if (SWIG_arg_fail(3)) SWIG_fail
;
34295 if (arg3
== NULL
) {
34296 SWIG_null_ref("wxMemoryDC");
34298 if (SWIG_arg_fail(3)) SWIG_fail
;
34302 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34306 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34310 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34312 wxPyEndAllowThreads(__tstate
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34324 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34325 PyObject
*resultobj
;
34326 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34327 wxPoint
*arg2
= 0 ;
34328 wxPoint
*arg3
= 0 ;
34334 PyObject
* obj0
= 0 ;
34335 PyObject
* obj1
= 0 ;
34336 PyObject
* obj2
= 0 ;
34337 PyObject
* obj3
= 0 ;
34338 PyObject
* obj4
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34345 if (SWIG_arg_fail(1)) SWIG_fail
;
34348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34355 arg4
= (bool)(SWIG_As_bool(obj3
));
34356 if (SWIG_arg_fail(4)) SWIG_fail
;
34359 arg5
= (bool)(SWIG_As_bool(obj4
));
34360 if (SWIG_arg_fail(5)) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34378 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34381 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34383 return Py_BuildValue((char *)"");
34385 static PyMethodDef SwigMethods
[] = {
34386 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34392 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34393 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34394 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34395 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34408 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34409 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34411 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34412 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34415 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34417 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34418 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34419 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34420 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34421 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34424 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34428 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34451 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34458 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34472 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34477 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34484 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34489 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34497 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34520 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34528 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34559 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
34615 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
34620 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
34632 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
34645 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
34657 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
34661 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
34679 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
34686 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
34712 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
34720 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
34742 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
34748 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
34758 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
34766 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
34768 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
34774 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
34776 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
34781 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
34786 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
34816 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
34861 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
34867 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
34879 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
34931 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
34958 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35029 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35041 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35049 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35056 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35072 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35147 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35169 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35174 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35208 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35215 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35224 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35226 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35244 { NULL
, NULL
, 0, NULL
}
35248 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35250 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35251 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35253 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35254 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35256 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35257 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35259 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35260 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35262 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35263 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35265 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35266 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35268 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35269 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35271 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35272 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35274 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35275 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35277 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35280 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35281 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35283 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35284 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35286 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35287 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35289 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35290 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35292 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35293 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35295 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35296 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35298 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35299 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35301 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35302 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35304 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35307 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35310 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35311 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35313 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35316 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35317 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35319 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35320 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35322 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35323 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35325 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35326 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35328 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35331 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35332 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35334 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35335 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35337 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35338 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35340 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35341 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35343 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35344 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35346 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35347 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35349 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35350 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35352 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35353 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35355 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35356 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35358 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35359 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35361 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35362 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35364 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35365 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35367 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35368 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35370 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35371 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35373 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35374 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35376 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35377 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35379 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35380 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35382 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35385 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35386 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35388 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35389 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35391 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35394 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35397 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35398 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35400 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35401 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35403 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35404 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35406 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35407 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35409 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35410 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35412 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35413 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35415 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35416 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35418 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35419 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35421 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35422 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35424 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35425 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35427 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35428 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35430 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35431 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35433 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35434 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35436 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35437 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35439 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35440 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35442 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35443 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35445 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35446 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35448 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35449 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35451 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35452 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35454 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35455 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35457 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35458 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35460 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35461 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35463 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35464 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35466 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35467 return (void *)((wxControl
*) ((wxGauge
*) x
));
35469 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35470 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35472 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35473 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35475 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35476 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35478 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35479 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35481 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35482 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35484 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35485 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35487 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35488 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35490 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35491 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35493 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35494 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35496 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35497 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35499 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35500 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35502 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35503 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35505 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35506 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35508 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35509 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35511 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35512 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35514 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35515 return (void *)((wxControl
*) ((wxSlider
*) x
));
35517 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35518 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35520 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35521 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35523 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35524 return (void *)((wxControl
*) ((wxButton
*) x
));
35526 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35527 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35529 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35530 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35532 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35533 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35535 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35536 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35538 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35539 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35541 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35542 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35544 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35545 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35547 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35548 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35550 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35551 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35553 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35554 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35556 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
35557 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35559 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
35560 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35562 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
35563 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
35565 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
35566 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
35568 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35569 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35571 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
35572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35574 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35575 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35577 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35578 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35580 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
35581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
35583 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35584 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35586 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
35587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35589 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
35590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35592 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35593 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35595 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35598 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
35599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35601 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
35602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35604 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
35605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35607 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
35608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35610 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
35611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35613 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35614 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35616 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
35617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35619 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
35620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35622 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35625 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
35626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35628 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
35629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35631 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
35632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35634 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
35635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35637 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
35638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35640 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
35641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35643 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
35644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35646 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
35647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35649 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
35650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35652 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
35653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35655 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
35656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35658 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
35659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35661 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
35662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35664 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
35665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35667 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
35668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
35670 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
35671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35673 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
35674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35676 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
35677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35679 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
35680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35682 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
35683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35685 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
35686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35688 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
35689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35691 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
35692 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
35694 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
35695 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
35697 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
35698 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35700 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
35701 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35703 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
35704 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
35706 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35707 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35709 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35710 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35712 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35713 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35715 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35718 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35719 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35721 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
35722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35724 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35725 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35727 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35728 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35730 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35731 return (void *)((wxObject
*) ((wxSizer
*) x
));
35733 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35734 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35736 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
35737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
35739 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
35740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
35742 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35745 static void *_p_wxEventTo_p_wxObject(void *x
) {
35746 return (void *)((wxObject
*) ((wxEvent
*) x
));
35748 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35749 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35751 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35752 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35754 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35755 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35757 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
35758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
35760 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
35761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
35763 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
35764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35766 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35767 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35769 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35770 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35772 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35773 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35775 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35776 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35778 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35779 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35781 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35782 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35784 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
35785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
35787 static void *_p_wxControlTo_p_wxObject(void *x
) {
35788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35790 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
35791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
35793 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
35794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
35796 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
35797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
35799 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
35800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
35802 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
35803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
35805 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35806 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35808 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
35809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
35811 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35812 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35814 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35815 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35817 static void *_p_wxListViewTo_p_wxObject(void *x
) {
35818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
35820 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
35821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
35823 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
35824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
35826 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35827 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35829 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35832 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
35833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35835 static void *_p_wxListbookTo_p_wxObject(void *x
) {
35836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
35838 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35839 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35841 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
35842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
35844 static void *_p_wxSliderTo_p_wxObject(void *x
) {
35845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
35847 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35848 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35850 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35851 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35853 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35857 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35860 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35862 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35863 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35865 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35866 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35868 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35869 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35871 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35872 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35874 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
35875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
35877 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
35878 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
35880 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
35881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
35883 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35886 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35889 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35892 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35895 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35898 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35901 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35902 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35904 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35905 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35907 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35908 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35910 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35913 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35914 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35916 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35919 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35920 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35922 static void *_p_wxListEventTo_p_wxObject(void *x
) {
35923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35925 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
35926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
35928 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
35929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35931 static void *_p_wxButtonTo_p_wxObject(void *x
) {
35932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
35934 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
35935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
35937 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
35938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
35940 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
35941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35943 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35944 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35946 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35947 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35949 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
35950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
35952 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
35953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
35955 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
35956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
35958 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
35959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
35961 static void *_p_wxListItemTo_p_wxObject(void *x
) {
35962 return (void *)((wxObject
*) ((wxListItem
*) x
));
35964 static void *_p_wxImageTo_p_wxObject(void *x
) {
35965 return (void *)((wxObject
*) ((wxImage
*) x
));
35967 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
35968 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
35970 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35971 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35973 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
35974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35976 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
35977 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
35979 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
35980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
35982 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
35983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35985 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
35986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35988 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
35989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35991 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35992 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35994 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35995 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35997 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35998 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36000 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36001 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36003 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36006 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36009 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36010 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36012 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36015 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36016 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36018 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36021 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36022 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36024 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36025 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36027 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36028 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36030 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36033 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36034 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36036 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36039 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36040 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36042 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36045 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36046 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36048 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36049 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36051 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36054 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36057 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36058 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36060 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36063 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36066 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36069 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36070 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36072 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36073 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36075 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36076 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36078 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36079 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36081 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36082 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36084 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36085 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36087 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36088 return (void *)((wxWindow
*) ((wxControl
*) x
));
36090 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36091 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36093 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36094 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36096 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36097 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36099 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36100 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36102 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36103 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36105 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36106 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36108 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36109 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36111 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36112 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36114 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36115 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36117 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36118 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36120 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36121 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36123 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36124 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36126 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36127 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36129 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36130 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36132 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36133 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36135 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36136 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36138 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36139 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36141 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36142 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36144 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36145 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36147 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36148 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36150 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36151 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36153 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36154 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36156 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36157 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36159 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36160 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36162 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36163 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36165 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36166 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36168 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36169 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36171 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36172 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36174 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36175 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36177 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36178 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36180 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36181 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36183 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36184 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36186 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36187 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36189 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36190 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36192 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36193 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36195 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36196 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36198 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36199 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36202 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36204 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36205 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36207 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36208 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36210 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36211 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36213 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36214 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36216 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36217 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36219 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36220 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36222 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36223 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36225 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36226 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36228 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36229 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36231 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36232 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36234 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36235 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36237 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36238 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36240 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36241 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36243 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36244 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36246 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36247 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36249 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36250 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36252 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36253 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36255 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}};
36256 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}};
36257 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}};
36258 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}};
36259 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}};
36260 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}};
36261 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}};
36262 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}};
36263 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}};
36264 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}};
36265 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}};
36266 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}};
36267 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}};
36268 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}};
36269 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}};
36270 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}};
36271 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}};
36272 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}};
36273 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}};
36274 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}};
36275 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}};
36276 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}};
36277 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}};
36278 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}};
36279 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}};
36280 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}};
36281 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}};
36282 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}};
36283 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}};
36284 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}};
36285 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}};
36286 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}};
36287 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}};
36288 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}};
36289 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}};
36290 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}};
36291 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}};
36292 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}};
36293 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}};
36294 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}};
36295 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}};
36296 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}};
36297 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}};
36298 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}};
36299 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}};
36300 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}};
36301 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}};
36302 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}};
36303 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}};
36304 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}};
36305 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}};
36306 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}};
36307 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}};
36308 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}};
36309 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}};
36310 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}};
36311 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}};
36312 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}};
36313 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}};
36314 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}};
36315 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}};
36316 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}};
36317 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}};
36318 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}};
36319 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}};
36320 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}};
36321 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}};
36322 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}};
36323 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}};
36324 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}};
36325 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}};
36326 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}};
36327 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}};
36328 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}};
36329 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}};
36330 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}};
36331 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}};
36332 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}};
36333 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}};
36334 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}};
36335 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}};
36336 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}};
36337 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}};
36338 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}};
36339 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}};
36340 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}};
36341 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}};
36342 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}};
36343 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}};
36344 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}};
36345 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}};
36346 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}};
36347 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}};
36348 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}};
36349 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}};
36350 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}};
36352 static swig_type_info
*swig_types_initial
[] = {
36353 _swigt__p_wxTextUrlEvent
,
36355 _swigt__p_wxCheckBox
,
36356 _swigt__p_wxPyTreeCtrl
,
36358 _swigt__p_wxGenericDirCtrl
,
36360 _swigt__p_wxItemContainer
,
36361 _swigt__p_wxPyListCtrl
,
36362 _swigt__p_wxPyTreeItemData
,
36363 _swigt__p_wxDirFilterListCtrl
,
36364 _swigt__p_wxStaticLine
,
36365 _swigt__p_wxControl
,
36366 _swigt__p_wxPyControl
,
36368 _swigt__p_wxToolBarBase
,
36370 _swigt__p_wxToggleButton
,
36371 _swigt__p_wxRadioButton
,
36372 _swigt__p_wxChoice
,
36373 _swigt__p_wxMemoryDC
,
36375 _swigt__std__ptrdiff_t
,
36376 _swigt__p_wxListItemAttr
,
36381 _swigt__p_wxListView
,
36383 _swigt__p_wxVisualAttributes
,
36384 _swigt__p_wxTextCtrl
,
36385 _swigt__p_wxNotebook
,
36386 _swigt__p_wxChoicebook
,
36387 _swigt__p_wxNotifyEvent
,
36388 _swigt__p_wxArrayString
,
36389 _swigt__p_form_ops_t
,
36390 _swigt__p_wxListbook
,
36391 _swigt__p_wxStaticBitmap
,
36392 _swigt__p_wxSlider
,
36393 _swigt__p_wxStaticBox
,
36394 _swigt__p_wxArrayInt
,
36395 _swigt__p_wxContextHelp
,
36397 _swigt__p_wxDuplexMode
,
36398 _swigt__p_wxBookCtrlBase
,
36399 _swigt__p_wxEvtHandler
,
36400 _swigt__p_wxListEvent
,
36401 _swigt__p_wxCheckListBox
,
36402 _swigt__p_wxListBox
,
36403 _swigt__p_wxSpinButton
,
36404 _swigt__p_wxButton
,
36405 _swigt__p_wxBitmapButton
,
36407 _swigt__p_wxContextHelpButton
,
36408 _swigt__p_wxRadioBox
,
36409 _swigt__p_wxScrollBar
,
36411 _swigt__p_wxComboBox
,
36412 _swigt__p_wxTreeItemId
,
36413 _swigt__p_wxHelpEvent
,
36414 _swigt__p_wxListItem
,
36415 _swigt__p_wxNotebookSizer
,
36416 _swigt__p_wxSpinEvent
,
36417 _swigt__p_wxGenericDragImage
,
36418 _swigt__p_wxSpinCtrl
,
36419 _swigt__p_wxPaperSize
,
36420 _swigt__p_wxImageList
,
36421 _swigt__p_wxHelpProvider
,
36422 _swigt__p_wxTextAttr
,
36423 _swigt__p_wxSimpleHelpProvider
,
36424 _swigt__p_wxChoicebookEvent
,
36425 _swigt__p_wxListbookEvent
,
36426 _swigt__p_wxNotebookEvent
,
36428 _swigt__p_wxObject
,
36429 _swigt__p_wxCursor
,
36430 _swigt__p_wxKeyEvent
,
36431 _swigt__p_unsigned_long
,
36432 _swigt__p_wxWindow
,
36433 _swigt__p_wxString
,
36434 _swigt__p_wxBitmap
,
36435 _swigt__unsigned_int
,
36436 _swigt__p_unsigned_int
,
36437 _swigt__p_unsigned_char
,
36438 _swigt__p_wxMouseEvent
,
36439 _swigt__p_wxBookCtrlBaseEvent
,
36440 _swigt__p_wxTreeEvent
,
36441 _swigt__p_wxCommandEvent
,
36442 _swigt__p_wxStaticText
,
36443 _swigt__p_wxControlWithItems
,
36444 _swigt__p_wxToolBarToolBase
,
36445 _swigt__p_wxColour
,
36446 _swigt__p_wxToolBar
,
36447 _swigt__p_wxBookCtrlSizer
,
36448 _swigt__p_wxValidator
,
36453 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36455 static swig_const_info swig_const_table
[] = {
36456 {0, 0, 0, 0.0, 0, 0}};
36467 /* Python-specific SWIG API */
36468 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36469 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36470 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36472 /* -----------------------------------------------------------------------------
36473 * global variable support code.
36474 * ----------------------------------------------------------------------------- */
36476 typedef struct swig_globalvar
{
36477 char *name
; /* Name of global variable */
36478 PyObject
*(*get_attr
)(); /* Return the current value */
36479 int (*set_attr
)(PyObject
*); /* Set the value */
36480 struct swig_globalvar
*next
;
36483 typedef struct swig_varlinkobject
{
36485 swig_globalvar
*vars
;
36486 } swig_varlinkobject
;
36489 swig_varlink_repr(swig_varlinkobject
*v
) {
36491 return PyString_FromString("<Swig global variables>");
36495 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36496 swig_globalvar
*var
;
36498 fprintf(fp
,"Swig global variables { ");
36499 for (var
= v
->vars
; var
; var
=var
->next
) {
36500 fprintf(fp
,"%s", var
->name
);
36501 if (var
->next
) fprintf(fp
,", ");
36503 fprintf(fp
," }\n");
36508 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36509 swig_globalvar
*var
= v
->vars
;
36511 if (strcmp(var
->name
,n
) == 0) {
36512 return (*var
->get_attr
)();
36516 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36521 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36522 swig_globalvar
*var
= v
->vars
;
36524 if (strcmp(var
->name
,n
) == 0) {
36525 return (*var
->set_attr
)(p
);
36529 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36533 static PyTypeObject varlinktype
= {
36534 PyObject_HEAD_INIT(0)
36535 0, /* Number of items in variable part (ob_size) */
36536 (char *)"swigvarlink", /* Type name (tp_name) */
36537 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36538 0, /* Itemsize (tp_itemsize) */
36539 0, /* Deallocator (tp_dealloc) */
36540 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36541 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36542 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36543 0, /* tp_compare */
36544 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36545 0, /* tp_as_number */
36546 0, /* tp_as_sequence */
36547 0, /* tp_as_mapping */
36551 0, /* tp_getattro */
36552 0, /* tp_setattro */
36553 0, /* tp_as_buffer */
36556 #if PY_VERSION_HEX >= 0x02000000
36557 0, /* tp_traverse */
36560 #if PY_VERSION_HEX >= 0x02010000
36561 0, /* tp_richcompare */
36562 0, /* tp_weaklistoffset */
36564 #if PY_VERSION_HEX >= 0x02020000
36565 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36567 #if PY_VERSION_HEX >= 0x02030000
36570 #ifdef COUNT_ALLOCS
36571 0,0,0,0 /* tp_alloc -> tp_next */
36575 /* Create a variable linking object for use later */
36577 SWIG_Python_newvarlink(void) {
36578 swig_varlinkobject
*result
= 0;
36579 result
= PyMem_NEW(swig_varlinkobject
,1);
36580 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
36581 result
->ob_type
= &varlinktype
;
36583 result
->ob_refcnt
= 0;
36584 Py_XINCREF((PyObject
*) result
);
36585 return ((PyObject
*) result
);
36589 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36590 swig_varlinkobject
*v
;
36591 swig_globalvar
*gv
;
36592 v
= (swig_varlinkobject
*) p
;
36593 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36594 gv
->name
= (char *) malloc(strlen(name
)+1);
36595 strcpy(gv
->name
,name
);
36596 gv
->get_attr
= get_attr
;
36597 gv
->set_attr
= set_attr
;
36598 gv
->next
= v
->vars
;
36602 /* -----------------------------------------------------------------------------
36603 * constants/methods manipulation
36604 * ----------------------------------------------------------------------------- */
36606 /* Install Constants */
36608 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36611 for (i
= 0; constants
[i
].type
; i
++) {
36612 switch(constants
[i
].type
) {
36614 obj
= PyInt_FromLong(constants
[i
].lvalue
);
36616 case SWIG_PY_FLOAT
:
36617 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
36619 case SWIG_PY_STRING
:
36620 if (constants
[i
].pvalue
) {
36621 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
36623 Py_INCREF(Py_None
);
36627 case SWIG_PY_POINTER
:
36628 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36630 case SWIG_PY_BINARY
:
36631 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36638 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
36644 /* -----------------------------------------------------------------------------*/
36645 /* Fix SwigMethods to carry the callback ptrs when needed */
36646 /* -----------------------------------------------------------------------------*/
36649 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36650 swig_const_info
*const_table
,
36651 swig_type_info
**types
,
36652 swig_type_info
**types_initial
) {
36654 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36655 char *c
= methods
[i
].ml_doc
;
36656 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36658 swig_const_info
*ci
= 0;
36659 char *name
= c
+ 10;
36660 for (j
= 0; const_table
[j
].type
; j
++) {
36661 if (strncmp(const_table
[j
].name
, name
,
36662 strlen(const_table
[j
].name
)) == 0) {
36663 ci
= &(const_table
[j
]);
36668 size_t shift
= (ci
->ptype
) - types
;
36669 swig_type_info
*ty
= types_initial
[shift
];
36670 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36671 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36672 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36674 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
36675 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36677 strncpy(buff
, "swig_ptr: ", 10);
36679 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36680 methods
[i
].ml_doc
= ndoc
;
36686 /* -----------------------------------------------------------------------------*
36687 * Initialize type list
36688 * -----------------------------------------------------------------------------*/
36690 #if PY_MAJOR_VERSION < 2
36691 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36692 is copied out of Python/modsupport.c in python version 2.3.4 */
36694 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
36697 if (!PyModule_Check(m
)) {
36698 PyErr_SetString(PyExc_TypeError
,
36699 "PyModule_AddObject() needs module as first arg");
36703 PyErr_SetString(PyExc_TypeError
,
36704 "PyModule_AddObject() needs non-NULL value");
36708 dict
= PyModule_GetDict(m
);
36709 if (dict
== NULL
) {
36710 /* Internal error -- modules must have a dict! */
36711 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
36712 PyModule_GetName(m
));
36715 if (PyDict_SetItemString(dict
, name
, o
))
36722 static swig_type_info
**
36723 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
36724 static PyMethodDef swig_empty_runtime_method_table
[] = {
36726 NULL
, NULL
, 0, NULL
36730 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
36731 swig_empty_runtime_method_table
);
36732 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
36733 if (pointer
&& module) {
36734 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
36736 return type_list_handle
;
36739 static swig_type_info
**
36740 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
36741 swig_type_info
**type_pointer
;
36743 /* first check if module already created */
36744 type_pointer
= SWIG_Python_GetTypeListHandle();
36745 if (type_pointer
) {
36746 return type_pointer
;
36748 /* create a new module and variable */
36749 return SWIG_Python_SetTypeListHandle(type_list_handle
);
36757 /* -----------------------------------------------------------------------------*
36758 * Partial Init method
36759 * -----------------------------------------------------------------------------*/
36761 #ifdef SWIG_LINK_RUNTIME
36765 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36771 SWIGEXPORT(void) SWIG_init(void) {
36772 static PyObject
*SWIG_globals
= 0;
36773 static int typeinit
= 0;
36776 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
36778 /* Fix SwigMethods to carry the callback ptrs when needed */
36779 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
36781 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36782 d
= PyModule_GetDict(m
);
36785 #ifdef SWIG_LINK_RUNTIME
36786 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
36788 # ifndef SWIG_STATIC_RUNTIME
36789 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
36792 for (i
= 0; swig_types_initial
[i
]; i
++) {
36793 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
36797 SWIG_InstallConstants(d
,swig_const_table
);
36799 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
36800 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
36802 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
36805 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
36808 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
36811 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
36814 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
36817 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
36820 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
36822 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
36824 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
36827 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
36830 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
36833 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
36836 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
36839 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
36841 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
36842 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
36843 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
36845 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
36848 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
36851 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
36854 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
36856 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
36857 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
36858 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
36859 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
36860 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
36862 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
36865 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
36868 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
36871 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
36874 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
36877 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
36880 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
36883 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
36886 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
36889 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
36892 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
36895 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
36898 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
36901 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
36904 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
36907 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
36910 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
36913 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
36916 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
36919 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
36922 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
36925 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
36928 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
36931 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
36934 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
36937 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
36940 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
36943 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
36946 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
36949 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
36952 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
36955 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
36958 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
36961 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
36964 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
36967 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
36970 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
36973 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
36976 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
36979 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
36982 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
36984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
36985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
36986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
36987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
36988 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
36989 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
36990 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
36992 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
36995 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
36998 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37001 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37003 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37004 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37005 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37006 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37007 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37009 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
37011 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37014 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37017 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37020 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37023 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37026 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37029 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37032 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37035 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37038 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37040 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37041 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37043 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37046 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37049 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37052 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37055 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37058 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37063 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37066 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37069 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37072 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37075 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37078 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37080 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37081 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37083 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37086 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37089 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37092 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37095 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37098 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37101 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37104 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37107 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37110 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37113 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37116 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37119 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37122 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37124 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37126 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37129 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37132 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37135 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37138 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37141 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37144 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37147 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37150 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37153 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37156 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37159 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37162 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37165 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37168 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37171 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37174 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37177 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37180 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37183 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37186 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37189 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37192 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37195 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37198 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37201 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37204 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37207 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37210 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37213 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37216 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37219 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37222 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37225 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37228 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37231 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37234 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37237 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37240 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37243 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37246 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37249 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37252 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37255 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37258 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37261 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37264 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37267 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37270 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37273 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37276 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37279 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37282 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37285 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37288 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37291 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37294 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37297 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37300 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37303 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37306 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37309 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37312 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37315 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37318 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37321 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37324 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37327 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37337 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37339 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37340 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37341 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37342 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37343 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37344 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37345 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37346 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37347 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37348 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37349 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37350 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37352 // Map renamed classes back to their common name for OOR
37353 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37355 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37357 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37360 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37363 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37366 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37369 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37372 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37375 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37378 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37381 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37384 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37387 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37390 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37393 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37396 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37399 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37402 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37405 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37408 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37411 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37414 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37417 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37420 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37423 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37426 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37429 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37432 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37435 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37438 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37441 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37444 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37447 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37450 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37453 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37456 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37459 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37461 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
37483 // Map renamed classes back to their common name for OOR
37484 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37485 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37487 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
37489 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
37492 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
37495 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
37498 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
37501 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
37504 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
37507 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
37509 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
37510 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
37512 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");