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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[1]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[2]
1345 #define SWIGTYPE_p_wxEvent swig_types[3]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[4]
1347 #define SWIGTYPE_p_bool swig_types[5]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[6]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[7]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[9]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[10]
1353 #define SWIGTYPE_p_wxControl swig_types[11]
1354 #define SWIGTYPE_p_wxPyControl swig_types[12]
1355 #define SWIGTYPE_p_wxGauge swig_types[13]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[14]
1357 #define SWIGTYPE_p_wxFont swig_types[15]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[16]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[17]
1360 #define SWIGTYPE_p_wxChoice swig_types[18]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[19]
1362 #define SWIGTYPE_ptrdiff_t swig_types[20]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
1365 #define SWIGTYPE_p_void swig_types[23]
1366 #define SWIGTYPE_p_int swig_types[24]
1367 #define SWIGTYPE_p_wxSize swig_types[25]
1368 #define SWIGTYPE_p_wxDC swig_types[26]
1369 #define SWIGTYPE_p_wxListView swig_types[27]
1370 #define SWIGTYPE_p_wxIcon swig_types[28]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
1373 #define SWIGTYPE_p_wxNotebook swig_types[31]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[32]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
1376 #define SWIGTYPE_p_wxArrayString swig_types[34]
1377 #define SWIGTYPE_p_form_ops_t swig_types[35]
1378 #define SWIGTYPE_p_wxListbook swig_types[36]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[37]
1380 #define SWIGTYPE_p_wxSlider swig_types[38]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[41]
1384 #define SWIGTYPE_p_long swig_types[42]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[43]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[44]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
1388 #define SWIGTYPE_p_wxListEvent swig_types[46]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[47]
1390 #define SWIGTYPE_p_wxListBox swig_types[48]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[49]
1392 #define SWIGTYPE_p_wxButton swig_types[50]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[51]
1394 #define SWIGTYPE_p_wxRect swig_types[52]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[53]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[54]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[55]
1398 #define SWIGTYPE_p_char swig_types[56]
1399 #define SWIGTYPE_p_wxComboBox swig_types[57]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[58]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[59]
1402 #define SWIGTYPE_p_wxListItem swig_types[60]
1403 #define SWIGTYPE_p_wxSpinEvent swig_types[61]
1404 #define SWIGTYPE_p_wxGenericDragImage swig_types[62]
1405 #define SWIGTYPE_p_wxSpinCtrl swig_types[63]
1406 #define SWIGTYPE_p_wxPaperSize swig_types[64]
1407 #define SWIGTYPE_p_wxImageList swig_types[65]
1408 #define SWIGTYPE_p_wxHelpProvider swig_types[66]
1409 #define SWIGTYPE_p_wxTextAttr swig_types[67]
1410 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxChoicebookEvent swig_types[69]
1412 #define SWIGTYPE_p_wxListbookEvent swig_types[70]
1413 #define SWIGTYPE_p_wxNotebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxPoint swig_types[72]
1415 #define SWIGTYPE_p_wxObject swig_types[73]
1416 #define SWIGTYPE_p_wxCursor swig_types[74]
1417 #define SWIGTYPE_p_wxDateTime swig_types[75]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
1419 #define SWIGTYPE_p_unsigned_long swig_types[77]
1420 #define SWIGTYPE_p_wxWindow swig_types[78]
1421 #define SWIGTYPE_p_wxString swig_types[79]
1422 #define SWIGTYPE_p_wxBitmap swig_types[80]
1423 #define SWIGTYPE_unsigned_int swig_types[81]
1424 #define SWIGTYPE_p_unsigned_int swig_types[82]
1425 #define SWIGTYPE_p_unsigned_char swig_types[83]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[84]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[85]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[86]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[87]
1430 #define SWIGTYPE_p_wxStaticText swig_types[88]
1431 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[89]
1432 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1433 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1434 #define SWIGTYPE_p_wxColour swig_types[92]
1435 #define SWIGTYPE_p_wxToolBar swig_types[93]
1436 #define SWIGTYPE_p_wxValidator swig_types[94]
1437 static swig_type_info
*swig_types
[96];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1447 #define SWIG_name "_controls_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1452 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1456 const wxArrayString wxPyEmptyStringArray
;
1458 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1460 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1469 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1472 if (value
< min_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is less than '%s' minimum %ld",
1476 value
, errmsg
, min_value
);
1479 } else if (value
> max_value
) {
1481 PyErr_Format(PyExc_OverflowError
,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value
, errmsg
, max_value
);
1492 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1494 if (PyNumber_Check(obj
)) {
1495 if (val
) *val
= PyInt_AsLong(obj
);
1499 SWIG_type_error("number", obj
);
1505 #if INT_MAX != LONG_MAX
1507 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1509 const char* errmsg
= val
? "int" : (char*)0;
1511 if (SWIG_AsVal_long(obj
, &v
)) {
1512 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1513 if (val
) *val
= (int)(v
);
1522 SWIG_type_error(errmsg
, obj
);
1528 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1530 return SWIG_AsVal_long(obj
,(long*)val
);
1536 SWIG_As_int(PyObject
* obj
)
1539 if (!SWIG_AsVal_int(obj
, &v
)) {
1541 this is needed to make valgrind/purify happier.
1543 memset((void*)&v
, 0, sizeof(int));
1549 SWIGINTERNSHORT
long
1550 SWIG_As_long(PyObject
* obj
)
1553 if (!SWIG_AsVal_long(obj
, &v
)) {
1555 this is needed to make valgrind/purify happier.
1557 memset((void*)&v
, 0, sizeof(long));
1564 SWIG_Check_int(PyObject
* obj
)
1566 return SWIG_AsVal_int(obj
, (int*)0);
1571 SWIG_Check_long(PyObject
* obj
)
1573 return SWIG_AsVal_long(obj
, (long*)0);
1576 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1579 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1581 if (obj
== Py_True
) {
1582 if (val
) *val
= true;
1585 if (obj
== Py_False
) {
1586 if (val
) *val
= false;
1590 if (SWIG_AsVal_int(obj
, &res
)) {
1591 if (val
) *val
= res
? true : false;
1597 SWIG_type_error("bool", obj
);
1603 SWIGINTERNSHORT
bool
1604 SWIG_As_bool(PyObject
* obj
)
1607 if (!SWIG_AsVal_bool(obj
, &v
)) {
1609 this is needed to make valgrind/purify happier.
1611 memset((void*)&v
, 0, sizeof(bool));
1618 SWIG_Check_bool(PyObject
* obj
)
1620 return SWIG_AsVal_bool(obj
, (bool*)0);
1623 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1624 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1626 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1631 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1637 } else if (target
== Py_None
) {
1641 if (!PyTuple_Check(target
)) {
1643 target
= PyTuple_New(1);
1644 PyTuple_SetItem(target
, 0, o2
);
1646 o3
= PyTuple_New(1);
1647 PyTuple_SetItem(o3
, 0, o
);
1650 target
= PySequence_Concat(o2
, o3
);
1658 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1659 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1660 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1661 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1663 #include <wx/checklst.h>
1666 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1667 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1669 wxPyClientData
* data
= new wxPyClientData(clientData
);
1670 self
->Insert(item
, pos
, data
);
1672 self
->Insert(item
, pos
);
1674 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1676 self
->GetSelections(lst
);
1677 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1678 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1679 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1683 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1685 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1686 self
->GetItem(item
)->SetTextColour(c
);
1689 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1691 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1692 self
->GetItem(item
)->SetBackgroundColour(c
);
1695 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1697 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1698 self
->GetItem(item
)->SetFont(f
);
1701 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1704 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1707 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1708 SWIG_type_error("unsigned number", obj
);
1711 *val
= (unsigned long)v
;
1716 SWIGINTERNSHORT
unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1720 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier.
1724 memset((void*)&v
, 0, sizeof(unsigned long));
1731 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1733 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1736 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1737 self
->AppendText(text
);
1739 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1740 return self
->GetValue().Mid(from
, to
- from
);
1742 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1743 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1744 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1746 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1748 #include <wx/slider.h>
1751 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1752 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1759 class wxToggleButton
: public wxControl
1762 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1763 const wxPoint
&, const wxSize
&, long,
1764 const wxValidator
&, const wxString
&)
1765 { wxPyRaiseNotImplemented(); }
1768 { wxPyRaiseNotImplemented(); }
1772 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1774 SWIGINTERNSHORT PyObject
*
1775 SWIG_From_unsigned_SS_long(unsigned long value
)
1777 return (value
> LONG_MAX
) ?
1778 PyLong_FromUnsignedLong(value
)
1779 : PyInt_FromLong((long)(value
));
1782 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1783 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1784 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1786 Py_INCREF(udata
->m_obj
);
1787 return udata
->m_obj
;
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1794 self
->SetClientData(new wxPyUserData(clientData
));
1796 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1797 wxPyUserData
* udata
= NULL
;
1798 if (clientData
&& clientData
!= Py_None
)
1799 udata
= new wxPyUserData(clientData
);
1800 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1801 shortHelp
, longHelp
, udata
);
1803 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1804 wxPyUserData
* udata
= NULL
;
1805 if (clientData
&& clientData
!= Py_None
)
1806 udata
= new wxPyUserData(clientData
);
1807 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1808 shortHelp
, longHelp
, udata
);
1810 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1811 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1813 Py_INCREF(udata
->m_obj
);
1814 return udata
->m_obj
;
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1821 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1824 #include <wx/listctrl.h>
1826 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1827 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1831 PyObject
* func
= (PyObject
*)funcPtr
;
1832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1834 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1835 PyObject
* result
= PyEval_CallObject(func
, args
);
1838 retval
= PyInt_AsLong(result
);
1842 wxPyEndBlockThreads(blocked
);
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl
: public wxListCtrl
{
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1855 const wxValidator
& validator
,
1856 const wxString
& name
) :
1857 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1859 bool Create(wxWindow
* parent
, wxWindowID id
,
1863 const wxValidator
& validator
,
1864 const wxString
& name
) {
1865 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1884 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1886 item
.SetMask( wxLIST_MASK_STATE
|
1894 if (self
->GetColumn(col
, item
))
1895 return new wxListItem(item
);
1899 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1900 wxListItem
* info
= new wxListItem
;
1901 info
->m_itemId
= itemId
;
1903 info
->m_mask
= 0xFFFF;
1904 self
->GetItem(*info
);
1907 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1909 self
->GetItemPosition(item
, pos
);
1912 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1914 self
->GetItemRect(item
, rect
, code
);
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1919 if (!PyCallable_Check(func
))
1921 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1923 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1934 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl
: public wxTreeCtrl
{
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1947 const wxValidator
& validator
,
1948 const wxString
& name
) :
1949 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1951 bool Create(wxWindow
*parent
, wxWindowID id
,
1955 const wxValidator
& validator
,
1956 const wxString
& name
) {
1957 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1961 int OnCompareItems(const wxTreeItemId
& item1
,
1962 const wxTreeItemId
& item2
) {
1965 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1966 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1967 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1968 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1969 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1973 wxPyEndBlockThreads(blocked
);
1975 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1985 #if UINT_MAX < LONG_MAX
1986 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1990 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1998 unsigned long max_value
,
2001 if (value
> max_value
) {
2003 PyErr_Format(PyExc_OverflowError
,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value
, errmsg
, max_value
);
2013 #if UINT_MAX != ULONG_MAX
2015 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2017 const char* errmsg
= val
? "unsigned int" : (char*)0;
2019 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2020 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2021 if (val
) *val
= (unsigned int)(v
);
2028 SWIG_type_error(errmsg
, obj
);
2033 SWIGINTERNSHORT
unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2036 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2041 SWIGINTERNSHORT
unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2045 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2047 this is needed to make valgrind/purify happier.
2049 memset((void*)&v
, 0, sizeof(unsigned int));
2056 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2058 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2061 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2064 data
= new wxPyTreeItemData();
2065 data
->SetId(item
); // set the id
2066 self
->SetItemData(item
, data
);
2070 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2071 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2073 data
= new wxPyTreeItemData();
2074 data
->SetId(item
); // set the id
2075 self
->SetItemData(item
, data
);
2077 return data
->GetData();
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2080 data
->SetId(item
); // set the id
2081 self
->SetItemData(item
, data
);
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2084 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2086 data
= new wxPyTreeItemData(obj
);
2087 data
->SetId(item
); // set the id
2088 self
->SetItemData(item
, data
);
2092 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2093 wxPyBlock_t 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 wxPyBlock_t 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 wxPyBlock_t 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 wxPyBlock_t 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 bool DoEraseBackground(wxDC
* dc
) {
2167 return wxWindow::DoEraseBackground(dc
->GetHDC());
2169 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2175 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2176 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2177 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2178 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2180 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2181 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2182 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2184 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2185 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2187 DEC_PYCALLBACK__(InitDialog
);
2188 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2189 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2190 DEC_PYCALLBACK_BOOL_(Validate
);
2192 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2193 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2194 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2196 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2197 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2199 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2200 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2202 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2204 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2209 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2211 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2212 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2213 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2216 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2223 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2224 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2228 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2230 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2232 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2235 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2236 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2238 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2240 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
2244 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2246 #include <wx/generic/dragimgg.h>
2248 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2249 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2251 self
->GetRange(&rv
, NULL
);
2254 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2256 self
->GetRange(NULL
, &rv
);
2262 static int _wrap_ButtonNameStr_set(PyObject
*) {
2263 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2268 static PyObject
*_wrap_ButtonNameStr_get(void) {
2273 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2275 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2282 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxWindow
*arg1
= (wxWindow
*) 0 ;
2285 int arg2
= (int) -1 ;
2286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2292 long arg6
= (long) 0 ;
2293 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2294 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2295 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2296 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2298 bool temp3
= false ;
2301 bool temp8
= false ;
2302 PyObject
* obj0
= 0 ;
2303 PyObject
* obj1
= 0 ;
2304 PyObject
* obj2
= 0 ;
2305 PyObject
* obj3
= 0 ;
2306 PyObject
* obj4
= 0 ;
2307 PyObject
* obj5
= 0 ;
2308 PyObject
* obj6
= 0 ;
2309 PyObject
* obj7
= 0 ;
2311 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2316 if (SWIG_arg_fail(1)) SWIG_fail
;
2319 arg2
= (int)(SWIG_As_int(obj1
));
2320 if (SWIG_arg_fail(2)) SWIG_fail
;
2325 arg3
= wxString_in_helper(obj2
);
2326 if (arg3
== NULL
) SWIG_fail
;
2333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2344 arg6
= (long)(SWIG_As_long(obj5
));
2345 if (SWIG_arg_fail(6)) SWIG_fail
;
2350 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2351 if (SWIG_arg_fail(7)) SWIG_fail
;
2353 SWIG_null_ref("wxValidator");
2355 if (SWIG_arg_fail(7)) SWIG_fail
;
2360 arg8
= wxString_in_helper(obj7
);
2361 if (arg8
== NULL
) SWIG_fail
;
2366 if (!wxPyCheckForApp()) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2396 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2405 if (!wxPyCheckForApp()) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (wxButton
*)new wxButton();
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2419 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 wxButton
*arg1
= (wxButton
*) 0 ;
2422 wxWindow
*arg2
= (wxWindow
*) 0 ;
2423 int arg3
= (int) -1 ;
2424 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2425 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2426 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2427 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2428 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2429 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2430 long arg7
= (long) 0 ;
2431 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2432 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2433 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2434 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2436 bool temp4
= false ;
2439 bool temp9
= false ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2442 PyObject
* obj2
= 0 ;
2443 PyObject
* obj3
= 0 ;
2444 PyObject
* obj4
= 0 ;
2445 PyObject
* obj5
= 0 ;
2446 PyObject
* obj6
= 0 ;
2447 PyObject
* obj7
= 0 ;
2448 PyObject
* obj8
= 0 ;
2450 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2455 if (SWIG_arg_fail(1)) SWIG_fail
;
2456 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2457 if (SWIG_arg_fail(2)) SWIG_fail
;
2460 arg3
= (int)(SWIG_As_int(obj2
));
2461 if (SWIG_arg_fail(3)) SWIG_fail
;
2466 arg4
= wxString_in_helper(obj3
);
2467 if (arg4
== NULL
) SWIG_fail
;
2474 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2480 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2485 arg7
= (long)(SWIG_As_long(obj6
));
2486 if (SWIG_arg_fail(7)) SWIG_fail
;
2491 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2492 if (SWIG_arg_fail(8)) SWIG_fail
;
2494 SWIG_null_ref("wxValidator");
2496 if (SWIG_arg_fail(8)) SWIG_fail
;
2501 arg9
= wxString_in_helper(obj8
);
2502 if (arg9
== NULL
) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2538 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxButton
*arg1
= (wxButton
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 (arg1
)->SetDefault();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 Py_INCREF(Py_None
); resultobj
= Py_None
;
2563 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= wxButton::GetDefaultSize();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2580 resultptr
= new wxSize((wxSize
&)(result
));
2581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2589 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2592 wxVisualAttributes result
;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "variant", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2601 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2602 if (SWIG_arg_fail(1)) SWIG_fail
;
2606 if (!wxPyCheckForApp()) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2614 wxVisualAttributes
* resultptr
;
2615 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2624 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2627 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2629 return Py_BuildValue((char *)"");
2631 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxWindow
*arg1
= (wxWindow
*) 0 ;
2634 int arg2
= (int) -1 ;
2635 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2636 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2641 long arg6
= (long) wxBU_AUTODRAW
;
2642 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2643 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2644 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2646 wxBitmapButton
*result
;
2649 bool temp8
= false ;
2650 PyObject
* obj0
= 0 ;
2651 PyObject
* obj1
= 0 ;
2652 PyObject
* obj2
= 0 ;
2653 PyObject
* obj3
= 0 ;
2654 PyObject
* obj4
= 0 ;
2655 PyObject
* obj5
= 0 ;
2656 PyObject
* obj6
= 0 ;
2657 PyObject
* obj7
= 0 ;
2659 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2664 if (SWIG_arg_fail(1)) SWIG_fail
;
2667 arg2
= (int)(SWIG_As_int(obj1
));
2668 if (SWIG_arg_fail(2)) SWIG_fail
;
2673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2674 if (SWIG_arg_fail(3)) SWIG_fail
;
2676 SWIG_null_ref("wxBitmap");
2678 if (SWIG_arg_fail(3)) SWIG_fail
;
2684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2695 arg6
= (long)(SWIG_As_long(obj5
));
2696 if (SWIG_arg_fail(6)) SWIG_fail
;
2701 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2702 if (SWIG_arg_fail(7)) SWIG_fail
;
2704 SWIG_null_ref("wxValidator");
2706 if (SWIG_arg_fail(7)) SWIG_fail
;
2711 arg8
= wxString_in_helper(obj7
);
2712 if (arg8
== NULL
) SWIG_fail
;
2717 if (!wxPyCheckForApp()) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2739 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
*resultobj
;
2741 wxBitmapButton
*result
;
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2748 if (!wxPyCheckForApp()) SWIG_fail
;
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 result
= (wxBitmapButton
*)new wxBitmapButton();
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) SWIG_fail
;
2755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2762 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2765 wxWindow
*arg2
= (wxWindow
*) 0 ;
2766 int arg3
= (int) -1 ;
2767 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2768 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2769 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2770 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2771 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2772 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2773 long arg7
= (long) wxBU_AUTODRAW
;
2774 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2775 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2776 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2777 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2781 bool temp9
= false ;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2784 PyObject
* obj2
= 0 ;
2785 PyObject
* obj3
= 0 ;
2786 PyObject
* obj4
= 0 ;
2787 PyObject
* obj5
= 0 ;
2788 PyObject
* obj6
= 0 ;
2789 PyObject
* obj7
= 0 ;
2790 PyObject
* obj8
= 0 ;
2792 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2797 if (SWIG_arg_fail(1)) SWIG_fail
;
2798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2799 if (SWIG_arg_fail(2)) SWIG_fail
;
2802 arg3
= (int)(SWIG_As_int(obj2
));
2803 if (SWIG_arg_fail(3)) SWIG_fail
;
2808 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2809 if (SWIG_arg_fail(4)) SWIG_fail
;
2811 SWIG_null_ref("wxBitmap");
2813 if (SWIG_arg_fail(4)) SWIG_fail
;
2819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2830 arg7
= (long)(SWIG_As_long(obj6
));
2831 if (SWIG_arg_fail(7)) SWIG_fail
;
2836 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2837 if (SWIG_arg_fail(8)) SWIG_fail
;
2839 SWIG_null_ref("wxValidator");
2841 if (SWIG_arg_fail(8)) SWIG_fail
;
2846 arg9
= wxString_in_helper(obj8
);
2847 if (arg9
== NULL
) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2875 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2881 (char *) "self", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2886 if (SWIG_arg_fail(1)) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 result
= (arg1
)->GetBitmapLabel();
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2895 wxBitmap
* resultptr
;
2896 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2905 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2909 PyObject
* obj0
= 0 ;
2911 (char *) "self", NULL
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2916 if (SWIG_arg_fail(1)) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (arg1
)->GetBitmapDisabled();
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 wxBitmap
* resultptr
;
2926 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2935 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "self", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2946 if (SWIG_arg_fail(1)) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 result
= (arg1
)->GetBitmapFocus();
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2955 wxBitmap
* resultptr
;
2956 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2965 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "self", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (arg1
)->GetBitmapSelected();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 wxBitmap
* resultptr
;
2986 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2995 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2998 wxBitmap
*arg2
= 0 ;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 (char *) "self",(char *) "bitmap", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3007 if (SWIG_arg_fail(1)) SWIG_fail
;
3009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3010 if (SWIG_arg_fail(2)) SWIG_fail
;
3012 SWIG_null_ref("wxBitmap");
3014 if (SWIG_arg_fail(2)) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 Py_INCREF(Py_None
); resultobj
= Py_None
;
3030 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3033 wxBitmap
*arg2
= 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3037 (char *) "self",(char *) "bitmap", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3042 if (SWIG_arg_fail(1)) SWIG_fail
;
3044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3045 if (SWIG_arg_fail(2)) SWIG_fail
;
3047 SWIG_null_ref("wxBitmap");
3049 if (SWIG_arg_fail(2)) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 Py_INCREF(Py_None
); resultobj
= Py_None
;
3065 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3068 wxBitmap
*arg2
= 0 ;
3069 PyObject
* obj0
= 0 ;
3070 PyObject
* obj1
= 0 ;
3072 (char *) "self",(char *) "bitmap", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3077 if (SWIG_arg_fail(1)) SWIG_fail
;
3079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3080 if (SWIG_arg_fail(2)) SWIG_fail
;
3082 SWIG_null_ref("wxBitmap");
3084 if (SWIG_arg_fail(2)) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3103 wxBitmap
*arg2
= 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "bitmap", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3112 if (SWIG_arg_fail(1)) SWIG_fail
;
3114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3115 if (SWIG_arg_fail(2)) SWIG_fail
;
3117 SWIG_null_ref("wxBitmap");
3119 if (SWIG_arg_fail(2)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3135 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3141 PyObject
* obj1
= 0 ;
3142 PyObject
* obj2
= 0 ;
3144 (char *) "self",(char *) "x",(char *) "y", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3149 if (SWIG_arg_fail(1)) SWIG_fail
;
3151 arg2
= (int)(SWIG_As_int(obj1
));
3152 if (SWIG_arg_fail(2)) SWIG_fail
;
3155 arg3
= (int)(SWIG_As_int(obj2
));
3156 if (SWIG_arg_fail(3)) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->SetMargins(arg2
,arg3
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3176 PyObject
* obj0
= 0 ;
3178 (char *) "self", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3183 if (SWIG_arg_fail(1)) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= SWIG_From_int((int)(result
));
3200 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3211 if (SWIG_arg_fail(1)) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= SWIG_From_int((int)(result
));
3228 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3231 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3233 return Py_BuildValue((char *)"");
3235 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3236 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3241 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3246 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3248 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3255 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxWindow
*arg1
= (wxWindow
*) 0 ;
3258 int arg2
= (int) -1 ;
3259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3265 long arg6
= (long) 0 ;
3266 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3267 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3268 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3271 bool temp3
= false ;
3274 bool temp8
= false ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3277 PyObject
* obj2
= 0 ;
3278 PyObject
* obj3
= 0 ;
3279 PyObject
* obj4
= 0 ;
3280 PyObject
* obj5
= 0 ;
3281 PyObject
* obj6
= 0 ;
3282 PyObject
* obj7
= 0 ;
3284 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3289 if (SWIG_arg_fail(1)) SWIG_fail
;
3292 arg2
= (int)(SWIG_As_int(obj1
));
3293 if (SWIG_arg_fail(2)) SWIG_fail
;
3298 arg3
= wxString_in_helper(obj2
);
3299 if (arg3
== NULL
) SWIG_fail
;
3306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3317 arg6
= (long)(SWIG_As_long(obj5
));
3318 if (SWIG_arg_fail(6)) SWIG_fail
;
3323 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3324 if (SWIG_arg_fail(7)) SWIG_fail
;
3326 SWIG_null_ref("wxValidator");
3328 if (SWIG_arg_fail(7)) SWIG_fail
;
3333 arg8
= wxString_in_helper(obj7
);
3334 if (arg8
== NULL
) SWIG_fail
;
3339 if (!wxPyCheckForApp()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3369 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3378 if (!wxPyCheckForApp()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (wxCheckBox
*)new wxCheckBox();
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3392 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3395 wxWindow
*arg2
= (wxWindow
*) 0 ;
3396 int arg3
= (int) -1 ;
3397 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3398 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3399 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3400 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3401 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3402 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3403 long arg7
= (long) 0 ;
3404 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3405 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3406 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3407 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3409 bool temp4
= false ;
3412 bool temp9
= false ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3415 PyObject
* obj2
= 0 ;
3416 PyObject
* obj3
= 0 ;
3417 PyObject
* obj4
= 0 ;
3418 PyObject
* obj5
= 0 ;
3419 PyObject
* obj6
= 0 ;
3420 PyObject
* obj7
= 0 ;
3421 PyObject
* obj8
= 0 ;
3423 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail
;
3429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3430 if (SWIG_arg_fail(2)) SWIG_fail
;
3433 arg3
= (int)(SWIG_As_int(obj2
));
3434 if (SWIG_arg_fail(3)) SWIG_fail
;
3439 arg4
= wxString_in_helper(obj3
);
3440 if (arg4
== NULL
) SWIG_fail
;
3447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3458 arg7
= (long)(SWIG_As_long(obj6
));
3459 if (SWIG_arg_fail(7)) SWIG_fail
;
3464 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3465 if (SWIG_arg_fail(8)) SWIG_fail
;
3467 SWIG_null_ref("wxValidator");
3469 if (SWIG_arg_fail(8)) SWIG_fail
;
3474 arg9
= wxString_in_helper(obj8
);
3475 if (arg9
== NULL
) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3511 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3515 PyObject
* obj0
= 0 ;
3517 (char *) "self", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3522 if (SWIG_arg_fail(1)) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= (bool)(arg1
)->GetValue();
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3539 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (bool)(arg1
)->IsChecked();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3567 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "self",(char *) "state", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3579 if (SWIG_arg_fail(1)) SWIG_fail
;
3581 arg2
= (bool const)(SWIG_As_bool(obj1
));
3582 if (SWIG_arg_fail(2)) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 (arg1
)->SetValue(arg2
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3601 wxCheckBoxState result
;
3602 PyObject
* obj0
= 0 ;
3604 (char *) "self", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_From_int((result
));
3624 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3627 wxCheckBoxState arg2
;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "self",(char *) "state", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3636 if (SWIG_arg_fail(1)) SWIG_fail
;
3638 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3639 if (SWIG_arg_fail(2)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3655 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3661 (char *) "self", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3683 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3689 (char *) "self", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3694 if (SWIG_arg_fail(1)) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3711 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3714 wxVisualAttributes result
;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "variant", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3723 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 if (!wxPyCheckForApp()) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 wxVisualAttributes
* resultptr
;
3737 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3746 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3749 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3751 return Py_BuildValue((char *)"");
3753 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3754 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3759 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3764 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3766 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3773 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxWindow
*arg1
= (wxWindow
*) 0 ;
3776 int arg2
= (int) -1 ;
3777 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3779 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3780 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3781 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3782 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3783 long arg6
= (long) 0 ;
3784 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3785 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3786 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3787 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3791 bool temp5
= false ;
3792 bool temp8
= false ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3796 PyObject
* obj3
= 0 ;
3797 PyObject
* obj4
= 0 ;
3798 PyObject
* obj5
= 0 ;
3799 PyObject
* obj6
= 0 ;
3800 PyObject
* obj7
= 0 ;
3802 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3807 if (SWIG_arg_fail(1)) SWIG_fail
;
3810 arg2
= (int)(SWIG_As_int(obj1
));
3811 if (SWIG_arg_fail(2)) SWIG_fail
;
3817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3828 if (! PySequence_Check(obj4
)) {
3829 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3832 arg5
= new wxArrayString
;
3834 int i
, len
=PySequence_Length(obj4
);
3835 for (i
=0; i
<len
; i
++) {
3836 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3837 wxString
* s
= wxString_in_helper(item
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3847 arg6
= (long)(SWIG_As_long(obj5
));
3848 if (SWIG_arg_fail(6)) SWIG_fail
;
3853 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(7)) SWIG_fail
;
3856 SWIG_null_ref("wxValidator");
3858 if (SWIG_arg_fail(7)) SWIG_fail
;
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3878 if (temp5
) delete arg5
;
3887 if (temp5
) delete arg5
;
3897 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3906 if (!wxPyCheckForApp()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (wxChoice
*)new wxChoice();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3920 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxChoice
*arg1
= (wxChoice
*) 0 ;
3923 wxWindow
*arg2
= (wxWindow
*) 0 ;
3924 int arg3
= (int) -1 ;
3925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3929 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3930 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3931 long arg7
= (long) 0 ;
3932 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3933 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3934 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3935 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3939 bool temp6
= false ;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3956 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3958 if (SWIG_arg_fail(2)) SWIG_fail
;
3961 arg3
= (int)(SWIG_As_int(obj2
));
3962 if (SWIG_arg_fail(3)) SWIG_fail
;
3968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3979 if (! PySequence_Check(obj5
)) {
3980 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3983 arg6
= new wxArrayString
;
3985 int i
, len
=PySequence_Length(obj5
);
3986 for (i
=0; i
<len
; i
++) {
3987 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3988 wxString
* s
= wxString_in_helper(item
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3998 arg7
= (long)(SWIG_As_long(obj6
));
3999 if (SWIG_arg_fail(7)) SWIG_fail
;
4004 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4005 if (SWIG_arg_fail(8)) SWIG_fail
;
4007 SWIG_null_ref("wxValidator");
4009 if (SWIG_arg_fail(8)) SWIG_fail
;
4014 arg9
= wxString_in_helper(obj8
);
4015 if (arg9
== NULL
) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4030 if (temp6
) delete arg6
;
4039 if (temp6
) delete arg6
;
4049 static PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxChoice
*arg1
= (wxChoice
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "self", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
4060 if (SWIG_arg_fail(1)) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_From_int((int)(result
));
4077 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4080 wxVisualAttributes result
;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "variant", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4089 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4090 if (SWIG_arg_fail(1)) SWIG_fail
;
4094 if (!wxPyCheckForApp()) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4102 wxVisualAttributes
* resultptr
;
4103 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4112 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4115 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4117 return Py_BuildValue((char *)"");
4119 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4120 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4125 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4130 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4132 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4139 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxWindow
*arg1
= (wxWindow
*) 0 ;
4142 int arg2
= (int) -1 ;
4143 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4144 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4149 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4150 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4151 long arg7
= (long) 0 ;
4152 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4153 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4154 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4155 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4157 bool temp3
= false ;
4160 bool temp6
= false ;
4161 bool temp9
= false ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4164 PyObject
* obj2
= 0 ;
4165 PyObject
* obj3
= 0 ;
4166 PyObject
* obj4
= 0 ;
4167 PyObject
* obj5
= 0 ;
4168 PyObject
* obj6
= 0 ;
4169 PyObject
* obj7
= 0 ;
4170 PyObject
* obj8
= 0 ;
4172 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail
;
4180 arg2
= (int)(SWIG_As_int(obj1
));
4181 if (SWIG_arg_fail(2)) SWIG_fail
;
4186 arg3
= wxString_in_helper(obj2
);
4187 if (arg3
== NULL
) SWIG_fail
;
4194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4205 if (! PySequence_Check(obj5
)) {
4206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4209 arg6
= new wxArrayString
;
4211 int i
, len
=PySequence_Length(obj5
);
4212 for (i
=0; i
<len
; i
++) {
4213 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4214 wxString
* s
= wxString_in_helper(item
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4224 arg7
= (long)(SWIG_As_long(obj6
));
4225 if (SWIG_arg_fail(7)) SWIG_fail
;
4230 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4231 if (SWIG_arg_fail(8)) SWIG_fail
;
4233 SWIG_null_ref("wxValidator");
4235 if (SWIG_arg_fail(8)) SWIG_fail
;
4240 arg9
= wxString_in_helper(obj8
);
4241 if (arg9
== NULL
) SWIG_fail
;
4246 if (!wxPyCheckForApp()) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 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
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4259 if (temp6
) delete arg6
;
4272 if (temp6
) delete arg6
;
4282 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4291 if (!wxPyCheckForApp()) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (wxComboBox
*)new wxComboBox();
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4305 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4308 wxWindow
*arg2
= (wxWindow
*) 0 ;
4309 int arg3
= (int) -1 ;
4310 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4311 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4312 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4313 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4314 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4315 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4316 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4317 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4318 long arg8
= (long) 0 ;
4319 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4320 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4321 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4322 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4324 bool temp4
= false ;
4327 bool temp7
= false ;
4328 bool temp10
= false ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 PyObject
* obj2
= 0 ;
4332 PyObject
* obj3
= 0 ;
4333 PyObject
* obj4
= 0 ;
4334 PyObject
* obj5
= 0 ;
4335 PyObject
* obj6
= 0 ;
4336 PyObject
* obj7
= 0 ;
4337 PyObject
* obj8
= 0 ;
4338 PyObject
* obj9
= 0 ;
4340 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4350 arg3
= (int)(SWIG_As_int(obj2
));
4351 if (SWIG_arg_fail(3)) SWIG_fail
;
4356 arg4
= wxString_in_helper(obj3
);
4357 if (arg4
== NULL
) SWIG_fail
;
4364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4370 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4375 if (! PySequence_Check(obj6
)) {
4376 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4379 arg7
= new wxArrayString
;
4381 int i
, len
=PySequence_Length(obj6
);
4382 for (i
=0; i
<len
; i
++) {
4383 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4384 wxString
* s
= wxString_in_helper(item
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4394 arg8
= (long)(SWIG_As_long(obj7
));
4395 if (SWIG_arg_fail(8)) SWIG_fail
;
4400 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4401 if (SWIG_arg_fail(9)) SWIG_fail
;
4403 SWIG_null_ref("wxValidator");
4405 if (SWIG_arg_fail(9)) SWIG_fail
;
4410 arg10
= wxString_in_helper(obj9
);
4411 if (arg10
== NULL
) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 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
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4430 if (temp7
) delete arg7
;
4443 if (temp7
) delete arg7
;
4453 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "self", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4464 if (SWIG_arg_fail(1)) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= ((wxComboBox
const *)arg1
)->GetValue();
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4485 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4488 wxString
*arg2
= 0 ;
4489 bool temp2
= false ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "value", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4498 if (SWIG_arg_fail(1)) SWIG_fail
;
4500 arg2
= wxString_in_helper(obj1
);
4501 if (arg2
== NULL
) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 (arg1
)->SetValue((wxString
const &)*arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 Py_INCREF(Py_None
); resultobj
= Py_None
;
4551 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 Py_INCREF(Py_None
); resultobj
= Py_None
;
4576 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "self", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4586 if (SWIG_arg_fail(1)) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "pos", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4615 arg2
= (long)(SWIG_As_long(obj1
));
4616 if (SWIG_arg_fail(2)) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 (arg1
)->SetInsertionPoint(arg2
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 Py_INCREF(Py_None
); resultobj
= Py_None
;
4632 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4638 (char *) "self", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4643 if (SWIG_arg_fail(1)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= SWIG_From_long((long)(result
));
4660 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4666 (char *) "self", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4671 if (SWIG_arg_fail(1)) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_From_long((long)(result
));
4688 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4693 wxString
*arg4
= 0 ;
4694 bool temp4
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4700 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4705 if (SWIG_arg_fail(1)) SWIG_fail
;
4707 arg2
= (long)(SWIG_As_long(obj1
));
4708 if (SWIG_arg_fail(2)) SWIG_fail
;
4711 arg3
= (long)(SWIG_As_long(obj2
));
4712 if (SWIG_arg_fail(3)) SWIG_fail
;
4715 arg4
= wxString_in_helper(obj3
);
4716 if (arg4
== NULL
) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4748 (char *) "self",(char *) "n", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4753 if (SWIG_arg_fail(1)) SWIG_fail
;
4755 arg2
= (int)(SWIG_As_int(obj1
));
4756 if (SWIG_arg_fail(2)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 (arg1
)->SetSelection(arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 Py_INCREF(Py_None
); resultobj
= Py_None
;
4772 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4781 (char *) "self",(char *) "from",(char *) "to", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4786 if (SWIG_arg_fail(1)) SWIG_fail
;
4788 arg2
= (long)(SWIG_As_long(obj1
));
4789 if (SWIG_arg_fail(2)) SWIG_fail
;
4792 arg3
= (long)(SWIG_As_long(obj2
));
4793 if (SWIG_arg_fail(3)) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 (arg1
)->SetSelection(arg2
,arg3
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 Py_INCREF(Py_None
); resultobj
= Py_None
;
4809 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4812 long *arg2
= (long *) 0 ;
4813 long *arg3
= (long *) 0 ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self", NULL
4823 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4824 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4827 if (SWIG_arg_fail(1)) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 (arg1
)->GetSelection(arg2
,arg3
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 Py_INCREF(Py_None
); resultobj
= Py_None
;
4836 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4837 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4838 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4839 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4846 static PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetCurrentSelection",kwnames
,&obj0
)) goto fail
;
4856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4857 if (SWIG_arg_fail(1)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_From_int((int)(result
));
4874 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4877 wxString
*arg2
= 0 ;
4879 bool temp2
= false ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "string", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4888 if (SWIG_arg_fail(1)) SWIG_fail
;
4890 arg2
= wxString_in_helper(obj1
);
4891 if (arg2
== NULL
) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4918 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4922 wxString
*arg3
= 0 ;
4923 bool temp3
= false ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4926 PyObject
* obj2
= 0 ;
4928 (char *) "self",(char *) "n",(char *) "string", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4933 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 arg2
= (int)(SWIG_As_int(obj1
));
4936 if (SWIG_arg_fail(2)) SWIG_fail
;
4939 arg3
= wxString_in_helper(obj2
);
4940 if (arg3
== NULL
) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "editable", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 arg2
= (bool)(SWIG_As_bool(obj1
));
4980 if (SWIG_arg_fail(2)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 (arg1
)->SetEditable(arg2
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
5005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5006 if (SWIG_arg_fail(1)) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->SetInsertionPointEnd();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 PyObject
* obj2
= 0 ;
5030 (char *) "self",(char *) "from",(char *) "to", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5035 if (SWIG_arg_fail(1)) SWIG_fail
;
5037 arg2
= (long)(SWIG_As_long(obj1
));
5038 if (SWIG_arg_fail(2)) SWIG_fail
;
5041 arg3
= (long)(SWIG_As_long(obj2
));
5042 if (SWIG_arg_fail(3)) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->Remove(arg2
,arg3
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5064 (char *) "self", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5069 if (SWIG_arg_fail(1)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5086 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 Py_INCREF(Py_None
); resultobj
= Py_None
;
5111 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5121 if (SWIG_arg_fail(1)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5146 if (SWIG_arg_fail(1)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 (arg1
)->SelectAll();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 Py_INCREF(Py_None
); resultobj
= Py_None
;
5161 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "self", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5189 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5245 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5256 if (SWIG_arg_fail(1)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5273 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5279 (char *) "self", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5284 if (SWIG_arg_fail(1)) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5301 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5304 wxVisualAttributes result
;
5305 PyObject
* obj0
= 0 ;
5307 (char *) "variant", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5313 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5314 if (SWIG_arg_fail(1)) SWIG_fail
;
5318 if (!wxPyCheckForApp()) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 wxVisualAttributes
* resultptr
;
5327 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5336 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5339 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5341 return Py_BuildValue((char *)"");
5343 static int _wrap_GaugeNameStr_set(PyObject
*) {
5344 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5349 static PyObject
*_wrap_GaugeNameStr_get(void) {
5354 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5356 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5363 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxWindow
*arg1
= (wxWindow
*) 0 ;
5366 int arg2
= (int) -1 ;
5367 int arg3
= (int) 100 ;
5368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5372 long arg6
= (long) wxGA_HORIZONTAL
;
5373 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5374 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5375 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5376 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5380 bool temp8
= false ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 PyObject
* obj2
= 0 ;
5384 PyObject
* obj3
= 0 ;
5385 PyObject
* obj4
= 0 ;
5386 PyObject
* obj5
= 0 ;
5387 PyObject
* obj6
= 0 ;
5388 PyObject
* obj7
= 0 ;
5390 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail
;
5398 arg2
= (int)(SWIG_As_int(obj1
));
5399 if (SWIG_arg_fail(2)) SWIG_fail
;
5404 arg3
= (int)(SWIG_As_int(obj2
));
5405 if (SWIG_arg_fail(3)) SWIG_fail
;
5411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5422 arg6
= (long)(SWIG_As_long(obj5
));
5423 if (SWIG_arg_fail(6)) SWIG_fail
;
5428 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5429 if (SWIG_arg_fail(7)) SWIG_fail
;
5431 SWIG_null_ref("wxValidator");
5433 if (SWIG_arg_fail(7)) SWIG_fail
;
5438 arg8
= wxString_in_helper(obj7
);
5439 if (arg8
== NULL
) SWIG_fail
;
5444 if (!wxPyCheckForApp()) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5466 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5475 if (!wxPyCheckForApp()) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (wxGauge
*)new wxGauge();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5489 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxGauge
*arg1
= (wxGauge
*) 0 ;
5492 wxWindow
*arg2
= (wxWindow
*) 0 ;
5493 int arg3
= (int) -1 ;
5494 int arg4
= (int) 100 ;
5495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5499 long arg7
= (long) wxGA_HORIZONTAL
;
5500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5502 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5507 bool temp9
= false ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5510 PyObject
* obj2
= 0 ;
5511 PyObject
* obj3
= 0 ;
5512 PyObject
* obj4
= 0 ;
5513 PyObject
* obj5
= 0 ;
5514 PyObject
* obj6
= 0 ;
5515 PyObject
* obj7
= 0 ;
5516 PyObject
* obj8
= 0 ;
5518 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail
;
5524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(2)) SWIG_fail
;
5528 arg3
= (int)(SWIG_As_int(obj2
));
5529 if (SWIG_arg_fail(3)) SWIG_fail
;
5534 arg4
= (int)(SWIG_As_int(obj3
));
5535 if (SWIG_arg_fail(4)) SWIG_fail
;
5541 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5547 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5552 arg7
= (long)(SWIG_As_long(obj6
));
5553 if (SWIG_arg_fail(7)) SWIG_fail
;
5558 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(8)) SWIG_fail
;
5561 SWIG_null_ref("wxValidator");
5563 if (SWIG_arg_fail(8)) SWIG_fail
;
5568 arg9
= wxString_in_helper(obj8
);
5569 if (arg9
== NULL
) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5597 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxGauge
*arg1
= (wxGauge
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5604 (char *) "self",(char *) "range", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5609 if (SWIG_arg_fail(1)) SWIG_fail
;
5611 arg2
= (int)(SWIG_As_int(obj1
));
5612 if (SWIG_arg_fail(2)) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetRange(arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxGauge
*arg1
= (wxGauge
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5634 (char *) "self", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_From_int((int)(result
));
5656 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxGauge
*arg1
= (wxGauge
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "pos", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5670 arg2
= (int)(SWIG_As_int(obj1
));
5671 if (SWIG_arg_fail(2)) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetValue(arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxGauge
*arg1
= (wxGauge
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5698 if (SWIG_arg_fail(1)) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_From_int((int)(result
));
5715 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxGauge
*arg1
= (wxGauge
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5743 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxGauge
*arg1
= (wxGauge
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "w", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail
;
5757 arg2
= (int)(SWIG_As_int(obj1
));
5758 if (SWIG_arg_fail(2)) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->SetShadowWidth(arg2
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxGauge
*arg1
= (wxGauge
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5785 if (SWIG_arg_fail(1)) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_From_int((int)(result
));
5802 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxGauge
*arg1
= (wxGauge
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5809 (char *) "self",(char *) "w", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 arg2
= (int)(SWIG_As_int(obj1
));
5817 if (SWIG_arg_fail(2)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->SetBezelFace(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxGauge
*arg1
= (wxGauge
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5844 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_From_int((int)(result
));
5861 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5864 wxVisualAttributes result
;
5865 PyObject
* obj0
= 0 ;
5867 (char *) "variant", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5873 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5874 if (SWIG_arg_fail(1)) SWIG_fail
;
5878 if (!wxPyCheckForApp()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 wxVisualAttributes
* resultptr
;
5887 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5896 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5899 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5901 return Py_BuildValue((char *)"");
5903 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5904 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5909 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5914 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5916 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5923 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5924 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5929 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5934 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5936 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5943 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5944 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5949 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5954 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5956 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5963 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxWindow
*arg1
= (wxWindow
*) 0 ;
5966 int arg2
= (int) -1 ;
5967 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5973 long arg6
= (long) 0 ;
5974 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5975 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5976 wxStaticBox
*result
;
5977 bool temp3
= false ;
5980 bool temp7
= false ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5989 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail
;
5997 arg2
= (int)(SWIG_As_int(obj1
));
5998 if (SWIG_arg_fail(2)) SWIG_fail
;
6003 arg3
= wxString_in_helper(obj2
);
6004 if (arg3
== NULL
) SWIG_fail
;
6011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6022 arg6
= (long)(SWIG_As_long(obj5
));
6023 if (SWIG_arg_fail(6)) SWIG_fail
;
6028 arg7
= wxString_in_helper(obj6
);
6029 if (arg7
== NULL
) SWIG_fail
;
6034 if (!wxPyCheckForApp()) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6064 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxStaticBox
*result
;
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6073 if (!wxPyCheckForApp()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (wxStaticBox
*)new wxStaticBox();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6087 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6090 wxWindow
*arg2
= (wxWindow
*) 0 ;
6091 int arg3
= (int) -1 ;
6092 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6093 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6098 long arg7
= (long) 0 ;
6099 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6100 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6102 bool temp4
= false ;
6105 bool temp8
= false ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 PyObject
* obj2
= 0 ;
6109 PyObject
* obj3
= 0 ;
6110 PyObject
* obj4
= 0 ;
6111 PyObject
* obj5
= 0 ;
6112 PyObject
* obj6
= 0 ;
6113 PyObject
* obj7
= 0 ;
6115 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6122 if (SWIG_arg_fail(2)) SWIG_fail
;
6125 arg3
= (int)(SWIG_As_int(obj2
));
6126 if (SWIG_arg_fail(3)) SWIG_fail
;
6131 arg4
= wxString_in_helper(obj3
);
6132 if (arg4
== NULL
) SWIG_fail
;
6139 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6145 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6150 arg7
= (long)(SWIG_As_long(obj6
));
6151 if (SWIG_arg_fail(7)) SWIG_fail
;
6156 arg8
= wxString_in_helper(obj7
);
6157 if (arg8
== NULL
) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6193 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6196 wxVisualAttributes result
;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "variant", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6205 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6206 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 if (!wxPyCheckForApp()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 wxVisualAttributes
* resultptr
;
6219 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6228 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6231 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6233 return Py_BuildValue((char *)"");
6235 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxWindow
*arg1
= (wxWindow
*) 0 ;
6238 int arg2
= (int) -1 ;
6239 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6240 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6241 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6242 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6243 long arg5
= (long) wxLI_HORIZONTAL
;
6244 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6245 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6246 wxStaticLine
*result
;
6249 bool temp6
= false ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6252 PyObject
* obj2
= 0 ;
6253 PyObject
* obj3
= 0 ;
6254 PyObject
* obj4
= 0 ;
6255 PyObject
* obj5
= 0 ;
6257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6262 if (SWIG_arg_fail(1)) SWIG_fail
;
6265 arg2
= (int)(SWIG_As_int(obj1
));
6266 if (SWIG_arg_fail(2)) SWIG_fail
;
6272 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6278 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6283 arg5
= (long)(SWIG_As_long(obj4
));
6284 if (SWIG_arg_fail(5)) SWIG_fail
;
6289 arg6
= wxString_in_helper(obj5
);
6290 if (arg6
== NULL
) SWIG_fail
;
6295 if (!wxPyCheckForApp()) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6317 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxStaticLine
*result
;
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6326 if (!wxPyCheckForApp()) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (wxStaticLine
*)new wxStaticLine();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6340 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6343 wxWindow
*arg2
= (wxWindow
*) 0 ;
6344 int arg3
= (int) -1 ;
6345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6349 long arg6
= (long) wxLI_HORIZONTAL
;
6350 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6355 bool temp7
= false ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6358 PyObject
* obj2
= 0 ;
6359 PyObject
* obj3
= 0 ;
6360 PyObject
* obj4
= 0 ;
6361 PyObject
* obj5
= 0 ;
6362 PyObject
* obj6
= 0 ;
6364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6369 if (SWIG_arg_fail(1)) SWIG_fail
;
6370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6371 if (SWIG_arg_fail(2)) SWIG_fail
;
6374 arg3
= (int)(SWIG_As_int(obj2
));
6375 if (SWIG_arg_fail(3)) SWIG_fail
;
6381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6392 arg6
= (long)(SWIG_As_long(obj5
));
6393 if (SWIG_arg_fail(6)) SWIG_fail
;
6398 arg7
= wxString_in_helper(obj6
);
6399 if (arg7
== NULL
) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6427 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (int)wxStaticLine::GetDefaultSize();
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_From_int((int)(result
));
6479 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6481 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6482 wxVisualAttributes result
;
6483 PyObject
* obj0
= 0 ;
6485 (char *) "variant", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6491 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6492 if (SWIG_arg_fail(1)) SWIG_fail
;
6496 if (!wxPyCheckForApp()) SWIG_fail
;
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6504 wxVisualAttributes
* resultptr
;
6505 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6514 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6517 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6519 return Py_BuildValue((char *)"");
6521 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxWindow
*arg1
= (wxWindow
*) 0 ;
6524 int arg2
= (int) -1 ;
6525 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6526 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6531 long arg6
= (long) 0 ;
6532 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6533 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6534 wxStaticText
*result
;
6535 bool temp3
= false ;
6538 bool temp7
= false ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 PyObject
* obj2
= 0 ;
6542 PyObject
* obj3
= 0 ;
6543 PyObject
* obj4
= 0 ;
6544 PyObject
* obj5
= 0 ;
6545 PyObject
* obj6
= 0 ;
6547 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6552 if (SWIG_arg_fail(1)) SWIG_fail
;
6555 arg2
= (int)(SWIG_As_int(obj1
));
6556 if (SWIG_arg_fail(2)) SWIG_fail
;
6561 arg3
= wxString_in_helper(obj2
);
6562 if (arg3
== NULL
) SWIG_fail
;
6569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6580 arg6
= (long)(SWIG_As_long(obj5
));
6581 if (SWIG_arg_fail(6)) SWIG_fail
;
6586 arg7
= wxString_in_helper(obj6
);
6587 if (arg7
== NULL
) SWIG_fail
;
6592 if (!wxPyCheckForApp()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6622 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxStaticText
*result
;
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6631 if (!wxPyCheckForApp()) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (wxStaticText
*)new wxStaticText();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6645 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6648 wxWindow
*arg2
= (wxWindow
*) 0 ;
6649 int arg3
= (int) -1 ;
6650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6656 long arg7
= (long) 0 ;
6657 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6660 bool temp4
= false ;
6663 bool temp8
= false ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 PyObject
* obj2
= 0 ;
6667 PyObject
* obj3
= 0 ;
6668 PyObject
* obj4
= 0 ;
6669 PyObject
* obj5
= 0 ;
6670 PyObject
* obj6
= 0 ;
6671 PyObject
* obj7
= 0 ;
6673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6678 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6680 if (SWIG_arg_fail(2)) SWIG_fail
;
6683 arg3
= (int)(SWIG_As_int(obj2
));
6684 if (SWIG_arg_fail(3)) SWIG_fail
;
6689 arg4
= wxString_in_helper(obj3
);
6690 if (arg4
== NULL
) SWIG_fail
;
6697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6708 arg7
= (long)(SWIG_As_long(obj6
));
6709 if (SWIG_arg_fail(7)) SWIG_fail
;
6714 arg8
= wxString_in_helper(obj7
);
6715 if (arg8
== NULL
) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 static PyObject
*_wrap_StaticText_Wrap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6758 (char *) "self",(char *) "width", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) goto fail
;
6762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6763 if (SWIG_arg_fail(1)) SWIG_fail
;
6765 arg2
= (int)(SWIG_As_int(obj1
));
6766 if (SWIG_arg_fail(2)) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 Py_INCREF(Py_None
); resultobj
= Py_None
;
6782 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6785 wxVisualAttributes result
;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "variant", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6794 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6795 if (SWIG_arg_fail(1)) SWIG_fail
;
6799 if (!wxPyCheckForApp()) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 wxVisualAttributes
* resultptr
;
6808 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6817 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6820 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6822 return Py_BuildValue((char *)"");
6824 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxWindow
*arg1
= (wxWindow
*) 0 ;
6827 int arg2
= (int) -1 ;
6828 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6829 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6834 long arg6
= (long) 0 ;
6835 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6836 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6837 wxStaticBitmap
*result
;
6840 bool temp7
= false ;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6844 PyObject
* obj3
= 0 ;
6845 PyObject
* obj4
= 0 ;
6846 PyObject
* obj5
= 0 ;
6847 PyObject
* obj6
= 0 ;
6849 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail
;
6857 arg2
= (int)(SWIG_As_int(obj1
));
6858 if (SWIG_arg_fail(2)) SWIG_fail
;
6863 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(3)) SWIG_fail
;
6866 SWIG_null_ref("wxBitmap");
6868 if (SWIG_arg_fail(3)) SWIG_fail
;
6874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6885 arg6
= (long)(SWIG_As_long(obj5
));
6886 if (SWIG_arg_fail(6)) SWIG_fail
;
6891 arg7
= wxString_in_helper(obj6
);
6892 if (arg7
== NULL
) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6919 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxStaticBitmap
*result
;
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6928 if (!wxPyCheckForApp()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6942 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6945 wxWindow
*arg2
= (wxWindow
*) 0 ;
6946 int arg3
= (int) -1 ;
6947 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6948 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6949 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6950 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6951 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6952 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6953 long arg7
= (long) 0 ;
6954 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6959 bool temp8
= false ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6963 PyObject
* obj3
= 0 ;
6964 PyObject
* obj4
= 0 ;
6965 PyObject
* obj5
= 0 ;
6966 PyObject
* obj6
= 0 ;
6967 PyObject
* obj7
= 0 ;
6969 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6976 if (SWIG_arg_fail(2)) SWIG_fail
;
6979 arg3
= (int)(SWIG_As_int(obj2
));
6980 if (SWIG_arg_fail(3)) SWIG_fail
;
6985 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6986 if (SWIG_arg_fail(4)) SWIG_fail
;
6988 SWIG_null_ref("wxBitmap");
6990 if (SWIG_arg_fail(4)) SWIG_fail
;
6996 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7002 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7007 arg7
= (long)(SWIG_As_long(obj6
));
7008 if (SWIG_arg_fail(7)) SWIG_fail
;
7013 arg8
= wxString_in_helper(obj7
);
7014 if (arg8
== NULL
) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
7052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (arg1
)->GetBitmap();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 wxBitmap
* resultptr
;
7063 resultptr
= new wxBitmap((wxBitmap
&)(result
));
7064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
7072 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7075 wxBitmap
*arg2
= 0 ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7079 (char *) "self",(char *) "bitmap", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7084 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7087 if (SWIG_arg_fail(2)) SWIG_fail
;
7089 SWIG_null_ref("wxBitmap");
7091 if (SWIG_arg_fail(2)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7114 (char *) "self",(char *) "icon", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7122 if (SWIG_arg_fail(2)) SWIG_fail
;
7124 SWIG_null_ref("wxIcon");
7126 if (SWIG_arg_fail(2)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7145 wxVisualAttributes result
;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "variant", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7154 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7155 if (SWIG_arg_fail(1)) SWIG_fail
;
7159 if (!wxPyCheckForApp()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 wxVisualAttributes
* resultptr
;
7168 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7177 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7180 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7182 return Py_BuildValue((char *)"");
7184 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7185 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7190 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7195 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7197 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7204 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxWindow
*arg1
= (wxWindow
*) 0 ;
7207 int arg2
= (int) -1 ;
7208 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7209 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7210 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7211 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7212 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7213 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7214 long arg6
= (long) 0 ;
7215 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7216 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7217 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7222 bool temp5
= false ;
7223 bool temp8
= false ;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7226 PyObject
* obj2
= 0 ;
7227 PyObject
* obj3
= 0 ;
7228 PyObject
* obj4
= 0 ;
7229 PyObject
* obj5
= 0 ;
7230 PyObject
* obj6
= 0 ;
7231 PyObject
* obj7
= 0 ;
7233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7238 if (SWIG_arg_fail(1)) SWIG_fail
;
7241 arg2
= (int)(SWIG_As_int(obj1
));
7242 if (SWIG_arg_fail(2)) SWIG_fail
;
7248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7259 if (! PySequence_Check(obj4
)) {
7260 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7263 arg5
= new wxArrayString
;
7265 int i
, len
=PySequence_Length(obj4
);
7266 for (i
=0; i
<len
; i
++) {
7267 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7268 wxString
* s
= wxString_in_helper(item
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7278 arg6
= (long)(SWIG_As_long(obj5
));
7279 if (SWIG_arg_fail(6)) SWIG_fail
;
7284 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7285 if (SWIG_arg_fail(7)) SWIG_fail
;
7287 SWIG_null_ref("wxValidator");
7289 if (SWIG_arg_fail(7)) SWIG_fail
;
7294 arg8
= wxString_in_helper(obj7
);
7295 if (arg8
== NULL
) SWIG_fail
;
7300 if (!wxPyCheckForApp()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7309 if (temp5
) delete arg5
;
7318 if (temp5
) delete arg5
;
7328 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7337 if (!wxPyCheckForApp()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= (wxListBox
*)new wxListBox();
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7351 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxListBox
*arg1
= (wxListBox
*) 0 ;
7354 wxWindow
*arg2
= (wxWindow
*) 0 ;
7355 int arg3
= (int) -1 ;
7356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7360 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7361 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7362 long arg7
= (long) 0 ;
7363 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7364 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7365 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7366 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7370 bool temp6
= false ;
7371 bool temp9
= false ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7374 PyObject
* obj2
= 0 ;
7375 PyObject
* obj3
= 0 ;
7376 PyObject
* obj4
= 0 ;
7377 PyObject
* obj5
= 0 ;
7378 PyObject
* obj6
= 0 ;
7379 PyObject
* obj7
= 0 ;
7380 PyObject
* obj8
= 0 ;
7382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7389 if (SWIG_arg_fail(2)) SWIG_fail
;
7392 arg3
= (int)(SWIG_As_int(obj2
));
7393 if (SWIG_arg_fail(3)) SWIG_fail
;
7399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7410 if (! PySequence_Check(obj5
)) {
7411 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7414 arg6
= new wxArrayString
;
7416 int i
, len
=PySequence_Length(obj5
);
7417 for (i
=0; i
<len
; i
++) {
7418 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7419 wxString
* s
= wxString_in_helper(item
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7429 arg7
= (long)(SWIG_As_long(obj6
));
7430 if (SWIG_arg_fail(7)) SWIG_fail
;
7435 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(8)) SWIG_fail
;
7438 SWIG_null_ref("wxValidator");
7440 if (SWIG_arg_fail(8)) SWIG_fail
;
7445 arg9
= wxString_in_helper(obj8
);
7446 if (arg9
== NULL
) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7461 if (temp6
) delete arg6
;
7470 if (temp6
) delete arg6
;
7480 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxListBox
*arg1
= (wxListBox
*) 0 ;
7483 wxString
*arg2
= 0 ;
7485 PyObject
*arg4
= (PyObject
*) NULL
;
7486 bool temp2
= false ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 PyObject
* obj2
= 0 ;
7490 PyObject
* obj3
= 0 ;
7492 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7497 if (SWIG_arg_fail(1)) SWIG_fail
;
7499 arg2
= wxString_in_helper(obj1
);
7500 if (arg2
== NULL
) SWIG_fail
;
7504 arg3
= (int)(SWIG_As_int(obj2
));
7505 if (SWIG_arg_fail(3)) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7532 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxListBox
*arg1
= (wxListBox
*) 0 ;
7535 wxArrayString
*arg2
= 0 ;
7537 bool temp2
= false ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7540 PyObject
* obj2
= 0 ;
7542 (char *) "self",(char *) "items",(char *) "pos", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7547 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 if (! PySequence_Check(obj1
)) {
7550 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7553 arg2
= new wxArrayString
;
7555 int i
, len
=PySequence_Length(obj1
);
7556 for (i
=0; i
<len
; i
++) {
7557 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7558 wxString
* s
= wxString_in_helper(item
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7566 arg3
= (int)(SWIG_As_int(obj2
));
7567 if (SWIG_arg_fail(3)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 if (temp2
) delete arg2
;
7583 if (temp2
) delete arg2
;
7589 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxListBox
*arg1
= (wxListBox
*) 0 ;
7592 wxArrayString
*arg2
= 0 ;
7593 bool temp2
= false ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "items", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 if (! PySequence_Check(obj1
)) {
7605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7608 arg2
= new wxArrayString
;
7610 int i
, len
=PySequence_Length(obj1
);
7611 for (i
=0; i
<len
; i
++) {
7612 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7613 wxString
* s
= wxString_in_helper(item
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 (arg1
)->Set((wxArrayString
const &)*arg2
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 Py_INCREF(Py_None
); resultobj
= Py_None
;
7629 if (temp2
) delete arg2
;
7634 if (temp2
) delete arg2
;
7640 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxListBox
*arg1
= (wxListBox
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7648 (char *) "self",(char *) "n", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7653 if (SWIG_arg_fail(1)) SWIG_fail
;
7655 arg2
= (int)(SWIG_As_int(obj1
));
7656 if (SWIG_arg_fail(2)) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7674 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxListBox
*arg1
= (wxListBox
*) 0 ;
7678 bool arg3
= (bool) true ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7681 PyObject
* obj2
= 0 ;
7683 (char *) "self",(char *) "n",(char *) "select", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7690 arg2
= (int)(SWIG_As_int(obj1
));
7691 if (SWIG_arg_fail(2)) SWIG_fail
;
7695 arg3
= (bool)(SWIG_As_bool(obj2
));
7696 if (SWIG_arg_fail(3)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->SetSelection(arg2
,arg3
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxListBox
*arg1
= (wxListBox
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7720 (char *) "self",(char *) "n", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail
;
7727 arg2
= (int)(SWIG_As_int(obj1
));
7728 if (SWIG_arg_fail(2)) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->Select(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxListBox
*arg1
= (wxListBox
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "n", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail
;
7758 arg2
= (int)(SWIG_As_int(obj1
));
7759 if (SWIG_arg_fail(2)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 (arg1
)->Deselect(arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxListBox
*arg1
= (wxListBox
*) 0 ;
7778 int arg2
= (int) -1 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "itemToLeaveSelected", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7790 arg2
= (int)(SWIG_As_int(obj1
));
7791 if (SWIG_arg_fail(2)) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 (arg1
)->DeselectAll(arg2
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxListBox
*arg1
= (wxListBox
*) 0 ;
7811 wxString
*arg2
= 0 ;
7812 bool arg3
= (bool) true ;
7814 bool temp2
= false ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 PyObject
* obj2
= 0 ;
7819 (char *) "self",(char *) "s",(char *) "select", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 arg2
= wxString_in_helper(obj1
);
7827 if (arg2
== NULL
) SWIG_fail
;
7832 arg3
= (bool)(SWIG_As_bool(obj2
));
7833 if (SWIG_arg_fail(3)) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7860 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxListBox
*arg1
= (wxListBox
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "self", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7886 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxListBox
*arg1
= (wxListBox
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "self",(char *) "n", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 arg2
= (int)(SWIG_As_int(obj1
));
7901 if (SWIG_arg_fail(2)) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 (arg1
)->SetFirstItem(arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxListBox
*arg1
= (wxListBox
*) 0 ;
7920 wxString
*arg2
= 0 ;
7921 bool temp2
= false ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7925 (char *) "self",(char *) "s", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 arg2
= wxString_in_helper(obj1
);
7933 if (arg2
== NULL
) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7958 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxListBox
*arg1
= (wxListBox
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "n", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= (int)(SWIG_As_int(obj1
));
7973 if (SWIG_arg_fail(2)) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 (arg1
)->EnsureVisible(arg2
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 Py_INCREF(Py_None
); resultobj
= Py_None
;
7989 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxListBox
*arg1
= (wxListBox
*) 0 ;
7992 wxString
*arg2
= 0 ;
7993 bool temp2
= false ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7997 (char *) "self",(char *) "s", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(1)) SWIG_fail
;
8004 arg2
= wxString_in_helper(obj1
);
8005 if (arg2
== NULL
) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxListBox
*arg1
= (wxListBox
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
8040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8041 if (SWIG_arg_fail(1)) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8058 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxListBox
*arg1
= (wxListBox
*) 0 ;
8062 wxColour
*arg3
= 0 ;
8064 PyObject
* obj0
= 0 ;
8065 PyObject
* obj1
= 0 ;
8066 PyObject
* obj2
= 0 ;
8068 (char *) "self",(char *) "item",(char *) "c", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8073 if (SWIG_arg_fail(1)) SWIG_fail
;
8075 arg2
= (int)(SWIG_As_int(obj1
));
8076 if (SWIG_arg_fail(2)) SWIG_fail
;
8080 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 Py_INCREF(Py_None
); resultobj
= Py_None
;
8096 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxListBox
*arg1
= (wxListBox
*) 0 ;
8100 wxColour
*arg3
= 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8106 (char *) "self",(char *) "item",(char *) "c", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8111 if (SWIG_arg_fail(1)) SWIG_fail
;
8113 arg2
= (int)(SWIG_As_int(obj1
));
8114 if (SWIG_arg_fail(2)) SWIG_fail
;
8118 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxListBox
*arg1
= (wxListBox
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8141 PyObject
* obj2
= 0 ;
8143 (char *) "self",(char *) "item",(char *) "f", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 arg2
= (int)(SWIG_As_int(obj1
));
8151 if (SWIG_arg_fail(2)) SWIG_fail
;
8154 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8155 if (SWIG_arg_fail(3)) SWIG_fail
;
8157 SWIG_null_ref("wxFont");
8159 if (SWIG_arg_fail(3)) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 Py_INCREF(Py_None
); resultobj
= Py_None
;
8175 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8178 wxVisualAttributes result
;
8179 PyObject
* obj0
= 0 ;
8181 (char *) "variant", NULL
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8187 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8188 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 if (!wxPyCheckForApp()) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8200 wxVisualAttributes
* resultptr
;
8201 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8210 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8215 return Py_BuildValue((char *)"");
8217 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxWindow
*arg1
= (wxWindow
*) 0 ;
8220 int arg2
= (int) -1 ;
8221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8225 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8226 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8227 long arg6
= (long) 0 ;
8228 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8229 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8230 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8232 wxCheckListBox
*result
;
8235 bool temp5
= false ;
8236 bool temp8
= false ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8239 PyObject
* obj2
= 0 ;
8240 PyObject
* obj3
= 0 ;
8241 PyObject
* obj4
= 0 ;
8242 PyObject
* obj5
= 0 ;
8243 PyObject
* obj6
= 0 ;
8244 PyObject
* obj7
= 0 ;
8246 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8251 if (SWIG_arg_fail(1)) SWIG_fail
;
8254 arg2
= (int)(SWIG_As_int(obj1
));
8255 if (SWIG_arg_fail(2)) SWIG_fail
;
8261 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8267 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8272 if (! PySequence_Check(obj4
)) {
8273 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8276 arg5
= new wxArrayString
;
8278 int i
, len
=PySequence_Length(obj4
);
8279 for (i
=0; i
<len
; i
++) {
8280 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8281 wxString
* s
= wxString_in_helper(item
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8291 arg6
= (long)(SWIG_As_long(obj5
));
8292 if (SWIG_arg_fail(6)) SWIG_fail
;
8297 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8298 if (SWIG_arg_fail(7)) SWIG_fail
;
8300 SWIG_null_ref("wxValidator");
8302 if (SWIG_arg_fail(7)) SWIG_fail
;
8307 arg8
= wxString_in_helper(obj7
);
8308 if (arg8
== NULL
) SWIG_fail
;
8313 if (!wxPyCheckForApp()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8322 if (temp5
) delete arg5
;
8331 if (temp5
) delete arg5
;
8341 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxCheckListBox
*result
;
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8350 if (!wxPyCheckForApp()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (wxCheckListBox
*)new wxCheckListBox();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8364 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8367 wxWindow
*arg2
= (wxWindow
*) 0 ;
8368 int arg3
= (int) -1 ;
8369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8373 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8374 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8375 long arg7
= (long) 0 ;
8376 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8377 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8378 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8379 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8383 bool temp6
= false ;
8384 bool temp9
= false ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8388 PyObject
* obj3
= 0 ;
8389 PyObject
* obj4
= 0 ;
8390 PyObject
* obj5
= 0 ;
8391 PyObject
* obj6
= 0 ;
8392 PyObject
* obj7
= 0 ;
8393 PyObject
* obj8
= 0 ;
8395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8400 if (SWIG_arg_fail(1)) SWIG_fail
;
8401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8402 if (SWIG_arg_fail(2)) SWIG_fail
;
8405 arg3
= (int)(SWIG_As_int(obj2
));
8406 if (SWIG_arg_fail(3)) SWIG_fail
;
8412 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8418 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8423 if (! PySequence_Check(obj5
)) {
8424 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8427 arg6
= new wxArrayString
;
8429 int i
, len
=PySequence_Length(obj5
);
8430 for (i
=0; i
<len
; i
++) {
8431 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8432 wxString
* s
= wxString_in_helper(item
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8442 arg7
= (long)(SWIG_As_long(obj6
));
8443 if (SWIG_arg_fail(7)) SWIG_fail
;
8448 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8449 if (SWIG_arg_fail(8)) SWIG_fail
;
8451 SWIG_null_ref("wxValidator");
8453 if (SWIG_arg_fail(8)) SWIG_fail
;
8458 arg9
= wxString_in_helper(obj8
);
8459 if (arg9
== NULL
) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8474 if (temp6
) delete arg6
;
8483 if (temp6
) delete arg6
;
8493 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8499 PyObject
* obj1
= 0 ;
8501 (char *) "self",(char *) "index", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8506 if (SWIG_arg_fail(1)) SWIG_fail
;
8508 arg2
= (int)(SWIG_As_int(obj1
));
8509 if (SWIG_arg_fail(2)) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->IsChecked(arg2
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8527 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8531 int arg3
= (int) true ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8536 (char *) "self",(char *) "index",(char *) "check", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8541 if (SWIG_arg_fail(1)) SWIG_fail
;
8543 arg2
= (int)(SWIG_As_int(obj1
));
8544 if (SWIG_arg_fail(2)) SWIG_fail
;
8548 arg3
= (int)(SWIG_As_int(obj2
));
8549 if (SWIG_arg_fail(3)) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 (arg1
)->Check(arg2
,arg3
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 Py_INCREF(Py_None
); resultobj
= Py_None
;
8566 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "self", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8577 if (SWIG_arg_fail(1)) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (int)(arg1
)->GetItemHeight();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_From_int((int)(result
));
8594 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8603 (char *) "self",(char *) "pt", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8608 if (SWIG_arg_fail(1)) SWIG_fail
;
8611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_From_int((int)(result
));
8629 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8637 PyObject
* obj2
= 0 ;
8639 (char *) "self",(char *) "x",(char *) "y", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(1)) SWIG_fail
;
8646 arg2
= (int)(SWIG_As_int(obj1
));
8647 if (SWIG_arg_fail(2)) SWIG_fail
;
8650 arg3
= (int)(SWIG_As_int(obj2
));
8651 if (SWIG_arg_fail(3)) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_From_int((int)(result
));
8669 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8672 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8674 return Py_BuildValue((char *)"");
8676 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8677 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8682 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8687 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8689 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8696 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxColour
const &arg1_defvalue
= wxNullColour
;
8699 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8700 wxColour
const &arg2_defvalue
= wxNullColour
;
8701 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8702 wxFont
const &arg3_defvalue
= wxNullFont
;
8703 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8704 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8710 PyObject
* obj2
= 0 ;
8711 PyObject
* obj3
= 0 ;
8713 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8720 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8726 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8732 if (SWIG_arg_fail(3)) SWIG_fail
;
8734 SWIG_null_ref("wxFont");
8736 if (SWIG_arg_fail(3)) SWIG_fail
;
8741 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8742 if (SWIG_arg_fail(4)) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8759 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8764 (char *) "self", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "self", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8794 if (SWIG_arg_fail(1)) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8802 Py_INCREF(Py_None
); resultobj
= Py_None
;
8809 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8812 wxColour
*arg2
= 0 ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "colText", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8822 if (SWIG_arg_fail(1)) SWIG_fail
;
8825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8844 wxColour
*arg2
= 0 ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "colBack", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail
;
8857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8877 long arg3
= (long) wxTEXT_ATTR_FONT
;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8882 (char *) "self",(char *) "font",(char *) "flags", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8887 if (SWIG_arg_fail(1)) SWIG_fail
;
8889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8890 if (SWIG_arg_fail(2)) SWIG_fail
;
8892 SWIG_null_ref("wxFont");
8894 if (SWIG_arg_fail(2)) SWIG_fail
;
8898 arg3
= (long)(SWIG_As_long(obj2
));
8899 if (SWIG_arg_fail(3)) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8919 wxTextAttrAlignment arg2
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "alignment", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8928 if (SWIG_arg_fail(1)) SWIG_fail
;
8930 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8931 if (SWIG_arg_fail(2)) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8950 wxArrayInt
*arg2
= 0 ;
8951 bool temp2
= false ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "tabs", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail
;
8962 if (! PySequence_Check(obj1
)) {
8963 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8966 arg2
= new wxArrayInt
;
8968 int i
, len
=PySequence_Length(obj1
);
8969 for (i
=0; i
<len
; i
++) {
8970 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8971 PyObject
* number
= PyNumber_Int(item
);
8972 arg2
->Add(PyInt_AS_LONG(number
));
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 if (temp2
) delete arg2
;
8991 if (temp2
) delete arg2
;
8997 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9001 int arg3
= (int) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9006 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9011 if (SWIG_arg_fail(1)) SWIG_fail
;
9013 arg2
= (int)(SWIG_As_int(obj1
));
9014 if (SWIG_arg_fail(2)) SWIG_fail
;
9018 arg3
= (int)(SWIG_As_int(obj2
));
9019 if (SWIG_arg_fail(3)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetLeftIndent(arg2
,arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9043 (char *) "self",(char *) "indent", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
9047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail
;
9050 arg2
= (int)(SWIG_As_int(obj1
));
9051 if (SWIG_arg_fail(2)) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 (arg1
)->SetRightIndent(arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 Py_INCREF(Py_None
); resultobj
= Py_None
;
9067 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9074 (char *) "self",(char *) "flags", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail
;
9081 arg2
= (long)(SWIG_As_long(obj1
));
9082 if (SWIG_arg_fail(2)) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetFlags(arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9109 if (SWIG_arg_fail(1)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9154 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9165 if (SWIG_arg_fail(1)) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9182 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9188 (char *) "self", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9193 if (SWIG_arg_fail(1)) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9210 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9238 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9266 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9302 (char *) "self",(char *) "flag", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail
;
9309 arg2
= (long)(SWIG_As_long(obj1
));
9310 if (SWIG_arg_fail(2)) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9328 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9344 result
= (wxColour
*) &_result_ref
;
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9357 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9373 result
= (wxColour
*) &_result_ref
;
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9386 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9402 result
= (wxFont
*) &_result_ref
;
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 wxFont
* resultptr
= new wxFont(*result
);
9410 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9418 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9421 wxTextAttrAlignment result
;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= SWIG_From_int((result
));
9444 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9460 result
= (wxArrayInt
*) &_result_ref
;
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= PyList_New(0);
9469 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9470 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9471 PyList_Append(resultobj
, val
);
9481 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9492 if (SWIG_arg_fail(1)) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_long((long)(result
));
9509 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_From_long((long)(result
));
9537 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
;
9539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9543 (char *) "self", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9548 if (SWIG_arg_fail(1)) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_From_long((long)(result
));
9565 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9571 (char *) "self", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_From_long((long)(result
));
9593 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9604 if (SWIG_arg_fail(1)) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9621 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxTextAttr
*arg1
= 0 ;
9624 wxTextAttr
*arg2
= 0 ;
9625 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 PyObject
* obj2
= 0 ;
9631 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9637 if (SWIG_arg_fail(1)) SWIG_fail
;
9639 SWIG_null_ref("wxTextAttr");
9641 if (SWIG_arg_fail(1)) SWIG_fail
;
9644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9645 if (SWIG_arg_fail(2)) SWIG_fail
;
9647 SWIG_null_ref("wxTextAttr");
9649 if (SWIG_arg_fail(2)) SWIG_fail
;
9651 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9652 if (SWIG_arg_fail(3)) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 wxTextAttr
* resultptr
;
9662 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9671 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9674 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9676 return Py_BuildValue((char *)"");
9678 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxWindow
*arg1
= (wxWindow
*) 0 ;
9681 int arg2
= (int) -1 ;
9682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9684 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9685 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9686 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9687 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9688 long arg6
= (long) 0 ;
9689 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9690 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9691 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9692 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9694 bool temp3
= false ;
9697 bool temp8
= false ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9701 PyObject
* obj3
= 0 ;
9702 PyObject
* obj4
= 0 ;
9703 PyObject
* obj5
= 0 ;
9704 PyObject
* obj6
= 0 ;
9705 PyObject
* obj7
= 0 ;
9707 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9712 if (SWIG_arg_fail(1)) SWIG_fail
;
9715 arg2
= (int)(SWIG_As_int(obj1
));
9716 if (SWIG_arg_fail(2)) SWIG_fail
;
9721 arg3
= wxString_in_helper(obj2
);
9722 if (arg3
== NULL
) SWIG_fail
;
9729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9740 arg6
= (long)(SWIG_As_long(obj5
));
9741 if (SWIG_arg_fail(6)) SWIG_fail
;
9746 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(7)) SWIG_fail
;
9749 SWIG_null_ref("wxValidator");
9751 if (SWIG_arg_fail(7)) SWIG_fail
;
9756 arg8
= wxString_in_helper(obj7
);
9757 if (arg8
== NULL
) SWIG_fail
;
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9792 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9801 if (!wxPyCheckForApp()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (wxTextCtrl
*)new wxTextCtrl();
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9815 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9818 wxWindow
*arg2
= (wxWindow
*) 0 ;
9819 int arg3
= (int) -1 ;
9820 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9822 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9823 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9824 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9825 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9826 long arg7
= (long) 0 ;
9827 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9828 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9829 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9830 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9832 bool temp4
= false ;
9835 bool temp9
= false ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9839 PyObject
* obj3
= 0 ;
9840 PyObject
* obj4
= 0 ;
9841 PyObject
* obj5
= 0 ;
9842 PyObject
* obj6
= 0 ;
9843 PyObject
* obj7
= 0 ;
9844 PyObject
* obj8
= 0 ;
9846 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9853 if (SWIG_arg_fail(2)) SWIG_fail
;
9856 arg3
= (int)(SWIG_As_int(obj2
));
9857 if (SWIG_arg_fail(3)) SWIG_fail
;
9862 arg4
= wxString_in_helper(obj3
);
9863 if (arg4
== NULL
) SWIG_fail
;
9870 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9876 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9881 arg7
= (long)(SWIG_As_long(obj6
));
9882 if (SWIG_arg_fail(7)) SWIG_fail
;
9887 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(8)) SWIG_fail
;
9890 SWIG_null_ref("wxValidator");
9892 if (SWIG_arg_fail(8)) SWIG_fail
;
9897 arg9
= wxString_in_helper(obj8
);
9898 if (arg9
== NULL
) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9966 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9969 wxString
*arg2
= 0 ;
9970 bool temp2
= false ;
9971 PyObject
* obj0
= 0 ;
9972 PyObject
* obj1
= 0 ;
9974 (char *) "self",(char *) "value", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9979 if (SWIG_arg_fail(1)) SWIG_fail
;
9981 arg2
= wxString_in_helper(obj1
);
9982 if (arg2
== NULL
) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 (arg1
)->SetValue((wxString
const &)*arg2
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 PyObject
* obj2
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self",(char *) "from",(char *) "to", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10022 if (SWIG_arg_fail(1)) SWIG_fail
;
10024 arg2
= (long)(SWIG_As_long(obj1
));
10025 if (SWIG_arg_fail(2)) SWIG_fail
;
10028 arg3
= (long)(SWIG_As_long(obj2
));
10029 if (SWIG_arg_fail(3)) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10051 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "lineNo", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10064 if (SWIG_arg_fail(1)) SWIG_fail
;
10066 arg2
= (long)(SWIG_As_long(obj1
));
10067 if (SWIG_arg_fail(2)) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_From_int((int)(result
));
10085 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self",(char *) "lineNo", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10098 if (SWIG_arg_fail(1)) SWIG_fail
;
10100 arg2
= (long)(SWIG_As_long(obj1
));
10101 if (SWIG_arg_fail(2)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10123 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "self", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10134 if (SWIG_arg_fail(1)) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_int((int)(result
));
10151 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10207 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10218 if (SWIG_arg_fail(1)) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10246 if (SWIG_arg_fail(1)) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10266 long *arg2
= (long *) 0 ;
10267 long *arg3
= (long *) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10281 if (SWIG_arg_fail(1)) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10291 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10293 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10300 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10311 if (SWIG_arg_fail(1)) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10332 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10342 if (SWIG_arg_fail(1)) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 Py_INCREF(Py_None
); resultobj
= Py_None
;
10357 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10362 wxString
*arg4
= 0 ;
10363 bool temp4
= false ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 PyObject
* obj2
= 0 ;
10367 PyObject
* obj3
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail
;
10376 arg2
= (long)(SWIG_As_long(obj1
));
10377 if (SWIG_arg_fail(2)) SWIG_fail
;
10380 arg3
= (long)(SWIG_As_long(obj2
));
10381 if (SWIG_arg_fail(3)) SWIG_fail
;
10384 arg4
= wxString_in_helper(obj3
);
10385 if (arg4
== NULL
) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10410 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "from",(char *) "to", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 arg2
= (long)(SWIG_As_long(obj1
));
10427 if (SWIG_arg_fail(2)) SWIG_fail
;
10430 arg3
= (long)(SWIG_As_long(obj2
));
10431 if (SWIG_arg_fail(3)) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->Remove(arg2
,arg3
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10450 wxString
*arg2
= 0 ;
10452 bool temp2
= false ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "file", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10461 if (SWIG_arg_fail(1)) SWIG_fail
;
10463 arg2
= wxString_in_helper(obj1
);
10464 if (arg2
== NULL
) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10491 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
;
10493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10497 bool temp2
= false ;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "file", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10506 if (SWIG_arg_fail(1)) SWIG_fail
;
10509 arg2
= wxString_in_helper(obj1
);
10510 if (arg2
== NULL
) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10538 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->MarkDirty();
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 (arg1
)->DiscardEdits();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 Py_INCREF(Py_None
); resultobj
= Py_None
;
10588 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
;
10590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10591 unsigned long arg2
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self",(char *) "len", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10600 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10603 if (SWIG_arg_fail(2)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->SetMaxLength(arg2
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 Py_INCREF(Py_None
); resultobj
= Py_None
;
10619 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10622 wxString
*arg2
= 0 ;
10623 bool temp2
= false ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self",(char *) "text", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 arg2
= wxString_in_helper(obj1
);
10635 if (arg2
== NULL
) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 (arg1
)->WriteText((wxString
const &)*arg2
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10660 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10663 wxString
*arg2
= 0 ;
10664 bool temp2
= false ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "text", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail
;
10675 arg2
= wxString_in_helper(obj1
);
10676 if (arg2
== NULL
) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 (arg1
)->AppendText((wxString
const &)*arg2
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10701 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10704 wxKeyEvent
*arg2
= 0 ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self",(char *) "event", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10714 if (SWIG_arg_fail(1)) SWIG_fail
;
10716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(2)) SWIG_fail
;
10718 if (arg2
== NULL
) {
10719 SWIG_null_ref("wxKeyEvent");
10721 if (SWIG_arg_fail(2)) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10739 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10744 wxTextAttr
*arg4
= 0 ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 PyObject
* obj3
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= (long)(SWIG_As_long(obj1
));
10759 if (SWIG_arg_fail(2)) SWIG_fail
;
10762 arg3
= (long)(SWIG_As_long(obj2
));
10763 if (SWIG_arg_fail(3)) SWIG_fail
;
10766 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10767 if (SWIG_arg_fail(4)) SWIG_fail
;
10768 if (arg4
== NULL
) {
10769 SWIG_null_ref("wxTextAttr");
10771 if (SWIG_arg_fail(4)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10793 wxTextAttr
*arg3
= 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 PyObject
* obj2
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self",(char *) "position",(char *) "style", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10804 if (SWIG_arg_fail(1)) SWIG_fail
;
10806 arg2
= (long)(SWIG_As_long(obj1
));
10807 if (SWIG_arg_fail(2)) SWIG_fail
;
10810 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10811 if (SWIG_arg_fail(3)) SWIG_fail
;
10812 if (arg3
== NULL
) {
10813 SWIG_null_ref("wxTextAttr");
10815 if (SWIG_arg_fail(3)) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10836 wxTextAttr
*arg2
= 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "style", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(2)) SWIG_fail
;
10850 if (arg2
== NULL
) {
10851 SWIG_null_ref("wxTextAttr");
10853 if (SWIG_arg_fail(2)) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10871 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10874 wxTextAttr
*result
;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10887 result
= (wxTextAttr
*) &_result_ref
;
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10900 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 PyObject
* obj2
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "x",(char *) "y", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10915 if (SWIG_arg_fail(1)) SWIG_fail
;
10917 arg2
= (long)(SWIG_As_long(obj1
));
10918 if (SWIG_arg_fail(2)) SWIG_fail
;
10921 arg3
= (long)(SWIG_As_long(obj2
));
10922 if (SWIG_arg_fail(3)) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_From_long((long)(result
));
10940 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10944 long *arg3
= (long *) 0 ;
10945 long *arg4
= (long *) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "pos", NULL
10956 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10957 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10960 if (SWIG_arg_fail(1)) SWIG_fail
;
10962 arg2
= (long)(SWIG_As_long(obj1
));
10963 if (SWIG_arg_fail(2)) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10974 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10975 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10976 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10983 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "pos", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10995 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 arg2
= (long)(SWIG_As_long(obj1
));
10998 if (SWIG_arg_fail(2)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->ShowPosition(arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11017 wxPoint
*arg2
= 0 ;
11018 long *arg3
= (long *) 0 ;
11019 long *arg4
= (long *) 0 ;
11020 wxTextCtrlHitTestResult result
;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "pt", NULL
11032 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11033 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11036 if (SWIG_arg_fail(1)) SWIG_fail
;
11039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_From_int((result
));
11049 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11050 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11051 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11052 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11059 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11062 wxPoint
*arg2
= 0 ;
11063 long *arg3
= (long *) 0 ;
11064 wxTextCtrlHitTestResult result
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "pt", NULL
11074 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= SWIG_From_int((result
));
11090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11091 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11098 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11108 if (SWIG_arg_fail(1)) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11133 if (SWIG_arg_fail(1)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 Py_INCREF(Py_None
); resultobj
= Py_None
;
11148 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11201 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11240 if (SWIG_arg_fail(1)) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11257 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11267 if (SWIG_arg_fail(1)) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 Py_INCREF(Py_None
); resultobj
= Py_None
;
11307 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11318 if (SWIG_arg_fail(1)) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11335 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11363 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self",(char *) "pos", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail
;
11377 arg2
= (long)(SWIG_As_long(obj1
));
11378 if (SWIG_arg_fail(2)) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetInsertionPoint(arg2
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 Py_INCREF(Py_None
); resultobj
= Py_None
;
11394 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetInsertionPointEnd();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11430 if (SWIG_arg_fail(1)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_long((long)(result
));
11447 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_long((long)(result
));
11475 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "from",(char *) "to", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11489 if (SWIG_arg_fail(1)) SWIG_fail
;
11491 arg2
= (long)(SWIG_As_long(obj1
));
11492 if (SWIG_arg_fail(2)) SWIG_fail
;
11495 arg3
= (long)(SWIG_As_long(obj2
));
11496 if (SWIG_arg_fail(3)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetSelection(arg2
,arg3
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11522 if (SWIG_arg_fail(1)) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 (arg1
)->SelectAll();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11541 PyObject
* obj0
= 0 ;
11542 PyObject
* obj1
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self",(char *) "editable", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11549 if (SWIG_arg_fail(1)) SWIG_fail
;
11551 arg2
= (bool)(SWIG_As_bool(obj1
));
11552 if (SWIG_arg_fail(2)) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->SetEditable(arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11571 bool arg2
= (bool) true ;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "show", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
11580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11581 if (SWIG_arg_fail(1)) SWIG_fail
;
11584 arg2
= (bool)(SWIG_As_bool(obj1
));
11585 if (SWIG_arg_fail(2)) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11604 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
11614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11615 if (SWIG_arg_fail(1)) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)(arg1
)->HideNativeCaret();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11632 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11635 wxString
*arg2
= 0 ;
11636 bool temp2
= false ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "text", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 PyObject
* obj2
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "from",(char *) "to", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11688 if (SWIG_arg_fail(1)) SWIG_fail
;
11690 arg2
= (long)(SWIG_As_long(obj1
));
11691 if (SWIG_arg_fail(2)) SWIG_fail
;
11694 arg3
= (long)(SWIG_As_long(obj2
));
11695 if (SWIG_arg_fail(3)) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11717 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11720 wxVisualAttributes result
;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "variant", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11729 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 if (!wxPyCheckForApp()) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 wxVisualAttributes
* resultptr
;
11743 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11752 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11755 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11757 return Py_BuildValue((char *)"");
11759 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11762 wxMouseEvent
*arg2
= 0 ;
11765 wxTextUrlEvent
*result
;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 PyObject
* obj2
= 0 ;
11769 PyObject
* obj3
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11776 arg1
= (int)(SWIG_As_int(obj0
));
11777 if (SWIG_arg_fail(1)) SWIG_fail
;
11780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11781 if (SWIG_arg_fail(2)) SWIG_fail
;
11782 if (arg2
== NULL
) {
11783 SWIG_null_ref("wxMouseEvent");
11785 if (SWIG_arg_fail(2)) SWIG_fail
;
11788 arg3
= (long)(SWIG_As_long(obj2
));
11789 if (SWIG_arg_fail(3)) SWIG_fail
;
11792 arg4
= (long)(SWIG_As_long(obj3
));
11793 if (SWIG_arg_fail(4)) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11809 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11812 wxMouseEvent
*result
;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11820 if (SWIG_arg_fail(1)) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11825 result
= (wxMouseEvent
*) &_result_ref
;
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11838 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11849 if (SWIG_arg_fail(1)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_long((long)(result
));
11866 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_From_long((long)(result
));
11894 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11897 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11899 return Py_BuildValue((char *)"");
11901 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11902 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11907 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11912 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11914 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11921 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxWindow
*arg1
= (wxWindow
*) 0 ;
11924 int arg2
= (int) -1 ;
11925 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11926 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11927 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11928 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11929 long arg5
= (long) wxSB_HORIZONTAL
;
11930 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11931 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11932 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11933 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11934 wxScrollBar
*result
;
11937 bool temp7
= false ;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 PyObject
* obj2
= 0 ;
11941 PyObject
* obj3
= 0 ;
11942 PyObject
* obj4
= 0 ;
11943 PyObject
* obj5
= 0 ;
11944 PyObject
* obj6
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11951 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 arg2
= (int)(SWIG_As_int(obj1
));
11955 if (SWIG_arg_fail(2)) SWIG_fail
;
11961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11967 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11972 arg5
= (long)(SWIG_As_long(obj4
));
11973 if (SWIG_arg_fail(5)) SWIG_fail
;
11978 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11979 if (SWIG_arg_fail(6)) SWIG_fail
;
11980 if (arg6
== NULL
) {
11981 SWIG_null_ref("wxValidator");
11983 if (SWIG_arg_fail(6)) SWIG_fail
;
11988 arg7
= wxString_in_helper(obj6
);
11989 if (arg7
== NULL
) SWIG_fail
;
11994 if (!wxPyCheckForApp()) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12016 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxScrollBar
*result
;
12019 char *kwnames
[] = {
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
12025 if (!wxPyCheckForApp()) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (wxScrollBar
*)new wxScrollBar();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
12039 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12042 wxWindow
*arg2
= (wxWindow
*) 0 ;
12043 int arg3
= (int) -1 ;
12044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12048 long arg6
= (long) wxSB_HORIZONTAL
;
12049 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12050 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12051 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
12052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12056 bool temp8
= false ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 PyObject
* obj2
= 0 ;
12060 PyObject
* obj3
= 0 ;
12061 PyObject
* obj4
= 0 ;
12062 PyObject
* obj5
= 0 ;
12063 PyObject
* obj6
= 0 ;
12064 PyObject
* obj7
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12071 if (SWIG_arg_fail(1)) SWIG_fail
;
12072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12073 if (SWIG_arg_fail(2)) SWIG_fail
;
12076 arg3
= (int)(SWIG_As_int(obj2
));
12077 if (SWIG_arg_fail(3)) SWIG_fail
;
12083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12094 arg6
= (long)(SWIG_As_long(obj5
));
12095 if (SWIG_arg_fail(6)) SWIG_fail
;
12100 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
12101 if (SWIG_arg_fail(7)) SWIG_fail
;
12102 if (arg7
== NULL
) {
12103 SWIG_null_ref("wxValidator");
12105 if (SWIG_arg_fail(7)) SWIG_fail
;
12110 arg8
= wxString_in_helper(obj7
);
12111 if (arg8
== NULL
) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12139 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12150 if (SWIG_arg_fail(1)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_From_int((int)(result
));
12167 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12178 if (SWIG_arg_fail(1)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_From_int((int)(result
));
12195 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_From_int((int)(result
));
12223 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12234 if (SWIG_arg_fail(1)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_From_int((int)(result
));
12251 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12279 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "viewStart", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12291 if (SWIG_arg_fail(1)) SWIG_fail
;
12293 arg2
= (int)(SWIG_As_int(obj1
));
12294 if (SWIG_arg_fail(2)) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->SetThumbPosition(arg2
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12317 bool arg6
= (bool) true ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 PyObject
* obj3
= 0 ;
12322 PyObject
* obj4
= 0 ;
12323 PyObject
* obj5
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 arg2
= (int)(SWIG_As_int(obj1
));
12333 if (SWIG_arg_fail(2)) SWIG_fail
;
12336 arg3
= (int)(SWIG_As_int(obj2
));
12337 if (SWIG_arg_fail(3)) SWIG_fail
;
12340 arg4
= (int)(SWIG_As_int(obj3
));
12341 if (SWIG_arg_fail(4)) SWIG_fail
;
12344 arg5
= (int)(SWIG_As_int(obj4
));
12345 if (SWIG_arg_fail(5)) SWIG_fail
;
12349 arg6
= (bool)(SWIG_As_bool(obj5
));
12350 if (SWIG_arg_fail(6)) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 Py_INCREF(Py_None
); resultobj
= Py_None
;
12367 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12370 wxVisualAttributes result
;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "variant", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12379 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12380 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 if (!wxPyCheckForApp()) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 wxVisualAttributes
* resultptr
;
12393 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12402 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12405 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12407 return Py_BuildValue((char *)"");
12409 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12410 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12415 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12420 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12422 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12429 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12430 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12435 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12440 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12442 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12449 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxWindow
*arg1
= (wxWindow
*) 0 ;
12452 int arg2
= (int) -1 ;
12453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12457 long arg5
= (long) wxSP_HORIZONTAL
;
12458 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12460 wxSpinButton
*result
;
12463 bool temp6
= false ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 PyObject
* obj2
= 0 ;
12467 PyObject
* obj3
= 0 ;
12468 PyObject
* obj4
= 0 ;
12469 PyObject
* obj5
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail
;
12479 arg2
= (int)(SWIG_As_int(obj1
));
12480 if (SWIG_arg_fail(2)) SWIG_fail
;
12486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12497 arg5
= (long)(SWIG_As_long(obj4
));
12498 if (SWIG_arg_fail(5)) SWIG_fail
;
12503 arg6
= wxString_in_helper(obj5
);
12504 if (arg6
== NULL
) SWIG_fail
;
12509 if (!wxPyCheckForApp()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12531 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxSpinButton
*result
;
12534 char *kwnames
[] = {
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12540 if (!wxPyCheckForApp()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (wxSpinButton
*)new wxSpinButton();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12554 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12557 wxWindow
*arg2
= (wxWindow
*) 0 ;
12558 int arg3
= (int) -1 ;
12559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12563 long arg6
= (long) wxSP_HORIZONTAL
;
12564 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12569 bool temp7
= false ;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 PyObject
* obj3
= 0 ;
12574 PyObject
* obj4
= 0 ;
12575 PyObject
* obj5
= 0 ;
12576 PyObject
* obj6
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 arg3
= (int)(SWIG_As_int(obj2
));
12589 if (SWIG_arg_fail(3)) SWIG_fail
;
12595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12606 arg6
= (long)(SWIG_As_long(obj5
));
12607 if (SWIG_arg_fail(6)) SWIG_fail
;
12612 arg7
= wxString_in_helper(obj6
);
12613 if (arg7
== NULL
) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_From_int((int)(result
));
12669 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_From_int((int)(result
));
12697 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= SWIG_From_int((int)(result
));
12725 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self",(char *) "val", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12737 if (SWIG_arg_fail(1)) SWIG_fail
;
12739 arg2
= (int)(SWIG_As_int(obj1
));
12740 if (SWIG_arg_fail(2)) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->SetValue(arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "minVal", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail
;
12770 arg2
= (int)(SWIG_As_int(obj1
));
12771 if (SWIG_arg_fail(2)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetMin(arg2
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "maxVal", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12799 if (SWIG_arg_fail(1)) SWIG_fail
;
12801 arg2
= (int)(SWIG_As_int(obj1
));
12802 if (SWIG_arg_fail(2)) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetMax(arg2
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 Py_INCREF(Py_None
); resultobj
= Py_None
;
12818 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 PyObject
* obj2
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12832 if (SWIG_arg_fail(1)) SWIG_fail
;
12834 arg2
= (int)(SWIG_As_int(obj1
));
12835 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 arg3
= (int)(SWIG_As_int(obj2
));
12839 if (SWIG_arg_fail(3)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->SetRange(arg2
,arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12866 if (SWIG_arg_fail(1)) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12883 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12886 wxVisualAttributes result
;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "variant", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12895 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12896 if (SWIG_arg_fail(1)) SWIG_fail
;
12900 if (!wxPyCheckForApp()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 wxVisualAttributes
* resultptr
;
12909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12918 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12923 return Py_BuildValue((char *)"");
12925 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxWindow
*arg1
= (wxWindow
*) 0 ;
12928 int arg2
= (int) -1 ;
12929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12935 long arg6
= (long) wxSP_ARROW_KEYS
;
12936 int arg7
= (int) 0 ;
12937 int arg8
= (int) 100 ;
12938 int arg9
= (int) 0 ;
12939 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12940 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12941 wxSpinCtrl
*result
;
12942 bool temp3
= false ;
12945 bool temp10
= false ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 PyObject
* obj3
= 0 ;
12950 PyObject
* obj4
= 0 ;
12951 PyObject
* obj5
= 0 ;
12952 PyObject
* obj6
= 0 ;
12953 PyObject
* obj7
= 0 ;
12954 PyObject
* obj8
= 0 ;
12955 PyObject
* obj9
= 0 ;
12956 char *kwnames
[] = {
12957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12962 if (SWIG_arg_fail(1)) SWIG_fail
;
12965 arg2
= (int)(SWIG_As_int(obj1
));
12966 if (SWIG_arg_fail(2)) SWIG_fail
;
12971 arg3
= wxString_in_helper(obj2
);
12972 if (arg3
== NULL
) SWIG_fail
;
12979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12990 arg6
= (long)(SWIG_As_long(obj5
));
12991 if (SWIG_arg_fail(6)) SWIG_fail
;
12996 arg7
= (int)(SWIG_As_int(obj6
));
12997 if (SWIG_arg_fail(7)) SWIG_fail
;
13002 arg8
= (int)(SWIG_As_int(obj7
));
13003 if (SWIG_arg_fail(8)) SWIG_fail
;
13008 arg9
= (int)(SWIG_As_int(obj8
));
13009 if (SWIG_arg_fail(9)) SWIG_fail
;
13014 arg10
= wxString_in_helper(obj9
);
13015 if (arg10
== NULL
) SWIG_fail
;
13020 if (!wxPyCheckForApp()) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13050 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxSpinCtrl
*result
;
13053 char *kwnames
[] = {
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
13059 if (!wxPyCheckForApp()) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (wxSpinCtrl
*)new wxSpinCtrl();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
13073 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13076 wxWindow
*arg2
= (wxWindow
*) 0 ;
13077 int arg3
= (int) -1 ;
13078 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13079 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13080 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13081 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13082 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13083 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13084 long arg7
= (long) wxSP_ARROW_KEYS
;
13085 int arg8
= (int) 0 ;
13086 int arg9
= (int) 100 ;
13087 int arg10
= (int) 0 ;
13088 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
13089 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13091 bool temp4
= false ;
13094 bool temp11
= false ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 PyObject
* obj2
= 0 ;
13098 PyObject
* obj3
= 0 ;
13099 PyObject
* obj4
= 0 ;
13100 PyObject
* obj5
= 0 ;
13101 PyObject
* obj6
= 0 ;
13102 PyObject
* obj7
= 0 ;
13103 PyObject
* obj8
= 0 ;
13104 PyObject
* obj9
= 0 ;
13105 PyObject
* obj10
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13112 if (SWIG_arg_fail(1)) SWIG_fail
;
13113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(2)) SWIG_fail
;
13117 arg3
= (int)(SWIG_As_int(obj2
));
13118 if (SWIG_arg_fail(3)) SWIG_fail
;
13123 arg4
= wxString_in_helper(obj3
);
13124 if (arg4
== NULL
) SWIG_fail
;
13131 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13137 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13142 arg7
= (long)(SWIG_As_long(obj6
));
13143 if (SWIG_arg_fail(7)) SWIG_fail
;
13148 arg8
= (int)(SWIG_As_int(obj7
));
13149 if (SWIG_arg_fail(8)) SWIG_fail
;
13154 arg9
= (int)(SWIG_As_int(obj8
));
13155 if (SWIG_arg_fail(9)) SWIG_fail
;
13160 arg10
= (int)(SWIG_As_int(obj9
));
13161 if (SWIG_arg_fail(10)) SWIG_fail
;
13166 arg11
= wxString_in_helper(obj10
);
13167 if (arg11
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13203 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_From_int((int)(result
));
13231 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self",(char *) "value", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail
;
13245 arg2
= (int)(SWIG_As_int(obj1
));
13246 if (SWIG_arg_fail(2)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 (arg1
)->SetValue(arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13265 wxString
*arg2
= 0 ;
13266 bool temp2
= false ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "text", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail
;
13277 arg2
= wxString_in_helper(obj1
);
13278 if (arg2
== NULL
) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 (arg1
)->SetValue((wxString
const &)*arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 PyObject
* obj2
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13319 arg2
= (int)(SWIG_As_int(obj1
));
13320 if (SWIG_arg_fail(2)) SWIG_fail
;
13323 arg3
= (int)(SWIG_As_int(obj2
));
13324 if (SWIG_arg_fail(3)) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 (arg1
)->SetRange(arg2
,arg3
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 Py_INCREF(Py_None
); resultobj
= Py_None
;
13340 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13351 if (SWIG_arg_fail(1)) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_From_int((int)(result
));
13368 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13379 if (SWIG_arg_fail(1)) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_From_int((int)(result
));
13396 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 PyObject
* obj2
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self",(char *) "from",(char *) "to", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13410 if (SWIG_arg_fail(1)) SWIG_fail
;
13412 arg2
= (long)(SWIG_As_long(obj1
));
13413 if (SWIG_arg_fail(2)) SWIG_fail
;
13416 arg3
= (long)(SWIG_As_long(obj2
));
13417 if (SWIG_arg_fail(3)) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 (arg1
)->SetSelection(arg2
,arg3
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 Py_INCREF(Py_None
); resultobj
= Py_None
;
13433 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13436 wxVisualAttributes result
;
13437 PyObject
* obj0
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "variant", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13445 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13446 if (SWIG_arg_fail(1)) SWIG_fail
;
13450 if (!wxPyCheckForApp()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 wxVisualAttributes
* resultptr
;
13459 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13468 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13473 return Py_BuildValue((char *)"");
13475 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13478 int arg2
= (int) 0 ;
13479 wxSpinEvent
*result
;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "commandType",(char *) "winid", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13489 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13490 if (SWIG_arg_fail(1)) SWIG_fail
;
13495 arg2
= (int)(SWIG_As_int(obj1
));
13496 if (SWIG_arg_fail(2)) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13513 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13524 if (SWIG_arg_fail(1)) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_From_int((int)(result
));
13541 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "pos", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13553 if (SWIG_arg_fail(1)) SWIG_fail
;
13555 arg2
= (int)(SWIG_As_int(obj1
));
13556 if (SWIG_arg_fail(2)) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->SetPosition(arg2
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 Py_INCREF(Py_None
); resultobj
= Py_None
;
13572 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13575 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13577 return Py_BuildValue((char *)"");
13579 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13580 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13585 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13590 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13592 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13599 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13600 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13605 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13610 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13612 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13619 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxWindow
*arg1
= (wxWindow
*) 0 ;
13622 int arg2
= (int) -1 ;
13623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13629 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13630 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13631 int arg7
= (int) 0 ;
13632 long arg8
= (long) wxRA_HORIZONTAL
;
13633 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13634 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13635 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13636 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13637 wxRadioBox
*result
;
13638 bool temp3
= false ;
13641 bool temp6
= false ;
13642 bool temp10
= false ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 PyObject
* obj2
= 0 ;
13646 PyObject
* obj3
= 0 ;
13647 PyObject
* obj4
= 0 ;
13648 PyObject
* obj5
= 0 ;
13649 PyObject
* obj6
= 0 ;
13650 PyObject
* obj7
= 0 ;
13651 PyObject
* obj8
= 0 ;
13652 PyObject
* obj9
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13659 if (SWIG_arg_fail(1)) SWIG_fail
;
13662 arg2
= (int)(SWIG_As_int(obj1
));
13663 if (SWIG_arg_fail(2)) SWIG_fail
;
13668 arg3
= wxString_in_helper(obj2
);
13669 if (arg3
== NULL
) SWIG_fail
;
13676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13687 if (! PySequence_Check(obj5
)) {
13688 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13691 arg6
= new wxArrayString
;
13693 int i
, len
=PySequence_Length(obj5
);
13694 for (i
=0; i
<len
; i
++) {
13695 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13696 wxString
* s
= wxString_in_helper(item
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13706 arg7
= (int)(SWIG_As_int(obj6
));
13707 if (SWIG_arg_fail(7)) SWIG_fail
;
13712 arg8
= (long)(SWIG_As_long(obj7
));
13713 if (SWIG_arg_fail(8)) SWIG_fail
;
13718 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13719 if (SWIG_arg_fail(9)) SWIG_fail
;
13720 if (arg9
== NULL
) {
13721 SWIG_null_ref("wxValidator");
13723 if (SWIG_arg_fail(9)) SWIG_fail
;
13728 arg10
= wxString_in_helper(obj9
);
13729 if (arg10
== NULL
) SWIG_fail
;
13734 if (!wxPyCheckForApp()) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 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
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13747 if (temp6
) delete arg6
;
13760 if (temp6
) delete arg6
;
13770 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxRadioBox
*result
;
13773 char *kwnames
[] = {
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13779 if (!wxPyCheckForApp()) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (wxRadioBox
*)new wxRadioBox();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13793 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13796 wxWindow
*arg2
= (wxWindow
*) 0 ;
13797 int arg3
= (int) -1 ;
13798 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13799 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13800 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13801 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13802 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13803 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13804 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13805 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13806 int arg8
= (int) 0 ;
13807 long arg9
= (long) wxRA_HORIZONTAL
;
13808 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13809 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13810 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13811 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13813 bool temp4
= false ;
13816 bool temp7
= false ;
13817 bool temp11
= false ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 PyObject
* obj3
= 0 ;
13822 PyObject
* obj4
= 0 ;
13823 PyObject
* obj5
= 0 ;
13824 PyObject
* obj6
= 0 ;
13825 PyObject
* obj7
= 0 ;
13826 PyObject
* obj8
= 0 ;
13827 PyObject
* obj9
= 0 ;
13828 PyObject
* obj10
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13835 if (SWIG_arg_fail(1)) SWIG_fail
;
13836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13837 if (SWIG_arg_fail(2)) SWIG_fail
;
13840 arg3
= (int)(SWIG_As_int(obj2
));
13841 if (SWIG_arg_fail(3)) SWIG_fail
;
13846 arg4
= wxString_in_helper(obj3
);
13847 if (arg4
== NULL
) SWIG_fail
;
13854 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13860 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13865 if (! PySequence_Check(obj6
)) {
13866 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13869 arg7
= new wxArrayString
;
13871 int i
, len
=PySequence_Length(obj6
);
13872 for (i
=0; i
<len
; i
++) {
13873 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13874 wxString
* s
= wxString_in_helper(item
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13884 arg8
= (int)(SWIG_As_int(obj7
));
13885 if (SWIG_arg_fail(8)) SWIG_fail
;
13890 arg9
= (long)(SWIG_As_long(obj8
));
13891 if (SWIG_arg_fail(9)) SWIG_fail
;
13896 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(10)) SWIG_fail
;
13898 if (arg10
== NULL
) {
13899 SWIG_null_ref("wxValidator");
13901 if (SWIG_arg_fail(10)) SWIG_fail
;
13906 arg11
= wxString_in_helper(obj10
);
13907 if (arg11
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 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
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13926 if (temp7
) delete arg7
;
13939 if (temp7
) delete arg7
;
13949 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "n", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13961 if (SWIG_arg_fail(1)) SWIG_fail
;
13963 arg2
= (int)(SWIG_As_int(obj1
));
13964 if (SWIG_arg_fail(2)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 (arg1
)->SetSelection(arg2
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 Py_INCREF(Py_None
); resultobj
= Py_None
;
13980 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13984 PyObject
* obj0
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13991 if (SWIG_arg_fail(1)) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_From_int((int)(result
));
14008 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14019 if (SWIG_arg_fail(1)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14040 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14043 wxString
*arg2
= 0 ;
14045 bool temp2
= false ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "s", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14054 if (SWIG_arg_fail(1)) SWIG_fail
;
14056 arg2
= wxString_in_helper(obj1
);
14057 if (arg2
== NULL
) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14084 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
14094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_From_int((int)(result
));
14112 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14115 wxString
*arg2
= 0 ;
14117 bool temp2
= false ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self",(char *) "s", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14126 if (SWIG_arg_fail(1)) SWIG_fail
;
14128 arg2
= wxString_in_helper(obj1
);
14129 if (arg2
== NULL
) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_int((int)(result
));
14156 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self",(char *) "n", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail
;
14171 arg2
= (int)(SWIG_As_int(obj1
));
14172 if (SWIG_arg_fail(2)) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14194 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14198 wxString
*arg3
= 0 ;
14199 bool temp3
= false ;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 PyObject
* obj2
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "n",(char *) "label", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14211 arg2
= (int)(SWIG_As_int(obj1
));
14212 if (SWIG_arg_fail(2)) SWIG_fail
;
14215 arg3
= wxString_in_helper(obj2
);
14216 if (arg3
== NULL
) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14241 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14245 bool arg3
= (bool) true ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "n",(char *) "enable", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14255 if (SWIG_arg_fail(1)) SWIG_fail
;
14257 arg2
= (int)(SWIG_As_int(obj1
));
14258 if (SWIG_arg_fail(2)) SWIG_fail
;
14262 arg3
= (bool)(SWIG_As_bool(obj2
));
14263 if (SWIG_arg_fail(3)) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 (arg1
)->Enable(arg2
,arg3
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 Py_INCREF(Py_None
); resultobj
= Py_None
;
14280 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
;
14282 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14284 bool arg3
= (bool) true ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 char *kwnames
[] = {
14289 (char *) "self",(char *) "n",(char *) "show", NULL
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail
;
14296 arg2
= (int)(SWIG_As_int(obj1
));
14297 if (SWIG_arg_fail(2)) SWIG_fail
;
14301 arg3
= (bool)(SWIG_As_bool(obj2
));
14302 if (SWIG_arg_fail(3)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 (arg1
)->Show(arg2
,arg3
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14330 if (SWIG_arg_fail(1)) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_From_int((int)(result
));
14347 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14358 if (SWIG_arg_fail(1)) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int((int)(result
));
14375 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 PyObject
* obj2
= 0 ;
14385 PyObject
* obj3
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14392 if (SWIG_arg_fail(1)) SWIG_fail
;
14394 arg2
= (int)(SWIG_As_int(obj1
));
14395 if (SWIG_arg_fail(2)) SWIG_fail
;
14398 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14399 if (SWIG_arg_fail(3)) SWIG_fail
;
14402 arg4
= (long)(SWIG_As_long(obj3
));
14403 if (SWIG_arg_fail(4)) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_From_int((int)(result
));
14421 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14424 wxVisualAttributes result
;
14425 PyObject
* obj0
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "variant", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14433 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14434 if (SWIG_arg_fail(1)) SWIG_fail
;
14438 if (!wxPyCheckForApp()) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 wxVisualAttributes
* resultptr
;
14447 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14456 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14459 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14461 return Py_BuildValue((char *)"");
14463 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxWindow
*arg1
= (wxWindow
*) 0 ;
14466 int arg2
= (int) -1 ;
14467 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14468 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14473 long arg6
= (long) 0 ;
14474 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14475 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14476 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14477 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14478 wxRadioButton
*result
;
14479 bool temp3
= false ;
14482 bool temp8
= false ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 PyObject
* obj3
= 0 ;
14487 PyObject
* obj4
= 0 ;
14488 PyObject
* obj5
= 0 ;
14489 PyObject
* obj6
= 0 ;
14490 PyObject
* obj7
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14497 if (SWIG_arg_fail(1)) SWIG_fail
;
14500 arg2
= (int)(SWIG_As_int(obj1
));
14501 if (SWIG_arg_fail(2)) SWIG_fail
;
14506 arg3
= wxString_in_helper(obj2
);
14507 if (arg3
== NULL
) SWIG_fail
;
14514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14525 arg6
= (long)(SWIG_As_long(obj5
));
14526 if (SWIG_arg_fail(6)) SWIG_fail
;
14531 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14532 if (SWIG_arg_fail(7)) SWIG_fail
;
14533 if (arg7
== NULL
) {
14534 SWIG_null_ref("wxValidator");
14536 if (SWIG_arg_fail(7)) SWIG_fail
;
14541 arg8
= wxString_in_helper(obj7
);
14542 if (arg8
== NULL
) SWIG_fail
;
14547 if (!wxPyCheckForApp()) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14577 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxRadioButton
*result
;
14580 char *kwnames
[] = {
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14586 if (!wxPyCheckForApp()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxRadioButton
*)new wxRadioButton();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14600 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14603 wxWindow
*arg2
= (wxWindow
*) 0 ;
14604 int arg3
= (int) -1 ;
14605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14607 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14608 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14609 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14610 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14611 long arg7
= (long) 0 ;
14612 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14613 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14614 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14615 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14617 bool temp4
= false ;
14620 bool temp9
= false ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 PyObject
* obj2
= 0 ;
14624 PyObject
* obj3
= 0 ;
14625 PyObject
* obj4
= 0 ;
14626 PyObject
* obj5
= 0 ;
14627 PyObject
* obj6
= 0 ;
14628 PyObject
* obj7
= 0 ;
14629 PyObject
* obj8
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail
;
14637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14638 if (SWIG_arg_fail(2)) SWIG_fail
;
14641 arg3
= (int)(SWIG_As_int(obj2
));
14642 if (SWIG_arg_fail(3)) SWIG_fail
;
14647 arg4
= wxString_in_helper(obj3
);
14648 if (arg4
== NULL
) SWIG_fail
;
14655 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14661 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14666 arg7
= (long)(SWIG_As_long(obj6
));
14667 if (SWIG_arg_fail(7)) SWIG_fail
;
14672 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14673 if (SWIG_arg_fail(8)) SWIG_fail
;
14674 if (arg8
== NULL
) {
14675 SWIG_null_ref("wxValidator");
14677 if (SWIG_arg_fail(8)) SWIG_fail
;
14682 arg9
= wxString_in_helper(obj8
);
14683 if (arg9
== NULL
) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14730 if (SWIG_arg_fail(1)) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (bool)(arg1
)->GetValue();
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14747 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self",(char *) "value", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14759 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 arg2
= (bool)(SWIG_As_bool(obj1
));
14762 if (SWIG_arg_fail(2)) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->SetValue(arg2
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 Py_INCREF(Py_None
); resultobj
= Py_None
;
14778 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14781 wxVisualAttributes result
;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "variant", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14790 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14791 if (SWIG_arg_fail(1)) SWIG_fail
;
14795 if (!wxPyCheckForApp()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 wxVisualAttributes
* resultptr
;
14804 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14813 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14816 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14818 return Py_BuildValue((char *)"");
14820 static int _wrap_SliderNameStr_set(PyObject
*) {
14821 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14826 static PyObject
*_wrap_SliderNameStr_get(void) {
14831 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14833 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14840 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxWindow
*arg1
= (wxWindow
*) 0 ;
14843 int arg2
= (int) -1 ;
14844 int arg3
= (int) 0 ;
14845 int arg4
= (int) 0 ;
14846 int arg5
= (int) 100 ;
14847 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14848 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14849 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14850 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14851 long arg8
= (long) wxSL_HORIZONTAL
;
14852 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14853 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14854 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14855 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14859 bool temp10
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 PyObject
* obj3
= 0 ;
14864 PyObject
* obj4
= 0 ;
14865 PyObject
* obj5
= 0 ;
14866 PyObject
* obj6
= 0 ;
14867 PyObject
* obj7
= 0 ;
14868 PyObject
* obj8
= 0 ;
14869 PyObject
* obj9
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14876 if (SWIG_arg_fail(1)) SWIG_fail
;
14879 arg2
= (int)(SWIG_As_int(obj1
));
14880 if (SWIG_arg_fail(2)) SWIG_fail
;
14885 arg3
= (int)(SWIG_As_int(obj2
));
14886 if (SWIG_arg_fail(3)) SWIG_fail
;
14891 arg4
= (int)(SWIG_As_int(obj3
));
14892 if (SWIG_arg_fail(4)) SWIG_fail
;
14897 arg5
= (int)(SWIG_As_int(obj4
));
14898 if (SWIG_arg_fail(5)) SWIG_fail
;
14904 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14910 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14915 arg8
= (long)(SWIG_As_long(obj7
));
14916 if (SWIG_arg_fail(8)) SWIG_fail
;
14921 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14922 if (SWIG_arg_fail(9)) SWIG_fail
;
14923 if (arg9
== NULL
) {
14924 SWIG_null_ref("wxValidator");
14926 if (SWIG_arg_fail(9)) SWIG_fail
;
14931 arg10
= wxString_in_helper(obj9
);
14932 if (arg10
== NULL
) SWIG_fail
;
14937 if (!wxPyCheckForApp()) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14959 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14962 char *kwnames
[] = {
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14968 if (!wxPyCheckForApp()) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxSlider
*)new wxSlider();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14982 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxSlider
*arg1
= (wxSlider
*) 0 ;
14985 wxWindow
*arg2
= (wxWindow
*) 0 ;
14986 int arg3
= (int) -1 ;
14987 int arg4
= (int) 0 ;
14988 int arg5
= (int) 0 ;
14989 int arg6
= (int) 100 ;
14990 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14991 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14992 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14993 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14994 long arg9
= (long) wxSL_HORIZONTAL
;
14995 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14996 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14997 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14998 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15002 bool temp11
= false ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 PyObject
* obj2
= 0 ;
15006 PyObject
* obj3
= 0 ;
15007 PyObject
* obj4
= 0 ;
15008 PyObject
* obj5
= 0 ;
15009 PyObject
* obj6
= 0 ;
15010 PyObject
* obj7
= 0 ;
15011 PyObject
* obj8
= 0 ;
15012 PyObject
* obj9
= 0 ;
15013 PyObject
* obj10
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
15019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15020 if (SWIG_arg_fail(1)) SWIG_fail
;
15021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15022 if (SWIG_arg_fail(2)) SWIG_fail
;
15025 arg3
= (int)(SWIG_As_int(obj2
));
15026 if (SWIG_arg_fail(3)) SWIG_fail
;
15031 arg4
= (int)(SWIG_As_int(obj3
));
15032 if (SWIG_arg_fail(4)) SWIG_fail
;
15037 arg5
= (int)(SWIG_As_int(obj4
));
15038 if (SWIG_arg_fail(5)) SWIG_fail
;
15043 arg6
= (int)(SWIG_As_int(obj5
));
15044 if (SWIG_arg_fail(6)) SWIG_fail
;
15050 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
15056 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
15061 arg9
= (long)(SWIG_As_long(obj8
));
15062 if (SWIG_arg_fail(9)) SWIG_fail
;
15067 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(10)) SWIG_fail
;
15069 if (arg10
== NULL
) {
15070 SWIG_null_ref("wxValidator");
15072 if (SWIG_arg_fail(10)) SWIG_fail
;
15077 arg11
= wxString_in_helper(obj10
);
15078 if (arg11
== NULL
) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15106 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxSlider
*arg1
= (wxSlider
*) 0 ;
15110 PyObject
* obj0
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15117 if (SWIG_arg_fail(1)) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= SWIG_From_int((int)(result
));
15134 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxSlider
*arg1
= (wxSlider
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "value", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15146 if (SWIG_arg_fail(1)) SWIG_fail
;
15148 arg2
= (int)(SWIG_As_int(obj1
));
15149 if (SWIG_arg_fail(2)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 (arg1
)->SetValue(arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 Py_INCREF(Py_None
); resultobj
= Py_None
;
15165 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxSlider
*arg1
= (wxSlider
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 PyObject
* obj2
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15179 if (SWIG_arg_fail(1)) SWIG_fail
;
15181 arg2
= (int)(SWIG_As_int(obj1
));
15182 if (SWIG_arg_fail(2)) SWIG_fail
;
15185 arg3
= (int)(SWIG_As_int(obj2
));
15186 if (SWIG_arg_fail(3)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetRange(arg2
,arg3
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxSlider
*arg1
= (wxSlider
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_From_int((int)(result
));
15230 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxSlider
*arg1
= (wxSlider
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= SWIG_From_int((int)(result
));
15258 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxSlider
*arg1
= (wxSlider
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "minValue", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 arg2
= (int)(SWIG_As_int(obj1
));
15273 if (SWIG_arg_fail(2)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->SetMin(arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxSlider
*arg1
= (wxSlider
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self",(char *) "maxValue", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 arg2
= (int)(SWIG_As_int(obj1
));
15304 if (SWIG_arg_fail(2)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 (arg1
)->SetMax(arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 Py_INCREF(Py_None
); resultobj
= Py_None
;
15320 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxSlider
*arg1
= (wxSlider
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 PyObject
* obj1
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self",(char *) "lineSize", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 arg2
= (int)(SWIG_As_int(obj1
));
15335 if (SWIG_arg_fail(2)) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 (arg1
)->SetLineSize(arg2
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 Py_INCREF(Py_None
); resultobj
= Py_None
;
15351 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxSlider
*arg1
= (wxSlider
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self",(char *) "pageSize", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(1)) SWIG_fail
;
15365 arg2
= (int)(SWIG_As_int(obj1
));
15366 if (SWIG_arg_fail(2)) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->SetPageSize(arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 Py_INCREF(Py_None
); resultobj
= Py_None
;
15382 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxSlider
*arg1
= (wxSlider
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15393 if (SWIG_arg_fail(1)) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_From_int((int)(result
));
15410 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxSlider
*arg1
= (wxSlider
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15421 if (SWIG_arg_fail(1)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_From_int((int)(result
));
15438 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxSlider
*arg1
= (wxSlider
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self",(char *) "lenPixels", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 arg2
= (int)(SWIG_As_int(obj1
));
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetThumbLength(arg2
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 Py_INCREF(Py_None
); resultobj
= Py_None
;
15469 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxSlider
*arg1
= (wxSlider
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_From_int((int)(result
));
15497 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxSlider
*arg1
= (wxSlider
*) 0 ;
15501 int arg3
= (int) 1 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self",(char *) "n",(char *) "pos", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 arg2
= (int)(SWIG_As_int(obj1
));
15514 if (SWIG_arg_fail(2)) SWIG_fail
;
15518 arg3
= (int)(SWIG_As_int(obj2
));
15519 if (SWIG_arg_fail(3)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetTickFreq(arg2
,arg3
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxSlider
*arg1
= (wxSlider
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_From_int((int)(result
));
15564 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxSlider
*arg1
= (wxSlider
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->ClearTicks();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxSlider
*arg1
= (wxSlider
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self",(char *) "tickPos", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 arg2
= (int)(SWIG_As_int(obj1
));
15604 if (SWIG_arg_fail(2)) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 (arg1
)->SetTick(arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 Py_INCREF(Py_None
); resultobj
= Py_None
;
15620 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxSlider
*arg1
= (wxSlider
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 (arg1
)->ClearSel();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 Py_INCREF(Py_None
); resultobj
= Py_None
;
15645 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxSlider
*arg1
= (wxSlider
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 resultobj
= SWIG_From_int((int)(result
));
15673 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxSlider
*arg1
= (wxSlider
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15684 if (SWIG_arg_fail(1)) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_From_int((int)(result
));
15701 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxSlider
*arg1
= (wxSlider
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "min",(char *) "max", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 arg2
= (int)(SWIG_As_int(obj1
));
15718 if (SWIG_arg_fail(2)) SWIG_fail
;
15721 arg3
= (int)(SWIG_As_int(obj2
));
15722 if (SWIG_arg_fail(3)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetSelection(arg2
,arg3
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 Py_INCREF(Py_None
); resultobj
= Py_None
;
15738 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15741 wxVisualAttributes result
;
15742 PyObject
* obj0
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "variant", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15750 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15751 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 if (!wxPyCheckForApp()) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 wxVisualAttributes
* resultptr
;
15764 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15773 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15776 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15778 return Py_BuildValue((char *)"");
15780 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15781 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15786 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15791 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15793 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15800 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxWindow
*arg1
= (wxWindow
*) 0 ;
15803 int arg2
= (int) -1 ;
15804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15810 long arg6
= (long) 0 ;
15811 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15812 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15813 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15814 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15815 wxToggleButton
*result
;
15816 bool temp3
= false ;
15819 bool temp8
= false ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 PyObject
* obj2
= 0 ;
15823 PyObject
* obj3
= 0 ;
15824 PyObject
* obj4
= 0 ;
15825 PyObject
* obj5
= 0 ;
15826 PyObject
* obj6
= 0 ;
15827 PyObject
* obj7
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15834 if (SWIG_arg_fail(1)) SWIG_fail
;
15837 arg2
= (int)(SWIG_As_int(obj1
));
15838 if (SWIG_arg_fail(2)) SWIG_fail
;
15843 arg3
= wxString_in_helper(obj2
);
15844 if (arg3
== NULL
) SWIG_fail
;
15851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15862 arg6
= (long)(SWIG_As_long(obj5
));
15863 if (SWIG_arg_fail(6)) SWIG_fail
;
15868 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15869 if (SWIG_arg_fail(7)) SWIG_fail
;
15870 if (arg7
== NULL
) {
15871 SWIG_null_ref("wxValidator");
15873 if (SWIG_arg_fail(7)) SWIG_fail
;
15878 arg8
= wxString_in_helper(obj7
);
15879 if (arg8
== NULL
) SWIG_fail
;
15884 if (!wxPyCheckForApp()) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15914 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxToggleButton
*result
;
15917 char *kwnames
[] = {
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15923 if (!wxPyCheckForApp()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxToggleButton
*)new wxToggleButton();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15937 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15940 wxWindow
*arg2
= (wxWindow
*) 0 ;
15941 int arg3
= (int) -1 ;
15942 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15943 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15944 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15945 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15946 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15947 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15948 long arg7
= (long) 0 ;
15949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15951 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15954 bool temp4
= false ;
15957 bool temp9
= false ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 PyObject
* obj2
= 0 ;
15961 PyObject
* obj3
= 0 ;
15962 PyObject
* obj4
= 0 ;
15963 PyObject
* obj5
= 0 ;
15964 PyObject
* obj6
= 0 ;
15965 PyObject
* obj7
= 0 ;
15966 PyObject
* obj8
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15973 if (SWIG_arg_fail(1)) SWIG_fail
;
15974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15975 if (SWIG_arg_fail(2)) SWIG_fail
;
15978 arg3
= (int)(SWIG_As_int(obj2
));
15979 if (SWIG_arg_fail(3)) SWIG_fail
;
15984 arg4
= wxString_in_helper(obj3
);
15985 if (arg4
== NULL
) SWIG_fail
;
15992 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15998 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16003 arg7
= (long)(SWIG_As_long(obj6
));
16004 if (SWIG_arg_fail(7)) SWIG_fail
;
16009 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(8)) SWIG_fail
;
16011 if (arg8
== NULL
) {
16012 SWIG_null_ref("wxValidator");
16014 if (SWIG_arg_fail(8)) SWIG_fail
;
16019 arg9
= wxString_in_helper(obj8
);
16020 if (arg9
== NULL
) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16056 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "value", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
16067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 arg2
= (bool)(SWIG_As_bool(obj1
));
16071 if (SWIG_arg_fail(2)) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 (arg1
)->SetValue(arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
16097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16118 wxString
*arg2
= 0 ;
16119 bool temp2
= false ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "label", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 arg2
= wxString_in_helper(obj1
);
16131 if (arg2
== NULL
) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 (arg1
)->SetLabel((wxString
const &)*arg2
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 Py_INCREF(Py_None
); resultobj
= Py_None
;
16156 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16159 wxVisualAttributes result
;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "variant", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16168 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16169 if (SWIG_arg_fail(1)) SWIG_fail
;
16173 if (!wxPyCheckForApp()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 wxVisualAttributes
* resultptr
;
16182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16191 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16194 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16196 return Py_BuildValue((char *)"");
16198 static int _wrap_NotebookNameStr_set(PyObject
*) {
16199 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16204 static PyObject
*_wrap_NotebookNameStr_get(void) {
16209 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16211 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16218 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16229 if (SWIG_arg_fail(1)) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16246 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 PyObject
* obj1
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "self",(char *) "n", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16259 if (SWIG_arg_fail(1)) SWIG_fail
;
16261 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16262 if (SWIG_arg_fail(2)) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= wxPyMake_wxObject(result
, 0);
16280 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= wxPyMake_wxObject(result
, 0);
16308 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(1)) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= SWIG_From_int((int)(result
));
16336 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16340 wxString
*arg3
= 0 ;
16342 bool temp3
= false ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 PyObject
* obj2
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "n",(char *) "strText", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail
;
16354 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16355 if (SWIG_arg_fail(2)) SWIG_fail
;
16358 arg3
= wxString_in_helper(obj2
);
16359 if (arg3
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "n", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail
;
16401 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16402 if (SWIG_arg_fail(2)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16424 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16427 wxImageList
*arg2
= (wxImageList
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 PyObject
* obj1
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "imageList", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail
;
16437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16438 if (SWIG_arg_fail(2)) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetImageList(arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16456 wxImageList
*arg2
= (wxImageList
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "imageList", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16465 if (SWIG_arg_fail(1)) SWIG_fail
;
16466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16467 if (SWIG_arg_fail(2)) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 (arg1
)->AssignImageList(arg2
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 Py_INCREF(Py_None
); resultobj
= Py_None
;
16482 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16485 wxImageList
*result
;
16486 PyObject
* obj0
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16493 if (SWIG_arg_fail(1)) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= wxPyMake_wxObject(result
, 0);
16510 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "n", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail
;
16525 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16526 if (SWIG_arg_fail(2)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_From_int((int)(result
));
16544 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "n",(char *) "imageId", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16559 if (SWIG_arg_fail(1)) SWIG_fail
;
16561 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16562 if (SWIG_arg_fail(2)) SWIG_fail
;
16565 arg3
= (int)(SWIG_As_int(obj2
));
16566 if (SWIG_arg_fail(3)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "size", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail
;
16600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "sizePage", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail
;
16633 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 wxSize
* resultptr
;
16644 resultptr
= new wxSize((wxSize
&)(result
));
16645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16653 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self",(char *) "n", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16666 if (SWIG_arg_fail(1)) SWIG_fail
;
16668 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16669 if (SWIG_arg_fail(2)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->DeletePage(arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "n", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16703 if (SWIG_arg_fail(2)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)(arg1
)->RemovePage(arg2
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16721 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (bool)(arg1
)->DeleteAllPages();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16749 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16752 wxWindow
*arg2
= (wxWindow
*) 0 ;
16753 wxString
*arg3
= 0 ;
16754 bool arg4
= (bool) false ;
16755 int arg5
= (int) -1 ;
16757 bool temp3
= false ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 PyObject
* obj2
= 0 ;
16761 PyObject
* obj3
= 0 ;
16762 PyObject
* obj4
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16769 if (SWIG_arg_fail(1)) SWIG_fail
;
16770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16771 if (SWIG_arg_fail(2)) SWIG_fail
;
16773 arg3
= wxString_in_helper(obj2
);
16774 if (arg3
== NULL
) SWIG_fail
;
16779 arg4
= (bool)(SWIG_As_bool(obj3
));
16780 if (SWIG_arg_fail(4)) SWIG_fail
;
16785 arg5
= (int)(SWIG_As_int(obj4
));
16786 if (SWIG_arg_fail(5)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16813 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16817 wxWindow
*arg3
= (wxWindow
*) 0 ;
16818 wxString
*arg4
= 0 ;
16819 bool arg5
= (bool) false ;
16820 int arg6
= (int) -1 ;
16822 bool temp4
= false ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 PyObject
* obj2
= 0 ;
16826 PyObject
* obj3
= 0 ;
16827 PyObject
* obj4
= 0 ;
16828 PyObject
* obj5
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16838 if (SWIG_arg_fail(2)) SWIG_fail
;
16840 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16841 if (SWIG_arg_fail(3)) SWIG_fail
;
16843 arg4
= wxString_in_helper(obj3
);
16844 if (arg4
== NULL
) SWIG_fail
;
16849 arg5
= (bool)(SWIG_As_bool(obj4
));
16850 if (SWIG_arg_fail(5)) SWIG_fail
;
16855 arg6
= (int)(SWIG_As_int(obj5
));
16856 if (SWIG_arg_fail(6)) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16883 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "n", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16896 if (SWIG_arg_fail(1)) SWIG_fail
;
16898 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16899 if (SWIG_arg_fail(2)) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (int)(arg1
)->SetSelection(arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_From_int((int)(result
));
16917 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16920 bool arg2
= (bool) true ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self",(char *) "forward", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16929 if (SWIG_arg_fail(1)) SWIG_fail
;
16932 arg2
= (bool)(SWIG_As_bool(obj1
));
16933 if (SWIG_arg_fail(2)) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->AdvanceSelection(arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16953 wxVisualAttributes result
;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "variant", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16962 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16963 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 if (!wxPyCheckForApp()) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 wxVisualAttributes
* resultptr
;
16976 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16985 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16988 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16990 return Py_BuildValue((char *)"");
16992 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16995 int arg2
= (int) 0 ;
16996 int arg3
= (int) -1 ;
16997 int arg4
= (int) -1 ;
16998 wxBookCtrlBaseEvent
*result
;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 PyObject
* obj3
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17010 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17011 if (SWIG_arg_fail(1)) SWIG_fail
;
17016 arg2
= (int)(SWIG_As_int(obj1
));
17017 if (SWIG_arg_fail(2)) SWIG_fail
;
17022 arg3
= (int)(SWIG_As_int(obj2
));
17023 if (SWIG_arg_fail(3)) SWIG_fail
;
17028 arg4
= (int)(SWIG_As_int(obj3
));
17029 if (SWIG_arg_fail(4)) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
17046 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_From_int((int)(result
));
17074 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "nSel", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17088 arg2
= (int)(SWIG_As_int(obj1
));
17089 if (SWIG_arg_fail(2)) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->SetSelection(arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_From_int((int)(result
));
17133 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "nOldSel", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 arg2
= (int)(SWIG_As_int(obj1
));
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 (arg1
)->SetOldSelection(arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 Py_INCREF(Py_None
); resultobj
= Py_None
;
17164 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17167 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17169 return Py_BuildValue((char *)"");
17171 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxWindow
*arg1
= (wxWindow
*) 0 ;
17174 int arg2
= (int) -1 ;
17175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17179 long arg5
= (long) 0 ;
17180 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17182 wxNotebook
*result
;
17185 bool temp6
= false ;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 PyObject
* obj3
= 0 ;
17190 PyObject
* obj4
= 0 ;
17191 PyObject
* obj5
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17198 if (SWIG_arg_fail(1)) SWIG_fail
;
17201 arg2
= (int)(SWIG_As_int(obj1
));
17202 if (SWIG_arg_fail(2)) SWIG_fail
;
17208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17219 arg5
= (long)(SWIG_As_long(obj4
));
17220 if (SWIG_arg_fail(5)) SWIG_fail
;
17225 arg6
= wxString_in_helper(obj5
);
17226 if (arg6
== NULL
) SWIG_fail
;
17231 if (!wxPyCheckForApp()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17253 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxNotebook
*result
;
17256 char *kwnames
[] = {
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17262 if (!wxPyCheckForApp()) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxNotebook
*)new wxNotebook();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17276 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17279 wxWindow
*arg2
= (wxWindow
*) 0 ;
17280 int arg3
= (int) -1 ;
17281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17285 long arg6
= (long) 0 ;
17286 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17291 bool temp7
= false ;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 PyObject
* obj2
= 0 ;
17295 PyObject
* obj3
= 0 ;
17296 PyObject
* obj4
= 0 ;
17297 PyObject
* obj5
= 0 ;
17298 PyObject
* obj6
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail
;
17306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17307 if (SWIG_arg_fail(2)) SWIG_fail
;
17310 arg3
= (int)(SWIG_As_int(obj2
));
17311 if (SWIG_arg_fail(3)) SWIG_fail
;
17317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17328 arg6
= (long)(SWIG_As_long(obj5
));
17329 if (SWIG_arg_fail(6)) SWIG_fail
;
17334 arg7
= wxString_in_helper(obj6
);
17335 if (arg7
== NULL
) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17363 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17374 if (SWIG_arg_fail(1)) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_From_int((int)(result
));
17391 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "padding", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17404 if (SWIG_arg_fail(1)) SWIG_fail
;
17407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 Py_INCREF(Py_None
); resultobj
= Py_None
;
17423 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "sz", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail
;
17439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17458 wxPoint
*arg2
= 0 ;
17459 long *arg3
= (long *) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self",(char *) "pt", NULL
17470 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail
;
17476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_From_int((int)(result
));
17488 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17489 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17496 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "sizePage", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 wxSize
* resultptr
;
17524 resultptr
= new wxSize((wxSize
&)(result
));
17525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17533 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17544 if (SWIG_arg_fail(1)) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17553 wxColour
* resultptr
;
17554 resultptr
= new wxColour((wxColour
&)(result
));
17555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17563 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17566 wxVisualAttributes result
;
17567 PyObject
* obj0
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "variant", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17575 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 if (!wxPyCheckForApp()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17588 wxVisualAttributes
* resultptr
;
17589 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17598 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17601 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17603 return Py_BuildValue((char *)"");
17605 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17608 int arg2
= (int) 0 ;
17609 int arg3
= (int) -1 ;
17610 int arg4
= (int) -1 ;
17611 wxNotebookEvent
*result
;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 PyObject
* obj2
= 0 ;
17615 PyObject
* obj3
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17623 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17624 if (SWIG_arg_fail(1)) SWIG_fail
;
17629 arg2
= (int)(SWIG_As_int(obj1
));
17630 if (SWIG_arg_fail(2)) SWIG_fail
;
17635 arg3
= (int)(SWIG_As_int(obj2
));
17636 if (SWIG_arg_fail(3)) SWIG_fail
;
17641 arg4
= (int)(SWIG_As_int(obj3
));
17642 if (SWIG_arg_fail(4)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17659 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17664 return Py_BuildValue((char *)"");
17666 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxWindow
*arg1
= (wxWindow
*) 0 ;
17669 int arg2
= (int) -1 ;
17670 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17671 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17672 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17673 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17674 long arg5
= (long) 0 ;
17675 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17676 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17677 wxListbook
*result
;
17680 bool temp6
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 PyObject
* obj2
= 0 ;
17684 PyObject
* obj3
= 0 ;
17685 PyObject
* obj4
= 0 ;
17686 PyObject
* obj5
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17693 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 arg2
= (int)(SWIG_As_int(obj1
));
17697 if (SWIG_arg_fail(2)) SWIG_fail
;
17703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17714 arg5
= (long)(SWIG_As_long(obj4
));
17715 if (SWIG_arg_fail(5)) SWIG_fail
;
17720 arg6
= wxString_in_helper(obj5
);
17721 if (arg6
== NULL
) SWIG_fail
;
17726 if (!wxPyCheckForApp()) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17748 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxListbook
*result
;
17751 char *kwnames
[] = {
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17757 if (!wxPyCheckForApp()) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 result
= (wxListbook
*)new wxListbook();
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17771 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxListbook
*arg1
= (wxListbook
*) 0 ;
17774 wxWindow
*arg2
= (wxWindow
*) 0 ;
17775 int arg3
= (int) -1 ;
17776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17780 long arg6
= (long) 0 ;
17781 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17786 bool temp7
= false ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 PyObject
* obj4
= 0 ;
17792 PyObject
* obj5
= 0 ;
17793 PyObject
* obj6
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17802 if (SWIG_arg_fail(2)) SWIG_fail
;
17805 arg3
= (int)(SWIG_As_int(obj2
));
17806 if (SWIG_arg_fail(3)) SWIG_fail
;
17812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17823 arg6
= (long)(SWIG_As_long(obj5
));
17824 if (SWIG_arg_fail(6)) SWIG_fail
;
17829 arg7
= wxString_in_helper(obj6
);
17830 if (arg7
== NULL
) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxListbook
*arg1
= (wxListbook
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17869 if (SWIG_arg_fail(1)) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxListbook
*arg1
= (wxListbook
*) 0 ;
17889 wxListView
*result
;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (wxListView
*)(arg1
)->GetListView();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17912 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17917 return Py_BuildValue((char *)"");
17919 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17922 int arg2
= (int) 0 ;
17923 int arg3
= (int) -1 ;
17924 int arg4
= (int) -1 ;
17925 wxListbookEvent
*result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 PyObject
* obj3
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17937 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17938 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 arg2
= (int)(SWIG_As_int(obj1
));
17944 if (SWIG_arg_fail(2)) SWIG_fail
;
17949 arg3
= (int)(SWIG_As_int(obj2
));
17950 if (SWIG_arg_fail(3)) SWIG_fail
;
17955 arg4
= (int)(SWIG_As_int(obj3
));
17956 if (SWIG_arg_fail(4)) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17973 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17976 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17978 return Py_BuildValue((char *)"");
17980 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxWindow
*arg1
= (wxWindow
*) 0 ;
17984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17988 long arg5
= (long) 0 ;
17989 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17990 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17991 wxChoicebook
*result
;
17994 bool temp6
= false ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 PyObject
* obj3
= 0 ;
17999 PyObject
* obj4
= 0 ;
18000 PyObject
* obj5
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18009 arg2
= (int)(SWIG_As_int(obj1
));
18010 if (SWIG_arg_fail(2)) SWIG_fail
;
18015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18026 arg5
= (long)(SWIG_As_long(obj4
));
18027 if (SWIG_arg_fail(5)) SWIG_fail
;
18032 arg6
= wxString_in_helper(obj5
);
18033 if (arg6
== NULL
) SWIG_fail
;
18038 if (!wxPyCheckForApp()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18060 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxChoicebook
*result
;
18063 char *kwnames
[] = {
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
18069 if (!wxPyCheckForApp()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (wxChoicebook
*)new wxChoicebook();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
18083 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18086 wxWindow
*arg2
= (wxWindow
*) 0 ;
18088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18092 long arg6
= (long) 0 ;
18093 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18098 bool temp7
= false ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 PyObject
* obj2
= 0 ;
18102 PyObject
* obj3
= 0 ;
18103 PyObject
* obj4
= 0 ;
18104 PyObject
* obj5
= 0 ;
18105 PyObject
* obj6
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18112 if (SWIG_arg_fail(1)) SWIG_fail
;
18113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18114 if (SWIG_arg_fail(2)) SWIG_fail
;
18116 arg3
= (int)(SWIG_As_int(obj2
));
18117 if (SWIG_arg_fail(3)) SWIG_fail
;
18122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18133 arg6
= (long)(SWIG_As_long(obj5
));
18134 if (SWIG_arg_fail(6)) SWIG_fail
;
18139 arg7
= wxString_in_helper(obj6
);
18140 if (arg7
== NULL
) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18168 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18179 if (SWIG_arg_fail(1)) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18196 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18207 if (SWIG_arg_fail(1)) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18222 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(1)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (bool)(arg1
)->DeleteAllPages();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18250 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18253 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18255 return Py_BuildValue((char *)"");
18257 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18260 int arg2
= (int) 0 ;
18261 int arg3
= (int) -1 ;
18262 int arg4
= (int) -1 ;
18263 wxChoicebookEvent
*result
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18275 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18276 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 arg2
= (int)(SWIG_As_int(obj1
));
18282 if (SWIG_arg_fail(2)) SWIG_fail
;
18287 arg3
= (int)(SWIG_As_int(obj2
));
18288 if (SWIG_arg_fail(3)) SWIG_fail
;
18293 arg4
= (int)(SWIG_As_int(obj3
));
18294 if (SWIG_arg_fail(4)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18311 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18314 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18316 return Py_BuildValue((char *)"");
18318 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 char *kwnames
[] = {
18324 (char *) "self", NULL
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (int)(arg1
)->GetId();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_From_int((int)(result
));
18346 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18357 if (SWIG_arg_fail(1)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (wxControl
*)(arg1
)->GetControl();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= wxPyMake_wxObject(result
, 0);
18374 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18377 wxToolBarBase
*result
;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18385 if (SWIG_arg_fail(1)) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= wxPyMake_wxObject(result
, 0);
18402 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (int)(arg1
)->IsButton();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_From_int((int)(result
));
18430 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (int)(arg1
)->IsControl();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= SWIG_From_int((int)(result
));
18458 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18469 if (SWIG_arg_fail(1)) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (int)(arg1
)->IsSeparator();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_From_int((int)(result
));
18486 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18490 PyObject
* obj0
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail
;
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (int)(arg1
)->GetStyle();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_From_int((int)(result
));
18514 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18518 PyObject
* obj0
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18525 if (SWIG_arg_fail(1)) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (wxItemKind
)(arg1
)->GetKind();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int((result
));
18540 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (bool)(arg1
)->IsEnabled();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18568 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (bool)(arg1
)->IsToggled();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18596 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (bool)(arg1
)->CanBeToggled();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18624 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18640 result
= (wxBitmap
*) &_result_ref
;
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 wxBitmap
* resultptr
= new wxBitmap(*result
);
18648 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18656 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18672 result
= (wxBitmap
*) &_result_ref
;
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18679 wxBitmap
* resultptr
= new wxBitmap(*result
);
18680 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18688 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "self", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (arg1
)->GetBitmap();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 wxBitmap
* resultptr
;
18709 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18718 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= (arg1
)->GetLabel();
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18750 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (arg1
)->GetShortHelp();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18782 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (arg1
)->GetLongHelp();
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18814 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "enable", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18827 if (SWIG_arg_fail(1)) SWIG_fail
;
18829 arg2
= (bool)(SWIG_As_bool(obj1
));
18830 if (SWIG_arg_fail(2)) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (bool)(arg1
)->Enable(arg2
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18848 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
;
18850 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "toggle", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18886 if (SWIG_arg_fail(1)) SWIG_fail
;
18888 arg2
= (bool)(SWIG_As_bool(obj1
));
18889 if (SWIG_arg_fail(2)) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (bool)(arg1
)->SetToggle(arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18907 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18910 wxString
*arg2
= 0 ;
18912 bool temp2
= false ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self",(char *) "help", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail
;
18923 arg2
= wxString_in_helper(obj1
);
18924 if (arg2
== NULL
) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18951 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18954 wxString
*arg2
= 0 ;
18956 bool temp2
= false ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "help", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18965 if (SWIG_arg_fail(1)) SWIG_fail
;
18967 arg2
= wxString_in_helper(obj1
);
18968 if (arg2
== NULL
) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18995 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18998 wxBitmap
*arg2
= 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "bmp", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19010 if (SWIG_arg_fail(2)) SWIG_fail
;
19011 if (arg2
== NULL
) {
19012 SWIG_null_ref("wxBitmap");
19014 if (SWIG_arg_fail(2)) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 Py_INCREF(Py_None
); resultobj
= Py_None
;
19030 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19033 wxBitmap
*arg2
= 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "bmp", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19045 if (SWIG_arg_fail(2)) SWIG_fail
;
19046 if (arg2
== NULL
) {
19047 SWIG_null_ref("wxBitmap");
19049 if (SWIG_arg_fail(2)) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19068 wxString
*arg2
= 0 ;
19069 bool temp2
= false ;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "label", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19078 if (SWIG_arg_fail(1)) SWIG_fail
;
19080 arg2
= wxString_in_helper(obj1
);
19081 if (arg2
== NULL
) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->SetLabel((wxString
const &)*arg2
);
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19134 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "tbar", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",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
;
19144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19145 if (SWIG_arg_fail(2)) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->Attach(arg2
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 Py_INCREF(Py_None
); resultobj
= Py_None
;
19160 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(1)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= result
;
19186 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19189 PyObject
*arg2
= (PyObject
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "clientData", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19198 if (SWIG_arg_fail(1)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19217 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19219 return Py_BuildValue((char *)"");
19221 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19225 wxString
*arg3
= 0 ;
19226 wxBitmap
*arg4
= 0 ;
19227 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19228 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19229 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19230 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19232 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19233 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19234 PyObject
*arg9
= (PyObject
*) NULL
;
19235 wxToolBarToolBase
*result
;
19236 bool temp3
= false ;
19237 bool temp7
= false ;
19238 bool temp8
= false ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 PyObject
* obj2
= 0 ;
19242 PyObject
* obj3
= 0 ;
19243 PyObject
* obj4
= 0 ;
19244 PyObject
* obj5
= 0 ;
19245 PyObject
* obj6
= 0 ;
19246 PyObject
* obj7
= 0 ;
19247 PyObject
* obj8
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19254 if (SWIG_arg_fail(1)) SWIG_fail
;
19256 arg2
= (int)(SWIG_As_int(obj1
));
19257 if (SWIG_arg_fail(2)) SWIG_fail
;
19260 arg3
= wxString_in_helper(obj2
);
19261 if (arg3
== NULL
) SWIG_fail
;
19265 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19266 if (SWIG_arg_fail(4)) SWIG_fail
;
19267 if (arg4
== NULL
) {
19268 SWIG_null_ref("wxBitmap");
19270 if (SWIG_arg_fail(4)) SWIG_fail
;
19274 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19275 if (SWIG_arg_fail(5)) SWIG_fail
;
19276 if (arg5
== NULL
) {
19277 SWIG_null_ref("wxBitmap");
19279 if (SWIG_arg_fail(5)) SWIG_fail
;
19284 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19285 if (SWIG_arg_fail(6)) SWIG_fail
;
19290 arg7
= wxString_in_helper(obj6
);
19291 if (arg7
== NULL
) SWIG_fail
;
19297 arg8
= wxString_in_helper(obj7
);
19298 if (arg8
== NULL
) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= wxPyMake_wxObject(result
, 0);
19345 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19350 wxString
*arg4
= 0 ;
19351 wxBitmap
*arg5
= 0 ;
19352 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19353 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19354 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19355 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19356 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19357 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19358 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19359 PyObject
*arg10
= (PyObject
*) NULL
;
19360 wxToolBarToolBase
*result
;
19361 bool temp4
= false ;
19362 bool temp8
= false ;
19363 bool temp9
= false ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 PyObject
* obj3
= 0 ;
19368 PyObject
* obj4
= 0 ;
19369 PyObject
* obj5
= 0 ;
19370 PyObject
* obj6
= 0 ;
19371 PyObject
* obj7
= 0 ;
19372 PyObject
* obj8
= 0 ;
19373 PyObject
* obj9
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19380 if (SWIG_arg_fail(1)) SWIG_fail
;
19382 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19383 if (SWIG_arg_fail(2)) SWIG_fail
;
19386 arg3
= (int)(SWIG_As_int(obj2
));
19387 if (SWIG_arg_fail(3)) SWIG_fail
;
19390 arg4
= wxString_in_helper(obj3
);
19391 if (arg4
== NULL
) SWIG_fail
;
19395 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19396 if (SWIG_arg_fail(5)) SWIG_fail
;
19397 if (arg5
== NULL
) {
19398 SWIG_null_ref("wxBitmap");
19400 if (SWIG_arg_fail(5)) SWIG_fail
;
19404 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19405 if (SWIG_arg_fail(6)) SWIG_fail
;
19406 if (arg6
== NULL
) {
19407 SWIG_null_ref("wxBitmap");
19409 if (SWIG_arg_fail(6)) SWIG_fail
;
19414 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19415 if (SWIG_arg_fail(7)) SWIG_fail
;
19420 arg8
= wxString_in_helper(obj7
);
19421 if (arg8
== NULL
) SWIG_fail
;
19427 arg9
= wxString_in_helper(obj8
);
19428 if (arg9
== NULL
) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 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
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= wxPyMake_wxObject(result
, 0);
19475 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19478 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19479 wxToolBarToolBase
*result
;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "tool", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail
;
19489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19490 if (SWIG_arg_fail(2)) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= wxPyMake_wxObject(result
, 0);
19507 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19511 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19512 wxToolBarToolBase
*result
;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "pos",(char *) "tool", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail
;
19524 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19525 if (SWIG_arg_fail(2)) SWIG_fail
;
19527 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19528 if (SWIG_arg_fail(3)) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= wxPyMake_wxObject(result
, 0);
19545 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19548 wxControl
*arg2
= (wxControl
*) 0 ;
19549 wxToolBarToolBase
*result
;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self",(char *) "control", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19558 if (SWIG_arg_fail(1)) SWIG_fail
;
19559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19560 if (SWIG_arg_fail(2)) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= wxPyMake_wxObject(result
, 0);
19577 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19581 wxControl
*arg3
= (wxControl
*) 0 ;
19582 wxToolBarToolBase
*result
;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 PyObject
* obj2
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self",(char *) "pos",(char *) "control", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19592 if (SWIG_arg_fail(1)) SWIG_fail
;
19594 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19595 if (SWIG_arg_fail(2)) SWIG_fail
;
19597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19598 if (SWIG_arg_fail(3)) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= wxPyMake_wxObject(result
, 0);
19615 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 PyObject
* obj1
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self",(char *) "id", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19628 if (SWIG_arg_fail(1)) SWIG_fail
;
19630 arg2
= (int)(SWIG_As_int(obj1
));
19631 if (SWIG_arg_fail(2)) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= wxPyMake_wxObject(result
, 0);
19649 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19652 wxToolBarToolBase
*result
;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= wxPyMake_wxObject(result
, 0);
19677 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19681 wxToolBarToolBase
*result
;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "pos", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19690 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19693 if (SWIG_arg_fail(2)) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= wxPyMake_wxObject(result
, 0);
19711 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19715 wxToolBarToolBase
*result
;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "id", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail
;
19726 arg2
= (int)(SWIG_As_int(obj1
));
19727 if (SWIG_arg_fail(2)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= wxPyMake_wxObject(result
, 0);
19745 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "pos", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail
;
19760 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19761 if (SWIG_arg_fail(2)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19779 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "id", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail
;
19794 arg2
= (int)(SWIG_As_int(obj1
));
19795 if (SWIG_arg_fail(2)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->DeleteTool(arg2
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19823 if (SWIG_arg_fail(1)) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 (arg1
)->ClearTools();
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 Py_INCREF(Py_None
); resultobj
= Py_None
;
19838 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->Realize();
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19866 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 PyObject
* obj2
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self",(char *) "id",(char *) "enable", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 arg2
= (int)(SWIG_As_int(obj1
));
19883 if (SWIG_arg_fail(2)) SWIG_fail
;
19886 arg3
= (bool)(SWIG_As_bool(obj2
));
19887 if (SWIG_arg_fail(3)) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->EnableTool(arg2
,arg3
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19903 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 PyObject
* obj2
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "id",(char *) "toggle", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail
;
19919 arg2
= (int)(SWIG_As_int(obj1
));
19920 if (SWIG_arg_fail(2)) SWIG_fail
;
19923 arg3
= (bool)(SWIG_As_bool(obj2
));
19924 if (SWIG_arg_fail(3)) SWIG_fail
;
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 (arg1
)->ToggleTool(arg2
,arg3
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 Py_INCREF(Py_None
); resultobj
= Py_None
;
19940 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "id",(char *) "toggle", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail
;
19956 arg2
= (int)(SWIG_As_int(obj1
));
19957 if (SWIG_arg_fail(2)) SWIG_fail
;
19960 arg3
= (bool)(SWIG_As_bool(obj2
));
19961 if (SWIG_arg_fail(3)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->SetToggle(arg2
,arg3
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 Py_INCREF(Py_None
); resultobj
= Py_None
;
19977 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self",(char *) "id", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19990 if (SWIG_arg_fail(1)) SWIG_fail
;
19992 arg2
= (int)(SWIG_As_int(obj1
));
19993 if (SWIG_arg_fail(2)) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= result
;
20009 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20013 PyObject
*arg3
= (PyObject
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 PyObject
* obj2
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self",(char *) "id",(char *) "clientData", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20023 if (SWIG_arg_fail(1)) SWIG_fail
;
20025 arg2
= (int)(SWIG_As_int(obj1
));
20026 if (SWIG_arg_fail(2)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 Py_INCREF(Py_None
); resultobj
= Py_None
;
20043 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "id", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail
;
20058 arg2
= (int)(SWIG_As_int(obj1
));
20059 if (SWIG_arg_fail(2)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_From_int((int)(result
));
20077 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "id", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 arg2
= (int)(SWIG_As_int(obj1
));
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)(arg1
)->GetToolState(arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "id", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) 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
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20145 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20149 wxString
*arg3
= 0 ;
20150 bool temp3
= false ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 PyObject
* obj2
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self",(char *) "id",(char *) "helpString", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 arg2
= (int)(SWIG_As_int(obj1
));
20163 if (SWIG_arg_fail(2)) SWIG_fail
;
20166 arg3
= wxString_in_helper(obj2
);
20167 if (arg3
== NULL
) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 Py_INCREF(Py_None
); resultobj
= Py_None
;
20192 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "id", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20205 if (SWIG_arg_fail(1)) SWIG_fail
;
20207 arg2
= (int)(SWIG_As_int(obj1
));
20208 if (SWIG_arg_fail(2)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (arg1
)->GetToolShortHelp(arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20230 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20234 wxString
*arg3
= 0 ;
20235 bool temp3
= false ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 PyObject
* obj2
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "id",(char *) "helpString", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 arg2
= (int)(SWIG_As_int(obj1
));
20248 if (SWIG_arg_fail(2)) SWIG_fail
;
20251 arg3
= wxString_in_helper(obj2
);
20252 if (arg3
== NULL
) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "id", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 arg2
= (int)(SWIG_As_int(obj1
));
20293 if (SWIG_arg_fail(2)) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (arg1
)->GetToolLongHelp(arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20315 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 PyObject
* obj2
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "x",(char *) "y", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail
;
20331 arg2
= (int)(SWIG_As_int(obj1
));
20332 if (SWIG_arg_fail(2)) SWIG_fail
;
20335 arg3
= (int)(SWIG_As_int(obj2
));
20336 if (SWIG_arg_fail(3)) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 (arg1
)->SetMargins(arg2
,arg3
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 Py_INCREF(Py_None
); resultobj
= Py_None
;
20352 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "size", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail
;
20368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "packing", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= (int)(SWIG_As_int(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->SetToolPacking(arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 Py_INCREF(Py_None
); resultobj
= Py_None
;
20415 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self",(char *) "separation", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail
;
20429 arg2
= (int)(SWIG_As_int(obj1
));
20430 if (SWIG_arg_fail(2)) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 (arg1
)->SetToolSeparation(arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20450 PyObject
* obj0
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20457 if (SWIG_arg_fail(1)) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (arg1
)->GetToolMargins();
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20466 wxSize
* resultptr
;
20467 resultptr
= new wxSize((wxSize
&)(result
));
20468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20476 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20487 if (SWIG_arg_fail(1)) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (arg1
)->GetMargins();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 wxSize
* resultptr
;
20497 resultptr
= new wxSize((wxSize
&)(result
));
20498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20506 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
;
20508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20510 PyObject
* obj0
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20517 if (SWIG_arg_fail(1)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (int)(arg1
)->GetToolPacking();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_From_int((int)(result
));
20534 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (int)(arg1
)->GetToolSeparation();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_From_int((int)(result
));
20562 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self",(char *) "nRows", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail
;
20576 arg2
= (int)(SWIG_As_int(obj1
));
20577 if (SWIG_arg_fail(2)) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 (arg1
)->SetRows(arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 PyObject
* obj2
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "rows",(char *) "cols", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20607 if (SWIG_arg_fail(1)) SWIG_fail
;
20609 arg2
= (int)(SWIG_As_int(obj1
));
20610 if (SWIG_arg_fail(2)) SWIG_fail
;
20613 arg3
= (int)(SWIG_As_int(obj2
));
20614 if (SWIG_arg_fail(3)) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 Py_INCREF(Py_None
); resultobj
= Py_None
;
20630 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20641 if (SWIG_arg_fail(1)) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (int)(arg1
)->GetMaxRows();
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_From_int((int)(result
));
20658 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
;
20660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "self", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20669 if (SWIG_arg_fail(1)) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (int)(arg1
)->GetMaxCols();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_From_int((int)(result
));
20686 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self",(char *) "size", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(1)) SWIG_fail
;
20702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (arg1
)->GetToolBitmapSize();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 wxSize
* resultptr
;
20739 resultptr
= new wxSize((wxSize
&)(result
));
20740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20748 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20759 if (SWIG_arg_fail(1)) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (arg1
)->GetToolSize();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 wxSize
* resultptr
;
20769 resultptr
= new wxSize((wxSize
&)(result
));
20770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20778 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20783 wxToolBarToolBase
*result
;
20784 PyObject
* obj0
= 0 ;
20785 PyObject
* obj1
= 0 ;
20786 PyObject
* obj2
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "x",(char *) "y", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 arg2
= (int)(SWIG_As_int(obj1
));
20796 if (SWIG_arg_fail(2)) SWIG_fail
;
20799 arg3
= (int)(SWIG_As_int(obj2
));
20800 if (SWIG_arg_fail(3)) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= wxPyMake_wxObject(result
, 0);
20818 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20822 wxToolBarToolBase
*result
;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self",(char *) "toolid", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20831 if (SWIG_arg_fail(1)) SWIG_fail
;
20833 arg2
= (int)(SWIG_As_int(obj1
));
20834 if (SWIG_arg_fail(2)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= wxPyMake_wxObject(result
, 0);
20852 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 result
= (bool)(arg1
)->IsVertical();
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20880 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20883 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20885 return Py_BuildValue((char *)"");
20887 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxWindow
*arg1
= (wxWindow
*) 0 ;
20890 int arg2
= (int) -1 ;
20891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20895 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20896 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20897 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20901 bool temp6
= false ;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 PyObject
* obj2
= 0 ;
20905 PyObject
* obj3
= 0 ;
20906 PyObject
* obj4
= 0 ;
20907 PyObject
* obj5
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail
;
20917 arg2
= (int)(SWIG_As_int(obj1
));
20918 if (SWIG_arg_fail(2)) SWIG_fail
;
20924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20935 arg5
= (long)(SWIG_As_long(obj4
));
20936 if (SWIG_arg_fail(5)) SWIG_fail
;
20941 arg6
= wxString_in_helper(obj5
);
20942 if (arg6
== NULL
) SWIG_fail
;
20947 if (!wxPyCheckForApp()) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20969 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20972 char *kwnames
[] = {
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20978 if (!wxPyCheckForApp()) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (wxToolBar
*)new wxToolBar();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20992 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
20995 wxWindow
*arg2
= (wxWindow
*) 0 ;
20996 int arg3
= (int) -1 ;
20997 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20998 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20999 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21000 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21001 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21002 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21007 bool temp7
= false ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 PyObject
* obj2
= 0 ;
21011 PyObject
* obj3
= 0 ;
21012 PyObject
* obj4
= 0 ;
21013 PyObject
* obj5
= 0 ;
21014 PyObject
* obj6
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21021 if (SWIG_arg_fail(1)) SWIG_fail
;
21022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(2)) SWIG_fail
;
21026 arg3
= (int)(SWIG_As_int(obj2
));
21027 if (SWIG_arg_fail(3)) SWIG_fail
;
21033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21044 arg6
= (long)(SWIG_As_long(obj5
));
21045 if (SWIG_arg_fail(6)) SWIG_fail
;
21050 arg7
= wxString_in_helper(obj6
);
21051 if (arg7
== NULL
) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21079 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21084 wxToolBarToolBase
*result
;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 PyObject
* obj2
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "x",(char *) "y", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail
;
21096 arg2
= (int)(SWIG_As_int(obj1
));
21097 if (SWIG_arg_fail(2)) SWIG_fail
;
21100 arg3
= (int)(SWIG_As_int(obj2
));
21101 if (SWIG_arg_fail(3)) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= wxPyMake_wxObject(result
, 0);
21119 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21122 wxVisualAttributes result
;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "variant", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21131 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 if (!wxPyCheckForApp()) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 wxVisualAttributes
* resultptr
;
21145 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21154 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21157 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21159 return Py_BuildValue((char *)"");
21161 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21162 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21167 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21172 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21174 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21181 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxColour
const &arg1_defvalue
= wxNullColour
;
21184 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21185 wxColour
const &arg2_defvalue
= wxNullColour
;
21186 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21187 wxFont
const &arg3_defvalue
= wxNullFont
;
21188 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21189 wxListItemAttr
*result
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 PyObject
* obj2
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21203 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21209 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21214 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21215 if (SWIG_arg_fail(3)) SWIG_fail
;
21216 if (arg3
== NULL
) {
21217 SWIG_null_ref("wxFont");
21219 if (SWIG_arg_fail(3)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21236 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21239 wxColour
*arg2
= 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "colText", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21252 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 Py_INCREF(Py_None
); resultobj
= Py_None
;
21268 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21271 wxColour
*arg2
= 0 ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self",(char *) "colBack", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail
;
21284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 Py_INCREF(Py_None
); resultobj
= Py_None
;
21300 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self",(char *) "font", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail
;
21314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(2)) SWIG_fail
;
21316 if (arg2
== NULL
) {
21317 SWIG_null_ref("wxFont");
21319 if (SWIG_arg_fail(2)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 (arg1
)->SetFont((wxFont
const &)*arg2
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 Py_INCREF(Py_None
); resultobj
= Py_None
;
21335 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21346 if (SWIG_arg_fail(1)) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (bool)(arg1
)->HasTextColour();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21363 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (bool)(arg1
)->HasBackgroundColour();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21391 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21402 if (SWIG_arg_fail(1)) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (bool)(arg1
)->HasFont();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21419 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(1)) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (arg1
)->GetTextColour();
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 wxColour
* resultptr
;
21440 resultptr
= new wxColour((wxColour
&)(result
));
21441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21449 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21453 PyObject
* obj0
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (arg1
)->GetBackgroundColour();
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 wxColour
* resultptr
;
21470 resultptr
= new wxColour((wxColour
&)(result
));
21471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21479 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21490 if (SWIG_arg_fail(1)) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (arg1
)->GetFont();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21499 wxFont
* resultptr
;
21500 resultptr
= new wxFont((wxFont
&)(result
));
21501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21509 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21519 if (SWIG_arg_fail(1)) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 wxListItemAttr_Destroy(arg1
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 Py_INCREF(Py_None
); resultobj
= Py_None
;
21534 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21537 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21539 return Py_BuildValue((char *)"");
21541 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxListItem
*result
;
21544 char *kwnames
[] = {
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (wxListItem
*)new wxListItem();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= wxPyMake_wxObject(result
, 1);
21565 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxListItem
*arg1
= (wxListItem
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21575 if (SWIG_arg_fail(1)) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 Py_INCREF(Py_None
); resultobj
= Py_None
;
21590 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxListItem
*arg1
= (wxListItem
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21600 if (SWIG_arg_fail(1)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxListItem
*arg1
= (wxListItem
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->ClearAttributes();
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxListItem
*arg1
= (wxListItem
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "mask", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21652 if (SWIG_arg_fail(1)) SWIG_fail
;
21654 arg2
= (long)(SWIG_As_long(obj1
));
21655 if (SWIG_arg_fail(2)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->SetMask(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxListItem
*arg1
= (wxListItem
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "id", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21683 if (SWIG_arg_fail(1)) SWIG_fail
;
21685 arg2
= (long)(SWIG_As_long(obj1
));
21686 if (SWIG_arg_fail(2)) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->SetId(arg2
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxListItem
*arg1
= (wxListItem
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "col", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21714 if (SWIG_arg_fail(1)) SWIG_fail
;
21716 arg2
= (int)(SWIG_As_int(obj1
));
21717 if (SWIG_arg_fail(2)) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetColumn(arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21733 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxListItem
*arg1
= (wxListItem
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "state", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 arg2
= (long)(SWIG_As_long(obj1
));
21748 if (SWIG_arg_fail(2)) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 (arg1
)->SetState(arg2
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 Py_INCREF(Py_None
); resultobj
= Py_None
;
21764 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxListItem
*arg1
= (wxListItem
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "stateMask", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21776 if (SWIG_arg_fail(1)) SWIG_fail
;
21778 arg2
= (long)(SWIG_As_long(obj1
));
21779 if (SWIG_arg_fail(2)) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 (arg1
)->SetStateMask(arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21795 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxListItem
*arg1
= (wxListItem
*) 0 ;
21798 wxString
*arg2
= 0 ;
21799 bool temp2
= false ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "text", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= wxString_in_helper(obj1
);
21811 if (arg2
== NULL
) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->SetText((wxString
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxListItem
*arg1
= (wxListItem
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "image", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21850 arg2
= (int)(SWIG_As_int(obj1
));
21851 if (SWIG_arg_fail(2)) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 (arg1
)->SetImage(arg2
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxListItem
*arg1
= (wxListItem
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "data", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21881 arg2
= (long)(SWIG_As_long(obj1
));
21882 if (SWIG_arg_fail(2)) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->SetData(arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxListItem
*arg1
= (wxListItem
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self",(char *) "width", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 arg2
= (int)(SWIG_As_int(obj1
));
21913 if (SWIG_arg_fail(2)) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 (arg1
)->SetWidth(arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 Py_INCREF(Py_None
); resultobj
= Py_None
;
21929 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxListItem
*arg1
= (wxListItem
*) 0 ;
21932 wxListColumnFormat arg2
;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "align", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21941 if (SWIG_arg_fail(1)) SWIG_fail
;
21943 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21944 if (SWIG_arg_fail(2)) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxListItem
*arg1
= (wxListItem
*) 0 ;
21963 wxColour
*arg2
= 0 ;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "colText", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail
;
21976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxListItem
*arg1
= (wxListItem
*) 0 ;
21995 wxColour
*arg2
= 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "colBack", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxListItem
*arg1
= (wxListItem
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "font", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22039 if (SWIG_arg_fail(2)) SWIG_fail
;
22040 if (arg2
== NULL
) {
22041 SWIG_null_ref("wxFont");
22043 if (SWIG_arg_fail(2)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->SetFont((wxFont
const &)*arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22059 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxListItem
*arg1
= (wxListItem
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (long)(arg1
)->GetMask();
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_From_long((long)(result
));
22087 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxListItem
*arg1
= (wxListItem
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22098 if (SWIG_arg_fail(1)) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (long)(arg1
)->GetId();
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_From_long((long)(result
));
22115 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxListItem
*arg1
= (wxListItem
*) 0 ;
22119 PyObject
* obj0
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (int)(arg1
)->GetColumn();
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_From_int((int)(result
));
22143 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxListItem
*arg1
= (wxListItem
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (long)(arg1
)->GetState();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_From_long((long)(result
));
22171 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxListItem
*arg1
= (wxListItem
*) 0 ;
22175 PyObject
* obj0
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 wxString
const &_result_ref
= (arg1
)->GetText();
22187 result
= (wxString
*) &_result_ref
;
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22206 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxListItem
*arg1
= (wxListItem
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (int)(arg1
)->GetImage();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_From_int((int)(result
));
22234 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxListItem
*arg1
= (wxListItem
*) 0 ;
22238 PyObject
* obj0
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22245 if (SWIG_arg_fail(1)) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (long)(arg1
)->GetData();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_From_long((long)(result
));
22262 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxListItem
*arg1
= (wxListItem
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22273 if (SWIG_arg_fail(1)) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (int)(arg1
)->GetWidth();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_From_int((int)(result
));
22290 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxListItem
*arg1
= (wxListItem
*) 0 ;
22293 wxListColumnFormat result
;
22294 PyObject
* obj0
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_From_int((result
));
22316 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxListItem
*arg1
= (wxListItem
*) 0 ;
22319 wxListItemAttr
*result
;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22342 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxListItem
*arg1
= (wxListItem
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)(arg1
)->HasAttributes();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22370 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxListItem
*arg1
= (wxListItem
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22381 if (SWIG_arg_fail(1)) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 wxColour
* resultptr
;
22391 resultptr
= new wxColour((wxColour
&)(result
));
22392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22400 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxListItem
*arg1
= (wxListItem
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 wxColour
* resultptr
;
22421 resultptr
= new wxColour((wxColour
&)(result
));
22422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22430 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxListItem
*arg1
= (wxListItem
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= ((wxListItem
const *)arg1
)->GetFont();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 wxFont
* resultptr
;
22451 resultptr
= new wxFont((wxFont
&)(result
));
22452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22460 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxListItem
*arg1
= (wxListItem
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "m_mask", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22472 if (SWIG_arg_fail(1)) SWIG_fail
;
22474 arg2
= (long)(SWIG_As_long(obj1
));
22475 if (SWIG_arg_fail(2)) SWIG_fail
;
22477 if (arg1
) (arg1
)->m_mask
= arg2
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxListItem
*arg1
= (wxListItem
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22497 if (SWIG_arg_fail(1)) SWIG_fail
;
22498 result
= (long) ((arg1
)->m_mask
);
22501 resultobj
= SWIG_From_long((long)(result
));
22509 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxListItem
*arg1
= (wxListItem
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "m_itemId", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail
;
22523 arg2
= (long)(SWIG_As_long(obj1
));
22524 if (SWIG_arg_fail(2)) SWIG_fail
;
22526 if (arg1
) (arg1
)->m_itemId
= arg2
;
22528 Py_INCREF(Py_None
); resultobj
= Py_None
;
22535 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxListItem
*arg1
= (wxListItem
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail
;
22547 result
= (long) ((arg1
)->m_itemId
);
22550 resultobj
= SWIG_From_long((long)(result
));
22558 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxListItem
*arg1
= (wxListItem
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "m_col", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail
;
22572 arg2
= (int)(SWIG_As_int(obj1
));
22573 if (SWIG_arg_fail(2)) SWIG_fail
;
22575 if (arg1
) (arg1
)->m_col
= arg2
;
22577 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxListItem
*arg1
= (wxListItem
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22595 if (SWIG_arg_fail(1)) SWIG_fail
;
22596 result
= (int) ((arg1
)->m_col
);
22599 resultobj
= SWIG_From_int((int)(result
));
22607 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 wxListItem
*arg1
= (wxListItem
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "m_state", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail
;
22621 arg2
= (long)(SWIG_As_long(obj1
));
22622 if (SWIG_arg_fail(2)) SWIG_fail
;
22624 if (arg1
) (arg1
)->m_state
= arg2
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxListItem
*arg1
= (wxListItem
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22645 result
= (long) ((arg1
)->m_state
);
22648 resultobj
= SWIG_From_long((long)(result
));
22656 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxListItem
*arg1
= (wxListItem
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "m_stateMask", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22668 if (SWIG_arg_fail(1)) SWIG_fail
;
22670 arg2
= (long)(SWIG_As_long(obj1
));
22671 if (SWIG_arg_fail(2)) SWIG_fail
;
22673 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxListItem
*arg1
= (wxListItem
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22693 if (SWIG_arg_fail(1)) SWIG_fail
;
22694 result
= (long) ((arg1
)->m_stateMask
);
22697 resultobj
= SWIG_From_long((long)(result
));
22705 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxListItem
*arg1
= (wxListItem
*) 0 ;
22708 wxString
*arg2
= (wxString
*) 0 ;
22709 bool temp2
= false ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "m_text", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 arg2
= wxString_in_helper(obj1
);
22721 if (arg2
== NULL
) SWIG_fail
;
22724 if (arg1
) (arg1
)->m_text
= *arg2
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22741 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxListItem
*arg1
= (wxListItem
*) 0 ;
22745 PyObject
* obj0
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "self", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail
;
22753 result
= (wxString
*)& ((arg1
)->m_text
);
22757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22768 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxListItem
*arg1
= (wxListItem
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "m_image", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22782 arg2
= (int)(SWIG_As_int(obj1
));
22783 if (SWIG_arg_fail(2)) SWIG_fail
;
22785 if (arg1
) (arg1
)->m_image
= arg2
;
22787 Py_INCREF(Py_None
); resultobj
= Py_None
;
22794 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxListItem
*arg1
= (wxListItem
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22806 result
= (int) ((arg1
)->m_image
);
22809 resultobj
= SWIG_From_int((int)(result
));
22817 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxListItem
*arg1
= (wxListItem
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self",(char *) "m_data", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail
;
22831 arg2
= (long)(SWIG_As_long(obj1
));
22832 if (SWIG_arg_fail(2)) SWIG_fail
;
22834 if (arg1
) (arg1
)->m_data
= arg2
;
22836 Py_INCREF(Py_None
); resultobj
= Py_None
;
22843 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxListItem
*arg1
= (wxListItem
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail
;
22855 result
= (long) ((arg1
)->m_data
);
22858 resultobj
= SWIG_From_long((long)(result
));
22866 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxListItem
*arg1
= (wxListItem
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 PyObject
* obj1
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self",(char *) "m_format", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail
;
22880 arg2
= (int)(SWIG_As_int(obj1
));
22881 if (SWIG_arg_fail(2)) SWIG_fail
;
22883 if (arg1
) (arg1
)->m_format
= arg2
;
22885 Py_INCREF(Py_None
); resultobj
= Py_None
;
22892 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxListItem
*arg1
= (wxListItem
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail
;
22904 result
= (int) ((arg1
)->m_format
);
22907 resultobj
= SWIG_From_int((int)(result
));
22915 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxListItem
*arg1
= (wxListItem
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self",(char *) "m_width", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 arg2
= (int)(SWIG_As_int(obj1
));
22930 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 if (arg1
) (arg1
)->m_width
= arg2
;
22934 Py_INCREF(Py_None
); resultobj
= Py_None
;
22941 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxListItem
*arg1
= (wxListItem
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail
;
22953 result
= (int) ((arg1
)->m_width
);
22956 resultobj
= SWIG_From_int((int)(result
));
22964 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22967 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22969 return Py_BuildValue((char *)"");
22971 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22974 int arg2
= (int) 0 ;
22975 wxListEvent
*result
;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "commandType",(char *) "id", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22985 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22991 arg2
= (int)(SWIG_As_int(obj1
));
22992 if (SWIG_arg_fail(2)) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23009 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self",(char *) "m_code", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 arg2
= (int)(SWIG_As_int(obj1
));
23024 if (SWIG_arg_fail(2)) SWIG_fail
;
23026 if (arg1
) (arg1
)->m_code
= arg2
;
23028 Py_INCREF(Py_None
); resultobj
= Py_None
;
23035 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 result
= (int) ((arg1
)->m_code
);
23050 resultobj
= SWIG_From_int((int)(result
));
23058 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "m_oldItemIndex", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail
;
23072 arg2
= (long)(SWIG_As_long(obj1
));
23073 if (SWIG_arg_fail(2)) SWIG_fail
;
23075 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23095 if (SWIG_arg_fail(1)) SWIG_fail
;
23096 result
= (long) ((arg1
)->m_oldItemIndex
);
23099 resultobj
= SWIG_From_long((long)(result
));
23107 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "m_itemIndex", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail
;
23121 arg2
= (long)(SWIG_As_long(obj1
));
23122 if (SWIG_arg_fail(2)) SWIG_fail
;
23124 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23126 Py_INCREF(Py_None
); resultobj
= Py_None
;
23133 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 char *kwnames
[] = {
23139 (char *) "self", NULL
23142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23144 if (SWIG_arg_fail(1)) SWIG_fail
;
23145 result
= (long) ((arg1
)->m_itemIndex
);
23148 resultobj
= SWIG_From_long((long)(result
));
23156 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self",(char *) "m_col", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23168 if (SWIG_arg_fail(1)) SWIG_fail
;
23170 arg2
= (int)(SWIG_As_int(obj1
));
23171 if (SWIG_arg_fail(2)) SWIG_fail
;
23173 if (arg1
) (arg1
)->m_col
= arg2
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23193 if (SWIG_arg_fail(1)) SWIG_fail
;
23194 result
= (int) ((arg1
)->m_col
);
23197 resultobj
= SWIG_From_int((int)(result
));
23205 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23208 wxPoint
*arg2
= (wxPoint
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 PyObject
* obj1
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self",(char *) "m_pointDrag", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23217 if (SWIG_arg_fail(1)) SWIG_fail
;
23218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23219 if (SWIG_arg_fail(2)) SWIG_fail
;
23220 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23229 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23233 PyObject
* obj0
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail
;
23241 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23250 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23253 wxListItem
*result
;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 result
= (wxListItem
*)& ((arg1
)->m_item
);
23265 resultobj
= wxPyMake_wxObject(result
, 0);
23273 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23284 if (SWIG_arg_fail(1)) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (int)(arg1
)->GetKeyCode();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_From_int((int)(result
));
23301 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (long)(arg1
)->GetIndex();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_From_long((long)(result
));
23329 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23340 if (SWIG_arg_fail(1)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (int)(arg1
)->GetColumn();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_From_int((int)(result
));
23357 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23368 if (SWIG_arg_fail(1)) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (arg1
)->GetPoint();
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 wxPoint
* resultptr
;
23378 resultptr
= new wxPoint((wxPoint
&)(result
));
23379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23387 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 wxString
const &_result_ref
= (arg1
)->GetLabel();
23403 result
= (wxString
*) &_result_ref
;
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23413 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23422 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "self", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23433 if (SWIG_arg_fail(1)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 wxString
const &_result_ref
= (arg1
)->GetText();
23438 result
= (wxString
*) &_result_ref
;
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23448 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23457 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (int)(arg1
)->GetImage();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_From_int((int)(result
));
23485 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23489 PyObject
* obj0
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (long)(arg1
)->GetData();
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_From_long((long)(result
));
23513 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (long)(arg1
)->GetMask();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_From_long((long)(result
));
23541 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23544 wxListItem
*result
;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23557 result
= (wxListItem
*) &_result_ref
;
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23570 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (long)(arg1
)->GetCacheFrom();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_From_long((long)(result
));
23598 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (long)(arg1
)->GetCacheTo();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_From_long((long)(result
));
23626 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23630 PyObject
* obj0
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23637 if (SWIG_arg_fail(1)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23654 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "editCancelled", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail
;
23668 arg2
= (bool)(SWIG_As_bool(obj1
));
23669 if (SWIG_arg_fail(2)) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 (arg1
)->SetEditCanceled(arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 Py_INCREF(Py_None
); resultobj
= Py_None
;
23685 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23688 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23690 return Py_BuildValue((char *)"");
23692 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxWindow
*arg1
= (wxWindow
*) 0 ;
23695 int arg2
= (int) -1 ;
23696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23700 long arg5
= (long) wxLC_ICON
;
23701 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23702 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23703 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23705 wxPyListCtrl
*result
;
23708 bool temp7
= false ;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 PyObject
* obj2
= 0 ;
23712 PyObject
* obj3
= 0 ;
23713 PyObject
* obj4
= 0 ;
23714 PyObject
* obj5
= 0 ;
23715 PyObject
* obj6
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23722 if (SWIG_arg_fail(1)) SWIG_fail
;
23725 arg2
= (int)(SWIG_As_int(obj1
));
23726 if (SWIG_arg_fail(2)) SWIG_fail
;
23732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23743 arg5
= (long)(SWIG_As_long(obj4
));
23744 if (SWIG_arg_fail(5)) SWIG_fail
;
23749 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23750 if (SWIG_arg_fail(6)) SWIG_fail
;
23751 if (arg6
== NULL
) {
23752 SWIG_null_ref("wxValidator");
23754 if (SWIG_arg_fail(6)) SWIG_fail
;
23759 arg7
= wxString_in_helper(obj6
);
23760 if (arg7
== NULL
) SWIG_fail
;
23765 if (!wxPyCheckForApp()) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23787 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxPyListCtrl
*result
;
23790 char *kwnames
[] = {
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23796 if (!wxPyCheckForApp()) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23810 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23813 wxWindow
*arg2
= (wxWindow
*) 0 ;
23814 int arg3
= (int) -1 ;
23815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23819 long arg6
= (long) wxLC_ICON
;
23820 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23821 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23822 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23823 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23827 bool temp8
= false ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 PyObject
* obj2
= 0 ;
23831 PyObject
* obj3
= 0 ;
23832 PyObject
* obj4
= 0 ;
23833 PyObject
* obj5
= 0 ;
23834 PyObject
* obj6
= 0 ;
23835 PyObject
* obj7
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail
;
23843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23844 if (SWIG_arg_fail(2)) SWIG_fail
;
23847 arg3
= (int)(SWIG_As_int(obj2
));
23848 if (SWIG_arg_fail(3)) SWIG_fail
;
23854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23865 arg6
= (long)(SWIG_As_long(obj5
));
23866 if (SWIG_arg_fail(6)) SWIG_fail
;
23871 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23872 if (SWIG_arg_fail(7)) SWIG_fail
;
23873 if (arg7
== NULL
) {
23874 SWIG_null_ref("wxValidator");
23876 if (SWIG_arg_fail(7)) SWIG_fail
;
23881 arg8
= wxString_in_helper(obj7
);
23882 if (arg8
== NULL
) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23910 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23913 PyObject
*arg2
= (PyObject
*) 0 ;
23914 PyObject
*arg3
= (PyObject
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 PyObject
* obj2
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self",(char *) "self",(char *) "_class", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23924 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23941 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23944 wxColour
*arg2
= 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self",(char *) "col", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail
;
23958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23979 wxColour
*arg2
= 0 ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self",(char *) "col", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23990 if (SWIG_arg_fail(1)) SWIG_fail
;
23993 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24011 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24015 wxListItem
*result
;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 char *kwnames
[] = {
24019 (char *) "self",(char *) "col", NULL
24022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24024 if (SWIG_arg_fail(1)) SWIG_fail
;
24026 arg2
= (int)(SWIG_As_int(obj1
));
24027 if (SWIG_arg_fail(2)) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= wxPyMake_wxObject(result
, 0);
24045 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
;
24047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24049 wxListItem
*arg3
= 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 PyObject
* obj2
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "self",(char *) "col",(char *) "item", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail
;
24062 arg2
= (int)(SWIG_As_int(obj1
));
24063 if (SWIG_arg_fail(2)) SWIG_fail
;
24066 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24067 if (SWIG_arg_fail(3)) SWIG_fail
;
24068 if (arg3
== NULL
) {
24069 SWIG_null_ref("wxListItem");
24071 if (SWIG_arg_fail(3)) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24089 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self",(char *) "col", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 arg2
= (int)(SWIG_As_int(obj1
));
24105 if (SWIG_arg_fail(2)) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_From_int((int)(result
));
24123 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 PyObject
* obj2
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self",(char *) "col",(char *) "width", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24138 if (SWIG_arg_fail(1)) SWIG_fail
;
24140 arg2
= (int)(SWIG_As_int(obj1
));
24141 if (SWIG_arg_fail(2)) SWIG_fail
;
24144 arg3
= (int)(SWIG_As_int(obj2
));
24145 if (SWIG_arg_fail(3)) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24174 if (SWIG_arg_fail(1)) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_int((int)(result
));
24191 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24202 if (SWIG_arg_fail(1)) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 wxRect
* resultptr
;
24212 resultptr
= new wxRect((wxRect
&)(result
));
24213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24221 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24224 wxTextCtrl
*result
;
24225 PyObject
* obj0
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
24231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24232 if (SWIG_arg_fail(1)) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= wxPyMake_wxObject(result
, 0);
24249 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24253 int arg3
= (int) 0 ;
24254 wxListItem
*result
;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "itemId",(char *) "col", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24264 if (SWIG_arg_fail(1)) SWIG_fail
;
24266 arg2
= (long)(SWIG_As_long(obj1
));
24267 if (SWIG_arg_fail(2)) SWIG_fail
;
24271 arg3
= (int)(SWIG_As_int(obj2
));
24272 if (SWIG_arg_fail(3)) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= wxPyMake_wxObject(result
, 0);
24291 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
;
24293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24294 wxListItem
*arg2
= 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "info", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24304 if (SWIG_arg_fail(1)) SWIG_fail
;
24306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(2)) SWIG_fail
;
24308 if (arg2
== NULL
) {
24309 SWIG_null_ref("wxListItem");
24311 if (SWIG_arg_fail(2)) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (bool)(arg1
)->SetItem(*arg2
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24329 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
;
24331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24334 wxString
*arg4
= 0 ;
24335 int arg5
= (int) -1 ;
24337 bool temp4
= false ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 PyObject
* obj2
= 0 ;
24341 PyObject
* obj3
= 0 ;
24342 PyObject
* obj4
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24349 if (SWIG_arg_fail(1)) SWIG_fail
;
24351 arg2
= (long)(SWIG_As_long(obj1
));
24352 if (SWIG_arg_fail(2)) SWIG_fail
;
24355 arg3
= (int)(SWIG_As_int(obj2
));
24356 if (SWIG_arg_fail(3)) SWIG_fail
;
24359 arg4
= wxString_in_helper(obj3
);
24360 if (arg4
== NULL
) SWIG_fail
;
24365 arg5
= (int)(SWIG_As_int(obj4
));
24366 if (SWIG_arg_fail(5)) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_From_long((long)(result
));
24393 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 PyObject
* obj2
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24408 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 arg2
= (long)(SWIG_As_long(obj1
));
24411 if (SWIG_arg_fail(2)) SWIG_fail
;
24414 arg3
= (long)(SWIG_As_long(obj2
));
24415 if (SWIG_arg_fail(3)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_From_int((int)(result
));
24433 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 PyObject
* obj3
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 arg2
= (long)(SWIG_As_long(obj1
));
24453 if (SWIG_arg_fail(2)) SWIG_fail
;
24456 arg3
= (long)(SWIG_As_long(obj2
));
24457 if (SWIG_arg_fail(3)) SWIG_fail
;
24460 arg4
= (long)(SWIG_As_long(obj3
));
24461 if (SWIG_arg_fail(4)) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24479 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24484 int arg4
= (int) -1 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 PyObject
* obj3
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 arg2
= (long)(SWIG_As_long(obj1
));
24499 if (SWIG_arg_fail(2)) SWIG_fail
;
24502 arg3
= (int)(SWIG_As_int(obj2
));
24503 if (SWIG_arg_fail(3)) SWIG_fail
;
24507 arg4
= (int)(SWIG_As_int(obj3
));
24508 if (SWIG_arg_fail(4)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24527 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "item", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail
;
24542 arg2
= (long)(SWIG_As_long(obj1
));
24543 if (SWIG_arg_fail(2)) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24565 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24569 wxString
*arg3
= 0 ;
24570 bool temp3
= false ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "item",(char *) "str", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail
;
24582 arg2
= (long)(SWIG_As_long(obj1
));
24583 if (SWIG_arg_fail(2)) SWIG_fail
;
24586 arg3
= wxString_in_helper(obj2
);
24587 if (arg3
== NULL
) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "item", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24625 if (SWIG_arg_fail(1)) SWIG_fail
;
24627 arg2
= (long)(SWIG_As_long(obj1
));
24628 if (SWIG_arg_fail(2)) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_From_long((long)(result
));
24646 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "item",(char *) "data", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24661 if (SWIG_arg_fail(1)) SWIG_fail
;
24663 arg2
= (long)(SWIG_As_long(obj1
));
24664 if (SWIG_arg_fail(2)) SWIG_fail
;
24667 arg3
= (long)(SWIG_As_long(obj2
));
24668 if (SWIG_arg_fail(3)) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 PyObject
* obj1
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self",(char *) "item", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24699 if (SWIG_arg_fail(1)) SWIG_fail
;
24701 arg2
= (long)(SWIG_As_long(obj1
));
24702 if (SWIG_arg_fail(2)) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24712 wxPoint
* resultptr
;
24713 resultptr
= new wxPoint((wxPoint
&)(result
));
24714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24722 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24726 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 PyObject
* obj2
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "item",(char *) "code", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24737 if (SWIG_arg_fail(1)) SWIG_fail
;
24739 arg2
= (long)(SWIG_As_long(obj1
));
24740 if (SWIG_arg_fail(2)) SWIG_fail
;
24744 arg3
= (int)(SWIG_As_int(obj2
));
24745 if (SWIG_arg_fail(3)) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 wxRect
* resultptr
;
24757 resultptr
= new wxRect((wxRect
&)(result
));
24758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24766 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24770 wxPoint
*arg3
= 0 ;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj1
= 0 ;
24775 PyObject
* obj2
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "item",(char *) "pos", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail
;
24784 arg2
= (long)(SWIG_As_long(obj1
));
24785 if (SWIG_arg_fail(2)) SWIG_fail
;
24789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_From_int((int)(result
));
24835 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24836 PyObject
*resultobj
;
24837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24846 if (SWIG_arg_fail(1)) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_From_int((int)(result
));
24863 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24883 wxSize
* resultptr
;
24884 resultptr
= new wxSize((wxSize
&)(result
));
24885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24893 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24904 if (SWIG_arg_fail(1)) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_From_int((int)(result
));
24921 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 wxColour
* resultptr
;
24942 resultptr
= new wxColour((wxColour
&)(result
));
24943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24951 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24954 wxColour
*arg2
= 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "col", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 Py_INCREF(Py_None
); resultobj
= Py_None
;
24983 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_From_long((long)(result
));
25011 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25015 bool arg3
= (bool) true ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 PyObject
* obj2
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "style",(char *) "add", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25025 if (SWIG_arg_fail(1)) SWIG_fail
;
25027 arg2
= (long)(SWIG_As_long(obj1
));
25028 if (SWIG_arg_fail(2)) SWIG_fail
;
25032 arg3
= (bool)(SWIG_As_bool(obj2
));
25033 if (SWIG_arg_fail(3)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 (arg1
)->SetSingleStyle(arg2
,arg3
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 Py_INCREF(Py_None
); resultobj
= Py_None
;
25050 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "style", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail
;
25064 arg2
= (long)(SWIG_As_long(obj1
));
25065 if (SWIG_arg_fail(2)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetWindowStyleFlag(arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25085 int arg3
= (int) wxLIST_NEXT_ALL
;
25086 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 PyObject
* obj3
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25098 if (SWIG_arg_fail(1)) SWIG_fail
;
25100 arg2
= (long)(SWIG_As_long(obj1
));
25101 if (SWIG_arg_fail(2)) SWIG_fail
;
25105 arg3
= (int)(SWIG_As_int(obj2
));
25106 if (SWIG_arg_fail(3)) SWIG_fail
;
25111 arg4
= (int)(SWIG_As_int(obj3
));
25112 if (SWIG_arg_fail(4)) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 resultobj
= SWIG_From_long((long)(result
));
25131 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25135 wxImageList
*result
;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "which", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 arg2
= (int)(SWIG_As_int(obj1
));
25147 if (SWIG_arg_fail(2)) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= wxPyMake_wxObject(result
, 0);
25165 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25168 wxImageList
*arg2
= (wxImageList
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 PyObject
* obj2
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "imageList",(char *) "which", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25179 if (SWIG_arg_fail(1)) SWIG_fail
;
25180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25181 if (SWIG_arg_fail(2)) SWIG_fail
;
25183 arg3
= (int)(SWIG_As_int(obj2
));
25184 if (SWIG_arg_fail(3)) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->SetImageList(arg2
,arg3
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
;
25202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25203 wxImageList
*arg2
= (wxImageList
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 PyObject
* obj2
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "imageList",(char *) "which", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail
;
25215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25216 if (SWIG_arg_fail(2)) SWIG_fail
;
25218 arg3
= (int)(SWIG_As_int(obj2
));
25219 if (SWIG_arg_fail(3)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 (arg1
)->AssignImageList(arg2
,arg3
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 Py_INCREF(Py_None
); resultobj
= Py_None
;
25235 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25274 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25291 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "item", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25303 if (SWIG_arg_fail(1)) SWIG_fail
;
25305 arg2
= (long)(SWIG_As_long(obj1
));
25306 if (SWIG_arg_fail(2)) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->RefreshItem(arg2
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 Py_INCREF(Py_None
); resultobj
= Py_None
;
25322 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 PyObject
* obj2
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 arg2
= (long)(SWIG_As_long(obj1
));
25339 if (SWIG_arg_fail(2)) SWIG_fail
;
25342 arg3
= (long)(SWIG_As_long(obj2
));
25343 if (SWIG_arg_fail(3)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->RefreshItems(arg2
,arg3
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25362 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self",(char *) "flag", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25372 if (SWIG_arg_fail(1)) SWIG_fail
;
25375 arg2
= (int)(SWIG_As_int(obj1
));
25376 if (SWIG_arg_fail(2)) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (bool)(arg1
)->Arrange(arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25395 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "item", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 arg2
= (long)(SWIG_As_long(obj1
));
25411 if (SWIG_arg_fail(2)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (bool)(arg1
)->DeleteItem(arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25429 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25433 PyObject
* obj0
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25440 if (SWIG_arg_fail(1)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (bool)(arg1
)->DeleteAllItems();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25457 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25462 PyObject
* obj0
= 0 ;
25463 PyObject
* obj1
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self",(char *) "col", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail
;
25472 arg2
= (int)(SWIG_As_int(obj1
));
25473 if (SWIG_arg_fail(2)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)(arg1
)->DeleteAllColumns();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25519 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 (arg1
)->ClearAll();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 Py_INCREF(Py_None
); resultobj
= Py_None
;
25544 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25548 wxTextCtrl
*result
;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "item", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 arg2
= (long)(SWIG_As_long(obj1
));
25560 if (SWIG_arg_fail(2)) SWIG_fail
;
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= wxPyMake_wxObject(result
, 0);
25578 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
;
25580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "cancel", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 arg2
= (bool)(SWIG_As_bool(obj1
));
25594 if (SWIG_arg_fail(2)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (bool)(arg1
)->EndEditLabel(arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25612 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "item", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 arg2
= (long)(SWIG_As_long(obj1
));
25628 if (SWIG_arg_fail(2)) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25646 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25650 wxString
*arg3
= 0 ;
25651 bool arg4
= (bool) false ;
25653 bool temp3
= false ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 PyObject
* obj2
= 0 ;
25657 PyObject
* obj3
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25664 if (SWIG_arg_fail(1)) SWIG_fail
;
25666 arg2
= (long)(SWIG_As_long(obj1
));
25667 if (SWIG_arg_fail(2)) SWIG_fail
;
25670 arg3
= wxString_in_helper(obj2
);
25671 if (arg3
== NULL
) SWIG_fail
;
25676 arg4
= (bool)(SWIG_As_bool(obj3
));
25677 if (SWIG_arg_fail(4)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_long((long)(result
));
25704 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "start",(char *) "data", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail
;
25721 arg2
= (long)(SWIG_As_long(obj1
));
25722 if (SWIG_arg_fail(2)) SWIG_fail
;
25725 arg3
= (long)(SWIG_As_long(obj2
));
25726 if (SWIG_arg_fail(3)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_From_long((long)(result
));
25744 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25748 wxPoint
*arg3
= 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 PyObject
* obj3
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail
;
25764 arg2
= (long)(SWIG_As_long(obj1
));
25765 if (SWIG_arg_fail(2)) SWIG_fail
;
25769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25772 arg4
= (int)(SWIG_As_int(obj3
));
25773 if (SWIG_arg_fail(4)) SWIG_fail
;
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_From_long((long)(result
));
25791 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25794 wxPoint
*arg2
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self",(char *) "point", NULL
25806 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25809 if (SWIG_arg_fail(1)) SWIG_fail
;
25812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_From_long((long)(result
));
25824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25825 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25832 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25835 wxListItem
*arg2
= 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self",(char *) "info", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail
;
25847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25848 if (SWIG_arg_fail(2)) SWIG_fail
;
25849 if (arg2
== NULL
) {
25850 SWIG_null_ref("wxListItem");
25852 if (SWIG_arg_fail(2)) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (long)(arg1
)->InsertItem(*arg2
);
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_From_long((long)(result
));
25870 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25874 wxString
*arg3
= 0 ;
25876 bool temp3
= false ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self",(char *) "index",(char *) "label", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25886 if (SWIG_arg_fail(1)) SWIG_fail
;
25888 arg2
= (long)(SWIG_As_long(obj1
));
25889 if (SWIG_arg_fail(2)) SWIG_fail
;
25892 arg3
= wxString_in_helper(obj2
);
25893 if (arg3
== NULL
) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= SWIG_From_long((long)(result
));
25920 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 PyObject
* obj2
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 arg2
= (long)(SWIG_As_long(obj1
));
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25941 arg3
= (int)(SWIG_As_int(obj2
));
25942 if (SWIG_arg_fail(3)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_From_long((long)(result
));
25960 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25964 wxString
*arg3
= 0 ;
25967 bool temp3
= false ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 PyObject
* obj2
= 0 ;
25971 PyObject
* obj3
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(1)) SWIG_fail
;
25980 arg2
= (long)(SWIG_As_long(obj1
));
25981 if (SWIG_arg_fail(2)) SWIG_fail
;
25984 arg3
= wxString_in_helper(obj2
);
25985 if (arg3
== NULL
) SWIG_fail
;
25989 arg4
= (int)(SWIG_As_int(obj3
));
25990 if (SWIG_arg_fail(4)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_From_long((long)(result
));
26016 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26020 wxListItem
*arg3
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "col",(char *) "info", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 arg2
= (long)(SWIG_As_long(obj1
));
26034 if (SWIG_arg_fail(2)) SWIG_fail
;
26037 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(3)) SWIG_fail
;
26039 if (arg3
== NULL
) {
26040 SWIG_null_ref("wxListItem");
26042 if (SWIG_arg_fail(3)) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_From_long((long)(result
));
26060 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26064 wxString
*arg3
= 0 ;
26065 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26066 int arg5
= (int) -1 ;
26068 bool temp3
= false ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 PyObject
* obj2
= 0 ;
26072 PyObject
* obj3
= 0 ;
26073 PyObject
* obj4
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26080 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 arg2
= (long)(SWIG_As_long(obj1
));
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26086 arg3
= wxString_in_helper(obj2
);
26087 if (arg3
== NULL
) SWIG_fail
;
26092 arg4
= (int)(SWIG_As_int(obj3
));
26093 if (SWIG_arg_fail(4)) SWIG_fail
;
26098 arg5
= (int)(SWIG_As_int(obj4
));
26099 if (SWIG_arg_fail(5)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_From_long((long)(result
));
26126 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self",(char *) "count", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26138 if (SWIG_arg_fail(1)) SWIG_fail
;
26140 arg2
= (long)(SWIG_As_long(obj1
));
26141 if (SWIG_arg_fail(2)) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 (arg1
)->SetItemCount(arg2
);
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 Py_INCREF(Py_None
); resultobj
= Py_None
;
26157 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
;
26159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 PyObject
* obj2
= 0 ;
26166 char *kwnames
[] = {
26167 (char *) "self",(char *) "dx",(char *) "dy", NULL
26170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail
;
26174 arg2
= (int)(SWIG_As_int(obj1
));
26175 if (SWIG_arg_fail(2)) SWIG_fail
;
26178 arg3
= (int)(SWIG_As_int(obj2
));
26179 if (SWIG_arg_fail(3)) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26197 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26201 wxColour
*arg3
= 0 ;
26203 PyObject
* obj0
= 0 ;
26204 PyObject
* obj1
= 0 ;
26205 PyObject
* obj2
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "item",(char *) "col", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 arg2
= (long)(SWIG_As_long(obj1
));
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26219 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 Py_INCREF(Py_None
); resultobj
= Py_None
;
26235 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "item", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail
;
26250 arg2
= (long)(SWIG_As_long(obj1
));
26251 if (SWIG_arg_fail(2)) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26261 wxColour
* resultptr
;
26262 resultptr
= new wxColour((wxColour
&)(result
));
26263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26271 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26275 wxColour
*arg3
= 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 PyObject
* obj2
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "item",(char *) "col", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail
;
26288 arg2
= (long)(SWIG_As_long(obj1
));
26289 if (SWIG_arg_fail(2)) SWIG_fail
;
26293 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 Py_INCREF(Py_None
); resultobj
= Py_None
;
26309 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
;
26311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "item", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 arg2
= (long)(SWIG_As_long(obj1
));
26325 if (SWIG_arg_fail(2)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 wxColour
* resultptr
;
26336 resultptr
= new wxColour((wxColour
&)(result
));
26337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26345 static PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "item",(char *) "f", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26361 arg2
= (long)(SWIG_As_long(obj1
));
26362 if (SWIG_arg_fail(2)) SWIG_fail
;
26365 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
26366 if (SWIG_arg_fail(3)) SWIG_fail
;
26367 if (arg3
== NULL
) {
26368 SWIG_null_ref("wxFont");
26370 if (SWIG_arg_fail(3)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 Py_INCREF(Py_None
); resultobj
= Py_None
;
26386 static PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self",(char *) "item", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26399 if (SWIG_arg_fail(1)) SWIG_fail
;
26401 arg2
= (long)(SWIG_As_long(obj1
));
26402 if (SWIG_arg_fail(2)) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 wxFont
* resultptr
;
26413 resultptr
= new wxFont((wxFont
&)(result
));
26414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26422 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
;
26424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26425 PyObject
*arg2
= (PyObject
*) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "func", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26453 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= wxPyMake_wxObject(result
, 0);
26481 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26484 wxVisualAttributes result
;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "variant", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26493 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26494 if (SWIG_arg_fail(1)) SWIG_fail
;
26498 if (!wxPyCheckForApp()) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26506 wxVisualAttributes
* resultptr
;
26507 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26516 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26519 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26521 return Py_BuildValue((char *)"");
26523 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxWindow
*arg1
= (wxWindow
*) 0 ;
26526 int arg2
= (int) -1 ;
26527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26531 long arg5
= (long) wxLC_REPORT
;
26532 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26533 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26534 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26536 wxListView
*result
;
26539 bool temp7
= false ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 PyObject
* obj2
= 0 ;
26543 PyObject
* obj3
= 0 ;
26544 PyObject
* obj4
= 0 ;
26545 PyObject
* obj5
= 0 ;
26546 PyObject
* obj6
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26553 if (SWIG_arg_fail(1)) SWIG_fail
;
26556 arg2
= (int)(SWIG_As_int(obj1
));
26557 if (SWIG_arg_fail(2)) SWIG_fail
;
26563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26574 arg5
= (long)(SWIG_As_long(obj4
));
26575 if (SWIG_arg_fail(5)) SWIG_fail
;
26580 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26581 if (SWIG_arg_fail(6)) SWIG_fail
;
26582 if (arg6
== NULL
) {
26583 SWIG_null_ref("wxValidator");
26585 if (SWIG_arg_fail(6)) SWIG_fail
;
26590 arg7
= wxString_in_helper(obj6
);
26591 if (arg7
== NULL
) SWIG_fail
;
26596 if (!wxPyCheckForApp()) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26618 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxListView
*result
;
26621 char *kwnames
[] = {
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26627 if (!wxPyCheckForApp()) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (wxListView
*)new wxListView();
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26641 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxListView
*arg1
= (wxListView
*) 0 ;
26644 wxWindow
*arg2
= (wxWindow
*) 0 ;
26645 int arg3
= (int) -1 ;
26646 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26647 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26648 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26649 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26650 long arg6
= (long) wxLC_REPORT
;
26651 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26652 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26653 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26654 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26658 bool temp8
= false ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 PyObject
* obj3
= 0 ;
26663 PyObject
* obj4
= 0 ;
26664 PyObject
* obj5
= 0 ;
26665 PyObject
* obj6
= 0 ;
26666 PyObject
* obj7
= 0 ;
26667 char *kwnames
[] = {
26668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail
;
26674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26675 if (SWIG_arg_fail(2)) SWIG_fail
;
26678 arg3
= (int)(SWIG_As_int(obj2
));
26679 if (SWIG_arg_fail(3)) SWIG_fail
;
26685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26696 arg6
= (long)(SWIG_As_long(obj5
));
26697 if (SWIG_arg_fail(6)) SWIG_fail
;
26702 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26703 if (SWIG_arg_fail(7)) SWIG_fail
;
26704 if (arg7
== NULL
) {
26705 SWIG_null_ref("wxValidator");
26707 if (SWIG_arg_fail(7)) SWIG_fail
;
26712 arg8
= wxString_in_helper(obj7
);
26713 if (arg8
== NULL
) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26741 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxListView
*arg1
= (wxListView
*) 0 ;
26745 bool arg3
= (bool) true ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 PyObject
* obj2
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self",(char *) "n",(char *) "on", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26755 if (SWIG_arg_fail(1)) SWIG_fail
;
26757 arg2
= (long)(SWIG_As_long(obj1
));
26758 if (SWIG_arg_fail(2)) SWIG_fail
;
26762 arg3
= (bool)(SWIG_As_bool(obj2
));
26763 if (SWIG_arg_fail(3)) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 (arg1
)->Select(arg2
,arg3
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 Py_INCREF(Py_None
); resultobj
= Py_None
;
26780 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
;
26782 wxListView
*arg1
= (wxListView
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 PyObject
* obj1
= 0 ;
26786 char *kwnames
[] = {
26787 (char *) "self",(char *) "index", NULL
26790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26792 if (SWIG_arg_fail(1)) SWIG_fail
;
26794 arg2
= (long)(SWIG_As_long(obj1
));
26795 if (SWIG_arg_fail(2)) SWIG_fail
;
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 (arg1
)->Focus(arg2
);
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26804 Py_INCREF(Py_None
); resultobj
= Py_None
;
26811 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxListView
*arg1
= (wxListView
*) 0 ;
26815 PyObject
* obj0
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26822 if (SWIG_arg_fail(1)) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_From_long((long)(result
));
26839 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxListView
*arg1
= (wxListView
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "item", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail
;
26854 arg2
= (long)(SWIG_As_long(obj1
));
26855 if (SWIG_arg_fail(2)) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= SWIG_From_long((long)(result
));
26873 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 wxListView
*arg1
= (wxListView
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_From_long((long)(result
));
26901 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxListView
*arg1
= (wxListView
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "index", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26916 arg2
= (long)(SWIG_As_long(obj1
));
26917 if (SWIG_arg_fail(2)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)(arg1
)->IsSelected(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26935 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxListView
*arg1
= (wxListView
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "col",(char *) "image", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 arg2
= (int)(SWIG_As_int(obj1
));
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26955 arg3
= (int)(SWIG_As_int(obj2
));
26956 if (SWIG_arg_fail(3)) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetColumnImage(arg2
,arg3
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 Py_INCREF(Py_None
); resultobj
= Py_None
;
26972 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxListView
*arg1
= (wxListView
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26977 PyObject
* obj1
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self",(char *) "col", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26984 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 arg2
= (int)(SWIG_As_int(obj1
));
26987 if (SWIG_arg_fail(2)) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 (arg1
)->ClearColumnImage(arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 Py_INCREF(Py_None
); resultobj
= Py_None
;
27003 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
27005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27006 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
27008 return Py_BuildValue((char *)"");
27010 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27011 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27016 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27021 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27023 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27030 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxTreeItemId
*result
;
27033 char *kwnames
[] = {
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (wxTreeItemId
*)new wxTreeItemId();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27052 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27055 PyObject
* obj0
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "self", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 Py_INCREF(Py_None
); resultobj
= Py_None
;
27077 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
;
27079 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27088 if (SWIG_arg_fail(1)) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27105 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27108 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27110 PyObject
* obj0
= 0 ;
27111 PyObject
* obj1
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "other", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27120 if (SWIG_arg_fail(2)) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27137 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27140 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "other", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(2)) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27169 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27172 void *arg2
= (void *) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "m_pItem", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27184 SWIG_arg_fail(2);SWIG_fail
;
27187 if (arg1
) (arg1
)->m_pItem
= arg2
;
27189 Py_INCREF(Py_None
); resultobj
= Py_None
;
27196 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27200 PyObject
* obj0
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27207 if (SWIG_arg_fail(1)) SWIG_fail
;
27208 result
= (void *) ((arg1
)->m_pItem
);
27210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27217 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27220 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27222 return Py_BuildValue((char *)"");
27224 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 PyObject
*arg1
= (PyObject
*) NULL
;
27227 wxPyTreeItemData
*result
;
27228 PyObject
* obj0
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "obj", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27251 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 char *kwnames
[] = {
27257 (char *) "self", NULL
27260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (PyObject
*)(arg1
)->GetData();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= result
;
27277 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27280 PyObject
*arg2
= (PyObject
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 PyObject
* obj1
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self",(char *) "obj", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(1)) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 (arg1
)->SetData(arg2
);
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 Py_INCREF(Py_None
); resultobj
= Py_None
;
27305 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27308 wxTreeItemId
*result
;
27309 PyObject
* obj0
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27321 result
= (wxTreeItemId
*) &_result_ref
;
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27334 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27337 wxTreeItemId
*arg2
= 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "id", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27346 if (SWIG_arg_fail(1)) SWIG_fail
;
27348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(2)) SWIG_fail
;
27350 if (arg2
== NULL
) {
27351 SWIG_null_ref("wxTreeItemId");
27353 if (SWIG_arg_fail(2)) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 Py_INCREF(Py_None
); resultobj
= Py_None
;
27369 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 wxPyTreeItemData_Destroy(arg1
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 Py_INCREF(Py_None
); resultobj
= Py_None
;
27394 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27397 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27399 return Py_BuildValue((char *)"");
27401 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27404 int arg2
= (int) 0 ;
27405 wxTreeEvent
*result
;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "commandType",(char *) "id", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27415 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27416 if (SWIG_arg_fail(1)) SWIG_fail
;
27421 arg2
= (int)(SWIG_As_int(obj1
));
27422 if (SWIG_arg_fail(2)) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27439 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27442 wxTreeItemId result
;
27443 PyObject
* obj0
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27450 if (SWIG_arg_fail(1)) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27459 wxTreeItemId
* resultptr
;
27460 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27469 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27472 wxTreeItemId
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "item", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27485 if (arg2
== NULL
) {
27486 SWIG_null_ref("wxTreeItemId");
27488 if (SWIG_arg_fail(2)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 Py_INCREF(Py_None
); resultobj
= Py_None
;
27504 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27507 wxTreeItemId result
;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 wxTreeItemId
* resultptr
;
27525 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27534 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27537 wxTreeItemId
*arg2
= 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "item", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27549 if (SWIG_arg_fail(2)) SWIG_fail
;
27550 if (arg2
== NULL
) {
27551 SWIG_null_ref("wxTreeItemId");
27553 if (SWIG_arg_fail(2)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
;
27571 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27580 if (SWIG_arg_fail(1)) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27589 wxPoint
* resultptr
;
27590 resultptr
= new wxPoint((wxPoint
&)(result
));
27591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27599 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27602 wxPoint
*arg2
= 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "pt", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27612 if (SWIG_arg_fail(1)) SWIG_fail
;
27615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 Py_INCREF(Py_None
); resultobj
= Py_None
;
27631 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27634 wxKeyEvent
*result
;
27635 PyObject
* obj0
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27642 if (SWIG_arg_fail(1)) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27647 result
= (wxKeyEvent
*) &_result_ref
;
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27660 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27671 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= SWIG_From_int((int)(result
));
27688 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27691 wxKeyEvent
*arg2
= 0 ;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 char *kwnames
[] = {
27695 (char *) "self",(char *) "evt", NULL
27698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27700 if (SWIG_arg_fail(1)) SWIG_fail
;
27702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27703 if (SWIG_arg_fail(2)) SWIG_fail
;
27704 if (arg2
== NULL
) {
27705 SWIG_null_ref("wxKeyEvent");
27707 if (SWIG_arg_fail(2)) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 Py_INCREF(Py_None
); resultobj
= Py_None
;
27723 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self", NULL
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27734 if (SWIG_arg_fail(1)) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27739 result
= (wxString
*) &_result_ref
;
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27749 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27758 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27761 wxString
*arg2
= 0 ;
27762 bool temp2
= false ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "label", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 arg2
= wxString_in_helper(obj1
);
27774 if (arg2
== NULL
) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 (arg1
)->SetLabel((wxString
const &)*arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 Py_INCREF(Py_None
); resultobj
= Py_None
;
27799 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27810 if (SWIG_arg_fail(1)) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27827 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self",(char *) "editCancelled", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27839 if (SWIG_arg_fail(1)) SWIG_fail
;
27841 arg2
= (bool)(SWIG_As_bool(obj1
));
27842 if (SWIG_arg_fail(2)) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 (arg1
)->SetEditCanceled(arg2
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 Py_INCREF(Py_None
); resultobj
= Py_None
;
27858 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27861 wxString
*arg2
= 0 ;
27862 bool temp2
= false ;
27863 PyObject
* obj0
= 0 ;
27864 PyObject
* obj1
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self",(char *) "toolTip", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27871 if (SWIG_arg_fail(1)) SWIG_fail
;
27873 arg2
= wxString_in_helper(obj1
);
27874 if (arg2
== NULL
) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 Py_INCREF(Py_None
); resultobj
= Py_None
;
27899 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 char *kwnames
[] = {
27905 (char *) "self", NULL
27908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27910 if (SWIG_arg_fail(1)) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (arg1
)->GetToolTip();
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27931 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27934 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27936 return Py_BuildValue((char *)"");
27938 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 int arg2
= (int) -1 ;
27942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27946 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27947 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27948 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27949 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27951 wxPyTreeCtrl
*result
;
27954 bool temp7
= false ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 PyObject
* obj2
= 0 ;
27958 PyObject
* obj3
= 0 ;
27959 PyObject
* obj4
= 0 ;
27960 PyObject
* obj5
= 0 ;
27961 PyObject
* obj6
= 0 ;
27962 char *kwnames
[] = {
27963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail
;
27971 arg2
= (int)(SWIG_As_int(obj1
));
27972 if (SWIG_arg_fail(2)) SWIG_fail
;
27978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27989 arg5
= (long)(SWIG_As_long(obj4
));
27990 if (SWIG_arg_fail(5)) SWIG_fail
;
27995 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27996 if (SWIG_arg_fail(6)) SWIG_fail
;
27997 if (arg6
== NULL
) {
27998 SWIG_null_ref("wxValidator");
28000 if (SWIG_arg_fail(6)) SWIG_fail
;
28005 arg7
= wxString_in_helper(obj6
);
28006 if (arg7
== NULL
) SWIG_fail
;
28011 if (!wxPyCheckForApp()) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28033 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxPyTreeCtrl
*result
;
28036 char *kwnames
[] = {
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28042 if (!wxPyCheckForApp()) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28056 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28059 wxWindow
*arg2
= (wxWindow
*) 0 ;
28060 int arg3
= (int) -1 ;
28061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28065 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28066 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28067 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28068 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28073 bool temp8
= false ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 PyObject
* obj2
= 0 ;
28077 PyObject
* obj3
= 0 ;
28078 PyObject
* obj4
= 0 ;
28079 PyObject
* obj5
= 0 ;
28080 PyObject
* obj6
= 0 ;
28081 PyObject
* obj7
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28088 if (SWIG_arg_fail(1)) SWIG_fail
;
28089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28090 if (SWIG_arg_fail(2)) SWIG_fail
;
28093 arg3
= (int)(SWIG_As_int(obj2
));
28094 if (SWIG_arg_fail(3)) SWIG_fail
;
28100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28111 arg6
= (long)(SWIG_As_long(obj5
));
28112 if (SWIG_arg_fail(6)) SWIG_fail
;
28117 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(7)) SWIG_fail
;
28119 if (arg7
== NULL
) {
28120 SWIG_null_ref("wxValidator");
28122 if (SWIG_arg_fail(7)) SWIG_fail
;
28127 arg8
= wxString_in_helper(obj7
);
28128 if (arg8
== NULL
) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28156 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28159 PyObject
*arg2
= (PyObject
*) 0 ;
28160 PyObject
*arg3
= (PyObject
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 PyObject
* obj2
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28170 if (SWIG_arg_fail(1)) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28198 if (SWIG_arg_fail(1)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28215 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28218 unsigned int result
;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28243 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28246 unsigned int arg2
;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "indent", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail
;
28257 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28258 if (SWIG_arg_fail(2)) SWIG_fail
;
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 (arg1
)->SetIndent(arg2
);
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28267 Py_INCREF(Py_None
); resultobj
= Py_None
;
28274 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28277 unsigned int result
;
28278 PyObject
* obj0
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28285 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28302 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28305 unsigned int arg2
;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "spacing", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28317 if (SWIG_arg_fail(2)) SWIG_fail
;
28320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28321 (arg1
)->SetSpacing(arg2
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 Py_INCREF(Py_None
); resultobj
= Py_None
;
28333 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28336 wxImageList
*result
;
28337 PyObject
* obj0
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= wxPyMake_wxObject(result
, 0);
28361 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28364 wxImageList
*result
;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28372 if (SWIG_arg_fail(1)) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= wxPyMake_wxObject(result
, 0);
28389 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28392 wxImageList
*arg2
= (wxImageList
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "imageList", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28401 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28403 if (SWIG_arg_fail(2)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 (arg1
)->SetImageList(arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 Py_INCREF(Py_None
); resultobj
= Py_None
;
28418 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28421 wxImageList
*arg2
= (wxImageList
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 PyObject
* obj1
= 0 ;
28424 char *kwnames
[] = {
28425 (char *) "self",(char *) "imageList", NULL
28428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28430 if (SWIG_arg_fail(1)) SWIG_fail
;
28431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28432 if (SWIG_arg_fail(2)) SWIG_fail
;
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->SetStateImageList(arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 Py_INCREF(Py_None
); resultobj
= Py_None
;
28447 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28450 wxImageList
*arg2
= (wxImageList
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "imageList", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail
;
28460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28461 if (SWIG_arg_fail(2)) SWIG_fail
;
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 (arg1
)->AssignImageList(arg2
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 Py_INCREF(Py_None
); resultobj
= Py_None
;
28476 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28479 wxImageList
*arg2
= (wxImageList
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char *kwnames
[] = {
28483 (char *) "self",(char *) "imageList", NULL
28486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail
;
28489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28490 if (SWIG_arg_fail(2)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->AssignStateImageList(arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 Py_INCREF(Py_None
); resultobj
= Py_None
;
28505 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28508 wxTreeItemId
*arg2
= 0 ;
28510 PyObject
* obj0
= 0 ;
28511 PyObject
* obj1
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self",(char *) "item", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28518 if (SWIG_arg_fail(1)) SWIG_fail
;
28520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28521 if (SWIG_arg_fail(2)) SWIG_fail
;
28522 if (arg2
== NULL
) {
28523 SWIG_null_ref("wxTreeItemId");
28525 if (SWIG_arg_fail(2)) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28547 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28550 wxTreeItemId
*arg2
= 0 ;
28551 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 PyObject
* obj2
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "item",(char *) "which", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(1)) SWIG_fail
;
28564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28565 if (SWIG_arg_fail(2)) SWIG_fail
;
28566 if (arg2
== NULL
) {
28567 SWIG_null_ref("wxTreeItemId");
28569 if (SWIG_arg_fail(2)) SWIG_fail
;
28573 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28574 if (SWIG_arg_fail(3)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_From_int((int)(result
));
28593 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
;
28595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28596 wxTreeItemId
*arg2
= 0 ;
28597 wxPyTreeItemData
*result
;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 char *kwnames
[] = {
28601 (char *) "self",(char *) "item", NULL
28604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28606 if (SWIG_arg_fail(1)) SWIG_fail
;
28608 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(2)) SWIG_fail
;
28610 if (arg2
== NULL
) {
28611 SWIG_null_ref("wxTreeItemId");
28613 if (SWIG_arg_fail(2)) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28629 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28632 wxTreeItemId
*arg2
= 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "item", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28642 if (SWIG_arg_fail(1)) SWIG_fail
;
28644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28645 if (SWIG_arg_fail(2)) SWIG_fail
;
28646 if (arg2
== NULL
) {
28647 SWIG_null_ref("wxTreeItemId");
28649 if (SWIG_arg_fail(2)) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= result
;
28665 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28668 wxTreeItemId
*arg2
= 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "item", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(1)) SWIG_fail
;
28680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28681 if (SWIG_arg_fail(2)) SWIG_fail
;
28682 if (arg2
== NULL
) {
28683 SWIG_null_ref("wxTreeItemId");
28685 if (SWIG_arg_fail(2)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 wxColour
* resultptr
;
28696 resultptr
= new wxColour((wxColour
&)(result
));
28697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28705 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28708 wxTreeItemId
*arg2
= 0 ;
28710 PyObject
* obj0
= 0 ;
28711 PyObject
* obj1
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self",(char *) "item", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28718 if (SWIG_arg_fail(1)) SWIG_fail
;
28720 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(2)) SWIG_fail
;
28722 if (arg2
== NULL
) {
28723 SWIG_null_ref("wxTreeItemId");
28725 if (SWIG_arg_fail(2)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28735 wxColour
* resultptr
;
28736 resultptr
= new wxColour((wxColour
&)(result
));
28737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28745 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28748 wxTreeItemId
*arg2
= 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self",(char *) "item", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28758 if (SWIG_arg_fail(1)) SWIG_fail
;
28760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28761 if (SWIG_arg_fail(2)) SWIG_fail
;
28762 if (arg2
== NULL
) {
28763 SWIG_null_ref("wxTreeItemId");
28765 if (SWIG_arg_fail(2)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 wxFont
* resultptr
;
28776 resultptr
= new wxFont((wxFont
&)(result
));
28777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28785 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28788 wxTreeItemId
*arg2
= 0 ;
28789 wxString
*arg3
= 0 ;
28790 bool temp3
= false ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "item",(char *) "text", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(1)) SWIG_fail
;
28802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 if (arg2
== NULL
) {
28805 SWIG_null_ref("wxTreeItemId");
28807 if (SWIG_arg_fail(2)) SWIG_fail
;
28810 arg3
= wxString_in_helper(obj2
);
28811 if (arg3
== NULL
) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 Py_INCREF(Py_None
); resultobj
= Py_None
;
28836 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28839 wxTreeItemId
*arg2
= 0 ;
28841 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28842 PyObject
* obj0
= 0 ;
28843 PyObject
* obj1
= 0 ;
28844 PyObject
* obj2
= 0 ;
28845 PyObject
* obj3
= 0 ;
28846 char *kwnames
[] = {
28847 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28852 if (SWIG_arg_fail(1)) SWIG_fail
;
28854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28855 if (SWIG_arg_fail(2)) SWIG_fail
;
28856 if (arg2
== NULL
) {
28857 SWIG_null_ref("wxTreeItemId");
28859 if (SWIG_arg_fail(2)) SWIG_fail
;
28862 arg3
= (int)(SWIG_As_int(obj2
));
28863 if (SWIG_arg_fail(3)) SWIG_fail
;
28867 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28868 if (SWIG_arg_fail(4)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28888 wxTreeItemId
*arg2
= 0 ;
28889 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 PyObject
* obj2
= 0 ;
28893 char *kwnames
[] = {
28894 (char *) "self",(char *) "item",(char *) "data", NULL
28897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28899 if (SWIG_arg_fail(1)) SWIG_fail
;
28901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28902 if (SWIG_arg_fail(2)) SWIG_fail
;
28903 if (arg2
== NULL
) {
28904 SWIG_null_ref("wxTreeItemId");
28906 if (SWIG_arg_fail(2)) SWIG_fail
;
28908 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28909 if (SWIG_arg_fail(3)) SWIG_fail
;
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 Py_INCREF(Py_None
); resultobj
= Py_None
;
28924 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28927 wxTreeItemId
*arg2
= 0 ;
28928 PyObject
*arg3
= (PyObject
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 PyObject
* obj2
= 0 ;
28932 char *kwnames
[] = {
28933 (char *) "self",(char *) "item",(char *) "obj", NULL
28936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28938 if (SWIG_arg_fail(1)) SWIG_fail
;
28940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28941 if (SWIG_arg_fail(2)) SWIG_fail
;
28942 if (arg2
== NULL
) {
28943 SWIG_null_ref("wxTreeItemId");
28945 if (SWIG_arg_fail(2)) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28965 wxTreeItemId
*arg2
= 0 ;
28966 bool arg3
= (bool) true ;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "item",(char *) "has", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28976 if (SWIG_arg_fail(1)) SWIG_fail
;
28978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28979 if (SWIG_arg_fail(2)) SWIG_fail
;
28980 if (arg2
== NULL
) {
28981 SWIG_null_ref("wxTreeItemId");
28983 if (SWIG_arg_fail(2)) SWIG_fail
;
28987 arg3
= (bool)(SWIG_As_bool(obj2
));
28988 if (SWIG_arg_fail(3)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 Py_INCREF(Py_None
); resultobj
= Py_None
;
29005 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29008 wxTreeItemId
*arg2
= 0 ;
29009 bool arg3
= (bool) true ;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 PyObject
* obj2
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "item",(char *) "bold", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29022 if (SWIG_arg_fail(2)) SWIG_fail
;
29023 if (arg2
== NULL
) {
29024 SWIG_null_ref("wxTreeItemId");
29026 if (SWIG_arg_fail(2)) SWIG_fail
;
29030 arg3
= (bool)(SWIG_As_bool(obj2
));
29031 if (SWIG_arg_fail(3)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 Py_INCREF(Py_None
); resultobj
= Py_None
;
29048 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29051 wxTreeItemId
*arg2
= 0 ;
29052 bool arg3
= (bool) true ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 PyObject
* obj2
= 0 ;
29056 char *kwnames
[] = {
29057 (char *) "self",(char *) "item",(char *) "highlight", NULL
29060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29062 if (SWIG_arg_fail(1)) SWIG_fail
;
29064 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29065 if (SWIG_arg_fail(2)) SWIG_fail
;
29066 if (arg2
== NULL
) {
29067 SWIG_null_ref("wxTreeItemId");
29069 if (SWIG_arg_fail(2)) SWIG_fail
;
29073 arg3
= (bool)(SWIG_As_bool(obj2
));
29074 if (SWIG_arg_fail(3)) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 Py_INCREF(Py_None
); resultobj
= Py_None
;
29091 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29092 PyObject
*resultobj
;
29093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29094 wxTreeItemId
*arg2
= 0 ;
29095 wxColour
*arg3
= 0 ;
29097 PyObject
* obj0
= 0 ;
29098 PyObject
* obj1
= 0 ;
29099 PyObject
* obj2
= 0 ;
29100 char *kwnames
[] = {
29101 (char *) "self",(char *) "item",(char *) "col", NULL
29104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29106 if (SWIG_arg_fail(1)) SWIG_fail
;
29108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29109 if (SWIG_arg_fail(2)) SWIG_fail
;
29110 if (arg2
== NULL
) {
29111 SWIG_null_ref("wxTreeItemId");
29113 if (SWIG_arg_fail(2)) SWIG_fail
;
29117 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 Py_INCREF(Py_None
); resultobj
= Py_None
;
29133 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29136 wxTreeItemId
*arg2
= 0 ;
29137 wxColour
*arg3
= 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "item",(char *) "col", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(1)) SWIG_fail
;
29150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29151 if (SWIG_arg_fail(2)) SWIG_fail
;
29152 if (arg2
== NULL
) {
29153 SWIG_null_ref("wxTreeItemId");
29155 if (SWIG_arg_fail(2)) SWIG_fail
;
29159 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29178 wxTreeItemId
*arg2
= 0 ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 PyObject
* obj2
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self",(char *) "item",(char *) "font", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29189 if (SWIG_arg_fail(1)) SWIG_fail
;
29191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29192 if (SWIG_arg_fail(2)) SWIG_fail
;
29193 if (arg2
== NULL
) {
29194 SWIG_null_ref("wxTreeItemId");
29196 if (SWIG_arg_fail(2)) SWIG_fail
;
29199 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29200 if (SWIG_arg_fail(3)) SWIG_fail
;
29201 if (arg3
== NULL
) {
29202 SWIG_null_ref("wxFont");
29204 if (SWIG_arg_fail(3)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 Py_INCREF(Py_None
); resultobj
= Py_None
;
29220 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29223 wxTreeItemId
*arg2
= 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char *kwnames
[] = {
29228 (char *) "self",(char *) "item", NULL
29231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29233 if (SWIG_arg_fail(1)) SWIG_fail
;
29235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29236 if (SWIG_arg_fail(2)) SWIG_fail
;
29237 if (arg2
== NULL
) {
29238 SWIG_null_ref("wxTreeItemId");
29240 if (SWIG_arg_fail(2)) SWIG_fail
;
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29258 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29261 wxTreeItemId
*arg2
= 0 ;
29263 PyObject
* obj0
= 0 ;
29264 PyObject
* obj1
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self",(char *) "item", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29271 if (SWIG_arg_fail(1)) SWIG_fail
;
29273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29274 if (SWIG_arg_fail(2)) SWIG_fail
;
29275 if (arg2
== NULL
) {
29276 SWIG_null_ref("wxTreeItemId");
29278 if (SWIG_arg_fail(2)) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29296 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29299 wxTreeItemId
*arg2
= 0 ;
29301 PyObject
* obj0
= 0 ;
29302 PyObject
* obj1
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self",(char *) "item", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29309 if (SWIG_arg_fail(1)) SWIG_fail
;
29311 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29312 if (SWIG_arg_fail(2)) SWIG_fail
;
29313 if (arg2
== NULL
) {
29314 SWIG_null_ref("wxTreeItemId");
29316 if (SWIG_arg_fail(2)) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29334 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29337 wxTreeItemId
*arg2
= 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 char *kwnames
[] = {
29342 (char *) "self",(char *) "item", NULL
29345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail
;
29349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29350 if (SWIG_arg_fail(2)) SWIG_fail
;
29351 if (arg2
== NULL
) {
29352 SWIG_null_ref("wxTreeItemId");
29354 if (SWIG_arg_fail(2)) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29372 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29375 wxTreeItemId
*arg2
= 0 ;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "item", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29385 if (SWIG_arg_fail(1)) SWIG_fail
;
29387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29388 if (SWIG_arg_fail(2)) SWIG_fail
;
29389 if (arg2
== NULL
) {
29390 SWIG_null_ref("wxTreeItemId");
29392 if (SWIG_arg_fail(2)) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29410 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29413 wxTreeItemId
*arg2
= 0 ;
29414 bool arg3
= (bool) true ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 PyObject
* obj2
= 0 ;
29419 char *kwnames
[] = {
29420 (char *) "self",(char *) "item",(char *) "recursively", NULL
29423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29425 if (SWIG_arg_fail(1)) SWIG_fail
;
29427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29428 if (SWIG_arg_fail(2)) SWIG_fail
;
29429 if (arg2
== NULL
) {
29430 SWIG_null_ref("wxTreeItemId");
29432 if (SWIG_arg_fail(2)) SWIG_fail
;
29436 arg3
= (bool)(SWIG_As_bool(obj2
));
29437 if (SWIG_arg_fail(3)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29456 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29459 wxTreeItemId result
;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29467 if (SWIG_arg_fail(1)) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 wxTreeItemId
* resultptr
;
29477 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29486 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29489 wxTreeItemId result
;
29490 PyObject
* obj0
= 0 ;
29491 char *kwnames
[] = {
29492 (char *) "self", NULL
29495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29497 if (SWIG_arg_fail(1)) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29506 wxTreeItemId
* resultptr
;
29507 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29516 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29517 PyObject
*resultobj
;
29518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 char *kwnames
[] = {
29522 (char *) "self", NULL
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29527 if (SWIG_arg_fail(1)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= result
;
29542 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29545 wxTreeItemId
*arg2
= 0 ;
29546 wxTreeItemId result
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "item", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail
;
29557 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29558 if (SWIG_arg_fail(2)) SWIG_fail
;
29559 if (arg2
== NULL
) {
29560 SWIG_null_ref("wxTreeItemId");
29562 if (SWIG_arg_fail(2)) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 wxTreeItemId
* resultptr
;
29573 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29582 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29585 wxTreeItemId
*arg2
= 0 ;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "item", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail
;
29597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29598 if (SWIG_arg_fail(2)) SWIG_fail
;
29599 if (arg2
== NULL
) {
29600 SWIG_null_ref("wxTreeItemId");
29602 if (SWIG_arg_fail(2)) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= result
;
29618 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29621 wxTreeItemId
*arg2
= 0 ;
29622 void *arg3
= (void *) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 PyObject
* obj2
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self",(char *) "item",(char *) "cookie", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29636 if (SWIG_arg_fail(2)) SWIG_fail
;
29637 if (arg2
== NULL
) {
29638 SWIG_null_ref("wxTreeItemId");
29640 if (SWIG_arg_fail(2)) SWIG_fail
;
29643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29644 SWIG_arg_fail(3);SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= result
;
29661 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
;
29663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29664 wxTreeItemId
*arg2
= 0 ;
29665 wxTreeItemId result
;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self",(char *) "item", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29677 if (SWIG_arg_fail(2)) SWIG_fail
;
29678 if (arg2
== NULL
) {
29679 SWIG_null_ref("wxTreeItemId");
29681 if (SWIG_arg_fail(2)) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29691 wxTreeItemId
* resultptr
;
29692 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29701 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29704 wxTreeItemId
*arg2
= 0 ;
29705 wxTreeItemId result
;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "item", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail
;
29716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(2)) SWIG_fail
;
29718 if (arg2
== NULL
) {
29719 SWIG_null_ref("wxTreeItemId");
29721 if (SWIG_arg_fail(2)) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29731 wxTreeItemId
* resultptr
;
29732 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29741 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
;
29743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29744 wxTreeItemId
*arg2
= 0 ;
29745 wxTreeItemId result
;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 char *kwnames
[] = {
29749 (char *) "self",(char *) "item", NULL
29752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail
;
29756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(2)) SWIG_fail
;
29758 if (arg2
== NULL
) {
29759 SWIG_null_ref("wxTreeItemId");
29761 if (SWIG_arg_fail(2)) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29771 wxTreeItemId
* resultptr
;
29772 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29781 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29784 wxTreeItemId result
;
29785 PyObject
* obj0
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29801 wxTreeItemId
* resultptr
;
29802 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29811 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29814 wxTreeItemId
*arg2
= 0 ;
29815 wxTreeItemId result
;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self",(char *) "item", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29824 if (SWIG_arg_fail(1)) SWIG_fail
;
29826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29827 if (SWIG_arg_fail(2)) SWIG_fail
;
29828 if (arg2
== NULL
) {
29829 SWIG_null_ref("wxTreeItemId");
29831 if (SWIG_arg_fail(2)) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 wxTreeItemId
* resultptr
;
29842 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29851 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29854 wxTreeItemId
*arg2
= 0 ;
29855 wxTreeItemId result
;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "item", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29867 if (SWIG_arg_fail(2)) SWIG_fail
;
29868 if (arg2
== NULL
) {
29869 SWIG_null_ref("wxTreeItemId");
29871 if (SWIG_arg_fail(2)) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29881 wxTreeItemId
* resultptr
;
29882 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29891 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29894 wxString
*arg2
= 0 ;
29895 int arg3
= (int) -1 ;
29896 int arg4
= (int) -1 ;
29897 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29898 wxTreeItemId result
;
29899 bool temp2
= false ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 PyObject
* obj2
= 0 ;
29903 PyObject
* obj3
= 0 ;
29904 PyObject
* obj4
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29911 if (SWIG_arg_fail(1)) SWIG_fail
;
29913 arg2
= wxString_in_helper(obj1
);
29914 if (arg2
== NULL
) SWIG_fail
;
29919 arg3
= (int)(SWIG_As_int(obj2
));
29920 if (SWIG_arg_fail(3)) SWIG_fail
;
29925 arg4
= (int)(SWIG_As_int(obj3
));
29926 if (SWIG_arg_fail(4)) SWIG_fail
;
29930 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(5)) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 wxTreeItemId
* resultptr
;
29942 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29959 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29962 wxTreeItemId
*arg2
= 0 ;
29963 wxString
*arg3
= 0 ;
29964 int arg4
= (int) -1 ;
29965 int arg5
= (int) -1 ;
29966 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29967 wxTreeItemId result
;
29968 bool temp3
= false ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 PyObject
* obj2
= 0 ;
29972 PyObject
* obj3
= 0 ;
29973 PyObject
* obj4
= 0 ;
29974 PyObject
* obj5
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail
;
29983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(2)) SWIG_fail
;
29985 if (arg2
== NULL
) {
29986 SWIG_null_ref("wxTreeItemId");
29988 if (SWIG_arg_fail(2)) SWIG_fail
;
29991 arg3
= wxString_in_helper(obj2
);
29992 if (arg3
== NULL
) SWIG_fail
;
29997 arg4
= (int)(SWIG_As_int(obj3
));
29998 if (SWIG_arg_fail(4)) SWIG_fail
;
30003 arg5
= (int)(SWIG_As_int(obj4
));
30004 if (SWIG_arg_fail(5)) SWIG_fail
;
30008 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(6)) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 wxTreeItemId
* resultptr
;
30020 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30037 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30040 wxTreeItemId
*arg2
= 0 ;
30041 wxTreeItemId
*arg3
= 0 ;
30042 wxString
*arg4
= 0 ;
30043 int arg5
= (int) -1 ;
30044 int arg6
= (int) -1 ;
30045 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30046 wxTreeItemId result
;
30047 bool temp4
= false ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 PyObject
* obj2
= 0 ;
30051 PyObject
* obj3
= 0 ;
30052 PyObject
* obj4
= 0 ;
30053 PyObject
* obj5
= 0 ;
30054 PyObject
* obj6
= 0 ;
30055 char *kwnames
[] = {
30056 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30061 if (SWIG_arg_fail(1)) SWIG_fail
;
30063 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30064 if (SWIG_arg_fail(2)) SWIG_fail
;
30065 if (arg2
== NULL
) {
30066 SWIG_null_ref("wxTreeItemId");
30068 if (SWIG_arg_fail(2)) SWIG_fail
;
30071 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30072 if (SWIG_arg_fail(3)) SWIG_fail
;
30073 if (arg3
== NULL
) {
30074 SWIG_null_ref("wxTreeItemId");
30076 if (SWIG_arg_fail(3)) SWIG_fail
;
30079 arg4
= wxString_in_helper(obj3
);
30080 if (arg4
== NULL
) SWIG_fail
;
30085 arg5
= (int)(SWIG_As_int(obj4
));
30086 if (SWIG_arg_fail(5)) SWIG_fail
;
30091 arg6
= (int)(SWIG_As_int(obj5
));
30092 if (SWIG_arg_fail(6)) SWIG_fail
;
30096 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(7)) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30107 wxTreeItemId
* resultptr
;
30108 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30125 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30128 wxTreeItemId
*arg2
= 0 ;
30130 wxString
*arg4
= 0 ;
30131 int arg5
= (int) -1 ;
30132 int arg6
= (int) -1 ;
30133 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30134 wxTreeItemId result
;
30135 bool temp4
= false ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 PyObject
* obj2
= 0 ;
30139 PyObject
* obj3
= 0 ;
30140 PyObject
* obj4
= 0 ;
30141 PyObject
* obj5
= 0 ;
30142 PyObject
* obj6
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30149 if (SWIG_arg_fail(1)) SWIG_fail
;
30151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(2)) SWIG_fail
;
30153 if (arg2
== NULL
) {
30154 SWIG_null_ref("wxTreeItemId");
30156 if (SWIG_arg_fail(2)) SWIG_fail
;
30159 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30160 if (SWIG_arg_fail(3)) SWIG_fail
;
30163 arg4
= wxString_in_helper(obj3
);
30164 if (arg4
== NULL
) SWIG_fail
;
30169 arg5
= (int)(SWIG_As_int(obj4
));
30170 if (SWIG_arg_fail(5)) SWIG_fail
;
30175 arg6
= (int)(SWIG_As_int(obj5
));
30176 if (SWIG_arg_fail(6)) SWIG_fail
;
30180 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(7)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 wxTreeItemId
* resultptr
;
30192 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30209 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30212 wxTreeItemId
*arg2
= 0 ;
30213 wxString
*arg3
= 0 ;
30214 int arg4
= (int) -1 ;
30215 int arg5
= (int) -1 ;
30216 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30217 wxTreeItemId result
;
30218 bool temp3
= false ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 PyObject
* obj5
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30231 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30235 if (arg2
== NULL
) {
30236 SWIG_null_ref("wxTreeItemId");
30238 if (SWIG_arg_fail(2)) SWIG_fail
;
30241 arg3
= wxString_in_helper(obj2
);
30242 if (arg3
== NULL
) SWIG_fail
;
30247 arg4
= (int)(SWIG_As_int(obj3
));
30248 if (SWIG_arg_fail(4)) SWIG_fail
;
30253 arg5
= (int)(SWIG_As_int(obj4
));
30254 if (SWIG_arg_fail(5)) SWIG_fail
;
30258 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30259 if (SWIG_arg_fail(6)) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 wxTreeItemId
* resultptr
;
30270 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30287 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30290 wxTreeItemId
*arg2
= 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self",(char *) "item", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail
;
30301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30302 if (SWIG_arg_fail(2)) SWIG_fail
;
30303 if (arg2
== NULL
) {
30304 SWIG_null_ref("wxTreeItemId");
30306 if (SWIG_arg_fail(2)) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 Py_INCREF(Py_None
); resultobj
= Py_None
;
30322 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30325 wxTreeItemId
*arg2
= 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "item", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30334 if (SWIG_arg_fail(1)) SWIG_fail
;
30336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30337 if (SWIG_arg_fail(2)) SWIG_fail
;
30338 if (arg2
== NULL
) {
30339 SWIG_null_ref("wxTreeItemId");
30341 if (SWIG_arg_fail(2)) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 Py_INCREF(Py_None
); resultobj
= Py_None
;
30357 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
;
30359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30360 PyObject
* obj0
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30367 if (SWIG_arg_fail(1)) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->DeleteAllItems();
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30382 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30385 wxTreeItemId
*arg2
= 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "item", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30398 if (arg2
== NULL
) {
30399 SWIG_null_ref("wxTreeItemId");
30401 if (SWIG_arg_fail(2)) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 Py_INCREF(Py_None
); resultobj
= Py_None
;
30417 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30420 wxTreeItemId
*arg2
= 0 ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "item", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30429 if (SWIG_arg_fail(1)) SWIG_fail
;
30431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30432 if (SWIG_arg_fail(2)) SWIG_fail
;
30433 if (arg2
== NULL
) {
30434 SWIG_null_ref("wxTreeItemId");
30436 if (SWIG_arg_fail(2)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 Py_INCREF(Py_None
); resultobj
= Py_None
;
30452 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
;
30454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30455 wxTreeItemId
*arg2
= 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self",(char *) "item", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30464 if (SWIG_arg_fail(1)) SWIG_fail
;
30466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30467 if (SWIG_arg_fail(2)) SWIG_fail
;
30468 if (arg2
== NULL
) {
30469 SWIG_null_ref("wxTreeItemId");
30471 if (SWIG_arg_fail(2)) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 Py_INCREF(Py_None
); resultobj
= Py_None
;
30487 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
;
30489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30490 wxTreeItemId
*arg2
= 0 ;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 char *kwnames
[] = {
30494 (char *) "self",(char *) "item", NULL
30497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30499 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30502 if (SWIG_arg_fail(2)) SWIG_fail
;
30503 if (arg2
== NULL
) {
30504 SWIG_null_ref("wxTreeItemId");
30506 if (SWIG_arg_fail(2)) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 Py_INCREF(Py_None
); resultobj
= Py_None
;
30522 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
;
30524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->Unselect();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 Py_INCREF(Py_None
); resultobj
= Py_None
;
30547 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
;
30549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30550 wxTreeItemId
*arg2
= 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "self",(char *) "item", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail
;
30561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30562 if (SWIG_arg_fail(2)) SWIG_fail
;
30563 if (arg2
== NULL
) {
30564 SWIG_null_ref("wxTreeItemId");
30566 if (SWIG_arg_fail(2)) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30585 PyObject
* obj0
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30592 if (SWIG_arg_fail(1)) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->UnselectAll();
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30610 wxTreeItemId
*arg2
= 0 ;
30611 bool arg3
= (bool) true ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "item",(char *) "select", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30621 if (SWIG_arg_fail(1)) SWIG_fail
;
30623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30624 if (SWIG_arg_fail(2)) SWIG_fail
;
30625 if (arg2
== NULL
) {
30626 SWIG_null_ref("wxTreeItemId");
30628 if (SWIG_arg_fail(2)) SWIG_fail
;
30632 arg3
= (bool)(SWIG_As_bool(obj2
));
30633 if (SWIG_arg_fail(3)) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 Py_INCREF(Py_None
); resultobj
= Py_None
;
30650 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30653 wxTreeItemId
*arg2
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "item", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30665 if (SWIG_arg_fail(2)) SWIG_fail
;
30666 if (arg2
== NULL
) {
30667 SWIG_null_ref("wxTreeItemId");
30669 if (SWIG_arg_fail(2)) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30688 wxTreeItemId
*arg2
= 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char *kwnames
[] = {
30692 (char *) "self",(char *) "item", NULL
30695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30697 if (SWIG_arg_fail(1)) SWIG_fail
;
30699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30700 if (SWIG_arg_fail(2)) SWIG_fail
;
30701 if (arg2
== NULL
) {
30702 SWIG_null_ref("wxTreeItemId");
30704 if (SWIG_arg_fail(2)) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30723 wxTreeItemId
*arg2
= 0 ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char *kwnames
[] = {
30727 (char *) "self",(char *) "item", NULL
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail
;
30734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(2)) SWIG_fail
;
30736 if (arg2
== NULL
) {
30737 SWIG_null_ref("wxTreeItemId");
30739 if (SWIG_arg_fail(2)) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30755 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
;
30757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30758 wxTreeItemId
*arg2
= 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char *kwnames
[] = {
30762 (char *) "self",(char *) "item", NULL
30765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30767 if (SWIG_arg_fail(1)) SWIG_fail
;
30769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30770 if (SWIG_arg_fail(2)) SWIG_fail
;
30771 if (arg2
== NULL
) {
30772 SWIG_null_ref("wxTreeItemId");
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 Py_INCREF(Py_None
); resultobj
= Py_None
;
30790 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30791 PyObject
*resultobj
;
30792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30793 wxTextCtrl
*result
;
30794 PyObject
* obj0
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30801 if (SWIG_arg_fail(1)) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= wxPyMake_wxObject(result
, 0);
30818 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30821 wxTreeItemId
*arg2
= 0 ;
30822 bool arg3
= (bool) false ;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 PyObject
* obj2
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30835 if (SWIG_arg_fail(2)) SWIG_fail
;
30836 if (arg2
== NULL
) {
30837 SWIG_null_ref("wxTreeItemId");
30839 if (SWIG_arg_fail(2)) SWIG_fail
;
30843 arg3
= (bool)(SWIG_As_bool(obj2
));
30844 if (SWIG_arg_fail(3)) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30854 Py_INCREF(Py_None
); resultobj
= Py_None
;
30861 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
;
30863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30864 wxTreeItemId
*arg2
= 0 ;
30865 PyObject
* obj0
= 0 ;
30866 PyObject
* obj1
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self",(char *) "item", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30873 if (SWIG_arg_fail(1)) SWIG_fail
;
30875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30876 if (SWIG_arg_fail(2)) SWIG_fail
;
30877 if (arg2
== NULL
) {
30878 SWIG_null_ref("wxTreeItemId");
30880 if (SWIG_arg_fail(2)) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 Py_INCREF(Py_None
); resultobj
= Py_None
;
30896 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30899 wxPoint
*arg2
= 0 ;
30901 wxTreeItemId result
;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self",(char *) "point", NULL
30911 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30914 if (SWIG_arg_fail(1)) SWIG_fail
;
30917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30927 wxTreeItemId
* resultptr
;
30928 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30931 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30932 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30939 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30942 wxTreeItemId
*arg2
= 0 ;
30943 bool arg3
= (bool) false ;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 PyObject
* obj2
= 0 ;
30948 char *kwnames
[] = {
30949 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30954 if (SWIG_arg_fail(1)) SWIG_fail
;
30956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30957 if (SWIG_arg_fail(2)) SWIG_fail
;
30958 if (arg2
== NULL
) {
30959 SWIG_null_ref("wxTreeItemId");
30961 if (SWIG_arg_fail(2)) SWIG_fail
;
30965 arg3
= (bool)(SWIG_As_bool(obj2
));
30966 if (SWIG_arg_fail(3)) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= result
;
30983 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30986 wxTreeItemId
*arg2
= 0 ;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 PyObject
* obj2
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "self",(char *) "node",(char *) "state", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(1)) SWIG_fail
;
30999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31000 if (SWIG_arg_fail(2)) SWIG_fail
;
31001 if (arg2
== NULL
) {
31002 SWIG_null_ref("wxTreeItemId");
31004 if (SWIG_arg_fail(2)) SWIG_fail
;
31007 arg3
= (int)(SWIG_As_int(obj2
));
31008 if (SWIG_arg_fail(3)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 Py_INCREF(Py_None
); resultobj
= Py_None
;
31024 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
31027 wxTreeItemId
*arg2
= 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "node", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
31040 if (SWIG_arg_fail(2)) SWIG_fail
;
31041 if (arg2
== NULL
) {
31042 SWIG_null_ref("wxTreeItemId");
31044 if (SWIG_arg_fail(2)) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= SWIG_From_int((int)(result
));
31062 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
;
31064 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31065 wxVisualAttributes result
;
31066 PyObject
* obj0
= 0 ;
31067 char *kwnames
[] = {
31068 (char *) "variant", NULL
31071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
31074 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
31075 if (SWIG_arg_fail(1)) SWIG_fail
;
31079 if (!wxPyCheckForApp()) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31087 wxVisualAttributes
* resultptr
;
31088 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
31089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
31097 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
31099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31100 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
31102 return Py_BuildValue((char *)"");
31104 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
31105 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
31110 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
31115 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31117 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
31124 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31125 PyObject
*resultobj
;
31126 wxWindow
*arg1
= (wxWindow
*) 0 ;
31127 int arg2
= (int) (int)-1 ;
31128 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
31129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31134 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31135 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31137 int arg8
= (int) 0 ;
31138 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31139 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31140 wxGenericDirCtrl
*result
;
31141 bool temp3
= false ;
31144 bool temp7
= false ;
31145 bool temp9
= false ;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 PyObject
* obj2
= 0 ;
31149 PyObject
* obj3
= 0 ;
31150 PyObject
* obj4
= 0 ;
31151 PyObject
* obj5
= 0 ;
31152 PyObject
* obj6
= 0 ;
31153 PyObject
* obj7
= 0 ;
31154 PyObject
* obj8
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(1)) SWIG_fail
;
31164 arg2
= (int const)(SWIG_As_int(obj1
));
31165 if (SWIG_arg_fail(2)) SWIG_fail
;
31170 arg3
= wxString_in_helper(obj2
);
31171 if (arg3
== NULL
) SWIG_fail
;
31178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31189 arg6
= (long)(SWIG_As_long(obj5
));
31190 if (SWIG_arg_fail(6)) SWIG_fail
;
31195 arg7
= wxString_in_helper(obj6
);
31196 if (arg7
== NULL
) SWIG_fail
;
31202 arg8
= (int)(SWIG_As_int(obj7
));
31203 if (SWIG_arg_fail(8)) SWIG_fail
;
31208 arg9
= wxString_in_helper(obj8
);
31209 if (arg9
== NULL
) SWIG_fail
;
31214 if (!wxPyCheckForApp()) SWIG_fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31252 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 wxGenericDirCtrl
*result
;
31255 char *kwnames
[] = {
31259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31261 if (!wxPyCheckForApp()) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31275 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31276 PyObject
*resultobj
;
31277 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31278 wxWindow
*arg2
= (wxWindow
*) 0 ;
31279 int arg3
= (int) (int)-1 ;
31280 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31282 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31283 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31284 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31285 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31286 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31287 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31289 int arg9
= (int) 0 ;
31290 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31291 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31293 bool temp4
= false ;
31296 bool temp8
= false ;
31297 bool temp10
= false ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 PyObject
* obj2
= 0 ;
31301 PyObject
* obj3
= 0 ;
31302 PyObject
* obj4
= 0 ;
31303 PyObject
* obj5
= 0 ;
31304 PyObject
* obj6
= 0 ;
31305 PyObject
* obj7
= 0 ;
31306 PyObject
* obj8
= 0 ;
31307 PyObject
* obj9
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31314 if (SWIG_arg_fail(1)) SWIG_fail
;
31315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(2)) SWIG_fail
;
31319 arg3
= (int const)(SWIG_As_int(obj2
));
31320 if (SWIG_arg_fail(3)) SWIG_fail
;
31325 arg4
= wxString_in_helper(obj3
);
31326 if (arg4
== NULL
) SWIG_fail
;
31333 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31339 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31344 arg7
= (long)(SWIG_As_long(obj6
));
31345 if (SWIG_arg_fail(7)) SWIG_fail
;
31350 arg8
= wxString_in_helper(obj7
);
31351 if (arg8
== NULL
) SWIG_fail
;
31357 arg9
= (int)(SWIG_As_int(obj8
));
31358 if (SWIG_arg_fail(9)) SWIG_fail
;
31363 arg10
= wxString_in_helper(obj9
);
31364 if (arg10
== NULL
) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31408 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31409 PyObject
*resultobj
;
31410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31411 wxString
*arg2
= 0 ;
31413 bool temp2
= false ;
31414 PyObject
* obj0
= 0 ;
31415 PyObject
* obj1
= 0 ;
31416 char *kwnames
[] = {
31417 (char *) "self",(char *) "path", NULL
31420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31422 if (SWIG_arg_fail(1)) SWIG_fail
;
31424 arg2
= wxString_in_helper(obj1
);
31425 if (arg2
== NULL
) SWIG_fail
;
31429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31430 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31452 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
;
31454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 char *kwnames
[] = {
31458 (char *) "self", NULL
31461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(1)) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31484 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31487 wxString
*arg2
= 0 ;
31488 bool temp2
= false ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 char *kwnames
[] = {
31492 (char *) "self",(char *) "path", NULL
31495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31497 if (SWIG_arg_fail(1)) SWIG_fail
;
31499 arg2
= wxString_in_helper(obj1
);
31500 if (arg2
== NULL
) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31525 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31527 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31529 PyObject
* obj0
= 0 ;
31530 char *kwnames
[] = {
31531 (char *) "self", NULL
31534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31536 if (SWIG_arg_fail(1)) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31557 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31561 PyObject
* obj0
= 0 ;
31562 char *kwnames
[] = {
31563 (char *) "self", NULL
31566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31568 if (SWIG_arg_fail(1)) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31589 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31592 wxString
*arg2
= 0 ;
31593 bool temp2
= false ;
31594 PyObject
* obj0
= 0 ;
31595 PyObject
* obj1
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "self",(char *) "path", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31602 if (SWIG_arg_fail(1)) SWIG_fail
;
31604 arg2
= wxString_in_helper(obj1
);
31605 if (arg2
== NULL
) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetPath((wxString
const &)*arg2
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31634 PyObject
* obj0
= 0 ;
31635 PyObject
* obj1
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "self",(char *) "show", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail
;
31644 arg2
= (bool)(SWIG_As_bool(obj1
));
31645 if (SWIG_arg_fail(2)) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 (arg1
)->ShowHidden(arg2
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 Py_INCREF(Py_None
); resultobj
= Py_None
;
31661 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31665 PyObject
* obj0
= 0 ;
31666 char *kwnames
[] = {
31667 (char *) "self", NULL
31670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31672 if (SWIG_arg_fail(1)) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (bool)(arg1
)->GetShowHidden();
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31689 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
;
31691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31693 PyObject
* obj0
= 0 ;
31694 char *kwnames
[] = {
31695 (char *) "self", NULL
31698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31700 if (SWIG_arg_fail(1)) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31721 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
;
31723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31724 wxString
*arg2
= 0 ;
31725 bool temp2
= false ;
31726 PyObject
* obj0
= 0 ;
31727 PyObject
* obj1
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self",(char *) "filter", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31734 if (SWIG_arg_fail(1)) SWIG_fail
;
31736 arg2
= wxString_in_helper(obj1
);
31737 if (arg2
== NULL
) SWIG_fail
;
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 (arg1
)->SetFilter((wxString
const &)*arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 Py_INCREF(Py_None
); resultobj
= Py_None
;
31762 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= SWIG_From_int((int)(result
));
31790 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 PyObject
* obj1
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self",(char *) "n", NULL
31800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31802 if (SWIG_arg_fail(1)) SWIG_fail
;
31804 arg2
= (int)(SWIG_As_int(obj1
));
31805 if (SWIG_arg_fail(2)) SWIG_fail
;
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 (arg1
)->SetFilterIndex(arg2
);
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31814 Py_INCREF(Py_None
); resultobj
= Py_None
;
31821 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
;
31823 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31824 wxTreeItemId result
;
31825 PyObject
* obj0
= 0 ;
31826 char *kwnames
[] = {
31827 (char *) "self", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31832 if (SWIG_arg_fail(1)) SWIG_fail
;
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 result
= (arg1
)->GetRootId();
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31841 wxTreeItemId
* resultptr
;
31842 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31851 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31854 wxPyTreeCtrl
*result
;
31855 PyObject
* obj0
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31862 if (SWIG_arg_fail(1)) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= wxPyMake_wxObject(result
, 0);
31879 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31882 wxDirFilterListCtrl
*result
;
31883 PyObject
* obj0
= 0 ;
31884 char *kwnames
[] = {
31885 (char *) "self", NULL
31888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31890 if (SWIG_arg_fail(1)) SWIG_fail
;
31892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31895 wxPyEndAllowThreads(__tstate
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31905 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
;
31907 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31908 wxTreeItemId arg2
;
31909 wxString
*arg3
= 0 ;
31911 wxTreeItemId result
;
31912 bool temp3
= false ;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 PyObject
* obj2
= 0 ;
31918 char *kwnames
[] = {
31919 (char *) "self",(char *) "parentId",(char *) "path", NULL
31922 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail
;
31927 wxTreeItemId
* argp
;
31928 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31929 if (SWIG_arg_fail(2)) SWIG_fail
;
31930 if (argp
== NULL
) {
31931 SWIG_null_ref("wxTreeItemId");
31933 if (SWIG_arg_fail(2)) SWIG_fail
;
31937 arg3
= wxString_in_helper(obj2
);
31938 if (arg3
== NULL
) SWIG_fail
;
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 wxTreeItemId
* resultptr
;
31950 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31953 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31954 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31969 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
;
31971 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31972 PyObject
* obj0
= 0 ;
31973 char *kwnames
[] = {
31974 (char *) "self", NULL
31977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31979 if (SWIG_arg_fail(1)) SWIG_fail
;
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 (arg1
)->DoResize();
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 Py_INCREF(Py_None
); resultobj
= Py_None
;
31994 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
;
31996 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31997 PyObject
* obj0
= 0 ;
31998 char *kwnames
[] = {
31999 (char *) "self", NULL
32002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
32003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32004 if (SWIG_arg_fail(1)) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->ReCreateTree();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
32021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32022 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
32024 return Py_BuildValue((char *)"");
32026 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
32029 int arg2
= (int) (int)-1 ;
32030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32034 long arg5
= (long) 0 ;
32035 wxDirFilterListCtrl
*result
;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 PyObject
* obj2
= 0 ;
32041 PyObject
* obj3
= 0 ;
32042 PyObject
* obj4
= 0 ;
32043 char *kwnames
[] = {
32044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32049 if (SWIG_arg_fail(1)) SWIG_fail
;
32052 arg2
= (int const)(SWIG_As_int(obj1
));
32053 if (SWIG_arg_fail(2)) SWIG_fail
;
32059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32070 arg5
= (long)(SWIG_As_long(obj4
));
32071 if (SWIG_arg_fail(5)) SWIG_fail
;
32075 if (!wxPyCheckForApp()) SWIG_fail
;
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32089 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32090 PyObject
*resultobj
;
32091 wxDirFilterListCtrl
*result
;
32092 char *kwnames
[] = {
32096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
32098 if (!wxPyCheckForApp()) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
32112 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32113 PyObject
*resultobj
;
32114 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32115 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
32116 int arg3
= (int) (int)-1 ;
32117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32121 long arg6
= (long) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 PyObject
* obj1
= 0 ;
32127 PyObject
* obj2
= 0 ;
32128 PyObject
* obj3
= 0 ;
32129 PyObject
* obj4
= 0 ;
32130 PyObject
* obj5
= 0 ;
32131 char *kwnames
[] = {
32132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32137 if (SWIG_arg_fail(1)) SWIG_fail
;
32138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32139 if (SWIG_arg_fail(2)) SWIG_fail
;
32142 arg3
= (int const)(SWIG_As_int(obj2
));
32143 if (SWIG_arg_fail(3)) SWIG_fail
;
32149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32160 arg6
= (long)(SWIG_As_long(obj5
));
32161 if (SWIG_arg_fail(6)) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32180 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
;
32182 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32183 wxString
*arg2
= 0 ;
32185 bool temp2
= false ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 PyObject
* obj2
= 0 ;
32189 char *kwnames
[] = {
32190 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32195 if (SWIG_arg_fail(1)) SWIG_fail
;
32197 arg2
= wxString_in_helper(obj1
);
32198 if (arg2
== NULL
) SWIG_fail
;
32202 arg3
= (int)(SWIG_As_int(obj2
));
32203 if (SWIG_arg_fail(3)) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 Py_INCREF(Py_None
); resultobj
= Py_None
;
32227 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32230 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32232 return Py_BuildValue((char *)"");
32234 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
;
32236 wxWindow
*arg1
= (wxWindow
*) 0 ;
32237 int arg2
= (int) (int)-1 ;
32238 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32239 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32240 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32241 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32242 long arg5
= (long) 0 ;
32243 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32244 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32245 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32247 wxPyControl
*result
;
32250 bool temp7
= false ;
32251 PyObject
* obj0
= 0 ;
32252 PyObject
* obj1
= 0 ;
32253 PyObject
* obj2
= 0 ;
32254 PyObject
* obj3
= 0 ;
32255 PyObject
* obj4
= 0 ;
32256 PyObject
* obj5
= 0 ;
32257 PyObject
* obj6
= 0 ;
32258 char *kwnames
[] = {
32259 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32264 if (SWIG_arg_fail(1)) SWIG_fail
;
32267 arg2
= (int const)(SWIG_As_int(obj1
));
32268 if (SWIG_arg_fail(2)) SWIG_fail
;
32274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32280 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32285 arg5
= (long)(SWIG_As_long(obj4
));
32286 if (SWIG_arg_fail(5)) SWIG_fail
;
32291 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32292 if (SWIG_arg_fail(6)) SWIG_fail
;
32293 if (arg6
== NULL
) {
32294 SWIG_null_ref("wxValidator");
32296 if (SWIG_arg_fail(6)) SWIG_fail
;
32301 arg7
= wxString_in_helper(obj6
);
32302 if (arg7
== NULL
) SWIG_fail
;
32307 if (!wxPyCheckForApp()) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32329 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
;
32331 wxPyControl
*result
;
32332 char *kwnames
[] = {
32336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32338 if (!wxPyCheckForApp()) SWIG_fail
;
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 result
= (wxPyControl
*)new wxPyControl();
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32352 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32354 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32355 PyObject
*arg2
= (PyObject
*) 0 ;
32356 PyObject
*arg3
= (PyObject
*) 0 ;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 PyObject
* obj2
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self",(char *) "self",(char *) "_class", NULL
32364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32366 if (SWIG_arg_fail(1)) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 Py_INCREF(Py_None
); resultobj
= Py_None
;
32383 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
;
32385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32388 PyObject
* obj0
= 0 ;
32389 PyObject
* obj1
= 0 ;
32390 char *kwnames
[] = {
32391 (char *) "self",(char *) "size", NULL
32394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32396 if (SWIG_arg_fail(1)) SWIG_fail
;
32399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 Py_INCREF(Py_None
); resultobj
= Py_None
;
32415 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
;
32417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32418 wxDC
*arg2
= (wxDC
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self",(char *) "dc", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32428 if (SWIG_arg_fail(1)) SWIG_fail
;
32429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32430 if (SWIG_arg_fail(2)) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32447 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32454 PyObject
* obj0
= 0 ;
32455 PyObject
* obj1
= 0 ;
32456 PyObject
* obj2
= 0 ;
32457 PyObject
* obj3
= 0 ;
32458 PyObject
* obj4
= 0 ;
32459 char *kwnames
[] = {
32460 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32465 if (SWIG_arg_fail(1)) SWIG_fail
;
32467 arg2
= (int)(SWIG_As_int(obj1
));
32468 if (SWIG_arg_fail(2)) SWIG_fail
;
32471 arg3
= (int)(SWIG_As_int(obj2
));
32472 if (SWIG_arg_fail(3)) SWIG_fail
;
32475 arg4
= (int)(SWIG_As_int(obj3
));
32476 if (SWIG_arg_fail(4)) SWIG_fail
;
32479 arg5
= (int)(SWIG_As_int(obj4
));
32480 if (SWIG_arg_fail(5)) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 Py_INCREF(Py_None
); resultobj
= Py_None
;
32496 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
;
32498 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32503 int arg6
= (int) wxSIZE_AUTO
;
32504 PyObject
* obj0
= 0 ;
32505 PyObject
* obj1
= 0 ;
32506 PyObject
* obj2
= 0 ;
32507 PyObject
* obj3
= 0 ;
32508 PyObject
* obj4
= 0 ;
32509 PyObject
* obj5
= 0 ;
32510 char *kwnames
[] = {
32511 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32516 if (SWIG_arg_fail(1)) SWIG_fail
;
32518 arg2
= (int)(SWIG_As_int(obj1
));
32519 if (SWIG_arg_fail(2)) SWIG_fail
;
32522 arg3
= (int)(SWIG_As_int(obj2
));
32523 if (SWIG_arg_fail(3)) SWIG_fail
;
32526 arg4
= (int)(SWIG_As_int(obj3
));
32527 if (SWIG_arg_fail(4)) SWIG_fail
;
32530 arg5
= (int)(SWIG_As_int(obj4
));
32531 if (SWIG_arg_fail(5)) SWIG_fail
;
32535 arg6
= (int)(SWIG_As_int(obj5
));
32536 if (SWIG_arg_fail(6)) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 Py_INCREF(Py_None
); resultobj
= Py_None
;
32553 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32555 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32558 PyObject
* obj0
= 0 ;
32559 PyObject
* obj1
= 0 ;
32560 PyObject
* obj2
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self",(char *) "width",(char *) "height", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32567 if (SWIG_arg_fail(1)) SWIG_fail
;
32569 arg2
= (int)(SWIG_As_int(obj1
));
32570 if (SWIG_arg_fail(2)) SWIG_fail
;
32573 arg3
= (int)(SWIG_As_int(obj2
));
32574 if (SWIG_arg_fail(3)) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 Py_INCREF(Py_None
); resultobj
= Py_None
;
32590 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32591 PyObject
*resultobj
;
32592 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 PyObject
* obj1
= 0 ;
32597 PyObject
* obj2
= 0 ;
32598 char *kwnames
[] = {
32599 (char *) "self",(char *) "x",(char *) "y", NULL
32602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32604 if (SWIG_arg_fail(1)) SWIG_fail
;
32606 arg2
= (int)(SWIG_As_int(obj1
));
32607 if (SWIG_arg_fail(2)) SWIG_fail
;
32610 arg3
= (int)(SWIG_As_int(obj2
));
32611 if (SWIG_arg_fail(3)) SWIG_fail
;
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32620 Py_INCREF(Py_None
); resultobj
= Py_None
;
32627 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32630 int *arg2
= (int *) 0 ;
32631 int *arg3
= (int *) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 char *kwnames
[] = {
32638 (char *) "self", NULL
32641 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32642 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 Py_INCREF(Py_None
); resultobj
= Py_None
;
32654 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32655 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32656 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32657 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32664 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32665 PyObject
*resultobj
;
32666 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32667 int *arg2
= (int *) 0 ;
32668 int *arg3
= (int *) 0 ;
32673 PyObject
* obj0
= 0 ;
32674 char *kwnames
[] = {
32675 (char *) "self", NULL
32678 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32679 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32682 if (SWIG_arg_fail(1)) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 Py_INCREF(Py_None
); resultobj
= Py_None
;
32691 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32692 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32693 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32694 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32701 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
;
32703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32704 int *arg2
= (int *) 0 ;
32705 int *arg3
= (int *) 0 ;
32710 PyObject
* obj0
= 0 ;
32711 char *kwnames
[] = {
32712 (char *) "self", NULL
32715 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32716 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32719 if (SWIG_arg_fail(1)) SWIG_fail
;
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 Py_INCREF(Py_None
); resultobj
= Py_None
;
32728 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32729 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32730 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32731 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32738 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
;
32740 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 char *kwnames
[] = {
32744 (char *) "self", NULL
32747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32749 if (SWIG_arg_fail(1)) SWIG_fail
;
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32758 wxSize
* resultptr
;
32759 resultptr
= new wxSize((wxSize
&)(result
));
32760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32768 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32779 if (SWIG_arg_fail(1)) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32788 wxSize
* resultptr
;
32789 resultptr
= new wxSize((wxSize
&)(result
));
32790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32798 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
;
32800 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->base_InitDialog();
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 char *kwnames
[] = {
32829 (char *) "self", NULL
32832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32834 if (SWIG_arg_fail(1)) SWIG_fail
;
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 result
= (bool)(arg1
)->base_TransferDataToWindow();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32851 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
;
32853 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32855 PyObject
* obj0
= 0 ;
32856 char *kwnames
[] = {
32857 (char *) "self", NULL
32860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32862 if (SWIG_arg_fail(1)) SWIG_fail
;
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32879 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32883 PyObject
* obj0
= 0 ;
32884 char *kwnames
[] = {
32885 (char *) "self", NULL
32888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32890 if (SWIG_arg_fail(1)) SWIG_fail
;
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 result
= (bool)(arg1
)->base_Validate();
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32907 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
;
32909 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32918 if (SWIG_arg_fail(1)) SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32935 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
;
32937 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32939 PyObject
* obj0
= 0 ;
32940 char *kwnames
[] = {
32941 (char *) "self", NULL
32944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32946 if (SWIG_arg_fail(1)) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32963 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32967 PyObject
* obj0
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "self", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32974 if (SWIG_arg_fail(1)) SWIG_fail
;
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32983 wxSize
* resultptr
;
32984 resultptr
= new wxSize((wxSize
&)(result
));
32985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32993 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
;
32995 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32996 wxWindow
*arg2
= (wxWindow
*) 0 ;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 char *kwnames
[] = {
33000 (char *) "self",(char *) "child", NULL
33003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(1)) SWIG_fail
;
33006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33007 if (SWIG_arg_fail(2)) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 (arg1
)->base_AddChild(arg2
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33015 Py_INCREF(Py_None
); resultobj
= Py_None
;
33022 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33023 PyObject
*resultobj
;
33024 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33025 wxWindow
*arg2
= (wxWindow
*) 0 ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 char *kwnames
[] = {
33029 (char *) "self",(char *) "child", NULL
33032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
33033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33034 if (SWIG_arg_fail(1)) SWIG_fail
;
33035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33036 if (SWIG_arg_fail(2)) SWIG_fail
;
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 (arg1
)->base_RemoveChild(arg2
);
33041 wxPyEndAllowThreads(__tstate
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33044 Py_INCREF(Py_None
); resultobj
= Py_None
;
33051 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33052 PyObject
*resultobj
;
33053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33055 PyObject
* obj0
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33079 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33082 wxVisualAttributes result
;
33083 PyObject
* obj0
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33090 if (SWIG_arg_fail(1)) SWIG_fail
;
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 result
= (arg1
)->base_GetDefaultAttributes();
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33099 wxVisualAttributes
* resultptr
;
33100 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
33101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33109 static PyObject
*_wrap_PyControl_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
33112 PyObject
* obj0
= 0 ;
33113 char *kwnames
[] = {
33114 (char *) "self", NULL
33117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
33118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
33119 if (SWIG_arg_fail(1)) SWIG_fail
;
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 (arg1
)->base_OnInternalIdle();
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 Py_INCREF(Py_None
); resultobj
= Py_None
;
33134 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
33136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33137 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
33139 return Py_BuildValue((char *)"");
33141 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33142 PyObject
*resultobj
;
33143 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33144 int arg2
= (int) 0 ;
33145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33147 wxHelpEvent
*result
;
33149 PyObject
* obj0
= 0 ;
33150 PyObject
* obj1
= 0 ;
33151 PyObject
* obj2
= 0 ;
33152 char *kwnames
[] = {
33153 (char *) "type",(char *) "winid",(char *) "pt", NULL
33156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33159 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33160 if (SWIG_arg_fail(1)) SWIG_fail
;
33165 arg2
= (int)(SWIG_As_int(obj1
));
33166 if (SWIG_arg_fail(2)) SWIG_fail
;
33172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33189 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33190 PyObject
*resultobj
;
33191 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33193 PyObject
* obj0
= 0 ;
33194 char *kwnames
[] = {
33195 (char *) "self", NULL
33198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33200 if (SWIG_arg_fail(1)) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33209 wxPoint
* resultptr
;
33210 resultptr
= new wxPoint((wxPoint
const &)(result
));
33211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33219 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
;
33221 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33222 wxPoint
*arg2
= 0 ;
33224 PyObject
* obj0
= 0 ;
33225 PyObject
* obj1
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self",(char *) "pos", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33232 if (SWIG_arg_fail(1)) SWIG_fail
;
33235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33241 wxPyEndAllowThreads(__tstate
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33244 Py_INCREF(Py_None
); resultobj
= Py_None
;
33251 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33252 PyObject
*resultobj
;
33253 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33255 PyObject
* obj0
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33262 if (SWIG_arg_fail(1)) SWIG_fail
;
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33267 result
= (wxString
*) &_result_ref
;
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33277 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33286 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33288 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33289 wxString
*arg2
= 0 ;
33290 bool temp2
= false ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char *kwnames
[] = {
33294 (char *) "self",(char *) "link", NULL
33297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33299 if (SWIG_arg_fail(1)) SWIG_fail
;
33301 arg2
= wxString_in_helper(obj1
);
33302 if (arg2
== NULL
) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 (arg1
)->SetLink((wxString
const &)*arg2
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 Py_INCREF(Py_None
); resultobj
= Py_None
;
33327 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
;
33329 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33331 PyObject
* obj0
= 0 ;
33332 char *kwnames
[] = {
33333 (char *) "self", NULL
33336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33338 if (SWIG_arg_fail(1)) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33343 result
= (wxString
*) &_result_ref
;
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33353 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33362 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33363 PyObject
*resultobj
;
33364 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33365 wxString
*arg2
= 0 ;
33366 bool temp2
= false ;
33367 PyObject
* obj0
= 0 ;
33368 PyObject
* obj1
= 0 ;
33369 char *kwnames
[] = {
33370 (char *) "self",(char *) "target", NULL
33373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33375 if (SWIG_arg_fail(1)) SWIG_fail
;
33377 arg2
= wxString_in_helper(obj1
);
33378 if (arg2
== NULL
) SWIG_fail
;
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 (arg1
)->SetTarget((wxString
const &)*arg2
);
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 Py_INCREF(Py_None
); resultobj
= Py_None
;
33403 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33406 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33408 return Py_BuildValue((char *)"");
33410 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33411 PyObject
*resultobj
;
33412 wxWindow
*arg1
= (wxWindow
*) NULL
;
33413 bool arg2
= (bool) true ;
33414 wxContextHelp
*result
;
33415 PyObject
* obj0
= 0 ;
33416 PyObject
* obj1
= 0 ;
33417 char *kwnames
[] = {
33418 (char *) "window",(char *) "doNow", NULL
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33424 if (SWIG_arg_fail(1)) SWIG_fail
;
33428 arg2
= (bool)(SWIG_As_bool(obj1
));
33429 if (SWIG_arg_fail(2)) SWIG_fail
;
33433 if (!wxPyCheckForApp()) SWIG_fail
;
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33447 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
;
33449 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33450 PyObject
* obj0
= 0 ;
33451 char *kwnames
[] = {
33452 (char *) "self", NULL
33455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33457 if (SWIG_arg_fail(1)) SWIG_fail
;
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 Py_INCREF(Py_None
); resultobj
= Py_None
;
33472 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33473 PyObject
*resultobj
;
33474 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33475 wxWindow
*arg2
= (wxWindow
*) NULL
;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 char *kwnames
[] = {
33480 (char *) "self",(char *) "window", NULL
33483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33485 if (SWIG_arg_fail(1)) SWIG_fail
;
33487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33488 if (SWIG_arg_fail(2)) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33506 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33510 PyObject
* obj0
= 0 ;
33511 char *kwnames
[] = {
33512 (char *) "self", NULL
33515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33517 if (SWIG_arg_fail(1)) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 result
= (bool)(arg1
)->EndContextHelp();
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33534 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33537 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33539 return Py_BuildValue((char *)"");
33541 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
;
33543 wxWindow
*arg1
= (wxWindow
*) 0 ;
33544 int arg2
= (int) wxID_CONTEXT_HELP
;
33545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33547 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33548 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33549 long arg5
= (long) wxBU_AUTODRAW
;
33550 wxContextHelpButton
*result
;
33553 PyObject
* obj0
= 0 ;
33554 PyObject
* obj1
= 0 ;
33555 PyObject
* obj2
= 0 ;
33556 PyObject
* obj3
= 0 ;
33557 PyObject
* obj4
= 0 ;
33558 char *kwnames
[] = {
33559 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33564 if (SWIG_arg_fail(1)) SWIG_fail
;
33567 arg2
= (int)(SWIG_As_int(obj1
));
33568 if (SWIG_arg_fail(2)) SWIG_fail
;
33574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33585 arg5
= (long)(SWIG_As_long(obj4
));
33586 if (SWIG_arg_fail(5)) SWIG_fail
;
33590 if (!wxPyCheckForApp()) SWIG_fail
;
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33604 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33607 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33609 return Py_BuildValue((char *)"");
33611 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33614 wxHelpProvider
*result
;
33615 PyObject
* obj0
= 0 ;
33616 char *kwnames
[] = {
33617 (char *) "helpProvider", NULL
33620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33622 if (SWIG_arg_fail(1)) SWIG_fail
;
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33637 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33638 PyObject
*resultobj
;
33639 wxHelpProvider
*result
;
33640 char *kwnames
[] = {
33644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33659 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
;
33661 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33662 wxWindow
*arg2
= (wxWindow
*) 0 ;
33664 PyObject
* obj0
= 0 ;
33665 PyObject
* obj1
= 0 ;
33666 char *kwnames
[] = {
33667 (char *) "self",(char *) "window", NULL
33670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33672 if (SWIG_arg_fail(1)) SWIG_fail
;
33673 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33674 if (SWIG_arg_fail(2)) SWIG_fail
;
33676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33677 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33679 wxPyEndAllowThreads(__tstate
);
33680 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33695 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
;
33697 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33698 wxWindow
*arg2
= (wxWindow
*) 0 ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 char *kwnames
[] = {
33703 (char *) "self",(char *) "window", NULL
33706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33708 if (SWIG_arg_fail(1)) SWIG_fail
;
33709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33710 if (SWIG_arg_fail(2)) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= (bool)(arg1
)->ShowHelp(arg2
);
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33727 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33730 wxWindow
*arg2
= (wxWindow
*) 0 ;
33731 wxString
*arg3
= 0 ;
33732 bool temp3
= false ;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 PyObject
* obj2
= 0 ;
33736 char *kwnames
[] = {
33737 (char *) "self",(char *) "window",(char *) "text", NULL
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33742 if (SWIG_arg_fail(1)) SWIG_fail
;
33743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33744 if (SWIG_arg_fail(2)) SWIG_fail
;
33746 arg3
= wxString_in_helper(obj2
);
33747 if (arg3
== NULL
) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33757 Py_INCREF(Py_None
); resultobj
= Py_None
;
33772 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
;
33774 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33776 wxString
*arg3
= 0 ;
33777 bool temp3
= false ;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 PyObject
* obj2
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "self",(char *) "id",(char *) "text", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33787 if (SWIG_arg_fail(1)) SWIG_fail
;
33789 arg2
= (int)(SWIG_As_int(obj1
));
33790 if (SWIG_arg_fail(2)) SWIG_fail
;
33793 arg3
= wxString_in_helper(obj2
);
33794 if (arg3
== NULL
) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 Py_INCREF(Py_None
); resultobj
= Py_None
;
33819 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
;
33821 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33822 wxWindow
*arg2
= (wxWindow
*) 0 ;
33823 PyObject
* obj0
= 0 ;
33824 PyObject
* obj1
= 0 ;
33825 char *kwnames
[] = {
33826 (char *) "self",(char *) "window", NULL
33829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33831 if (SWIG_arg_fail(1)) SWIG_fail
;
33832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(2)) SWIG_fail
;
33835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33836 (arg1
)->RemoveHelp(arg2
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33841 Py_INCREF(Py_None
); resultobj
= Py_None
;
33848 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
;
33850 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33851 PyObject
* obj0
= 0 ;
33852 char *kwnames
[] = {
33853 (char *) "self", NULL
33856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33858 if (SWIG_arg_fail(1)) SWIG_fail
;
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 wxHelpProvider_Destroy(arg1
);
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 Py_INCREF(Py_None
); resultobj
= Py_None
;
33873 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33876 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33878 return Py_BuildValue((char *)"");
33880 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
;
33882 wxSimpleHelpProvider
*result
;
33883 char *kwnames
[] = {
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33902 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33905 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33907 return Py_BuildValue((char *)"");
33909 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
;
33911 wxBitmap
*arg1
= 0 ;
33912 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33913 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33914 wxGenericDragImage
*result
;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 char *kwnames
[] = {
33918 (char *) "image",(char *) "cursor", NULL
33921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33924 if (SWIG_arg_fail(1)) SWIG_fail
;
33925 if (arg1
== NULL
) {
33926 SWIG_null_ref("wxBitmap");
33928 if (SWIG_arg_fail(1)) SWIG_fail
;
33932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33933 if (SWIG_arg_fail(2)) SWIG_fail
;
33934 if (arg2
== NULL
) {
33935 SWIG_null_ref("wxCursor");
33937 if (SWIG_arg_fail(2)) SWIG_fail
;
33941 if (!wxPyCheckForApp()) SWIG_fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33955 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33956 PyObject
*resultobj
;
33958 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33959 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33960 wxGenericDragImage
*result
;
33961 PyObject
* obj0
= 0 ;
33962 PyObject
* obj1
= 0 ;
33963 char *kwnames
[] = {
33964 (char *) "image",(char *) "cursor", NULL
33967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33970 if (SWIG_arg_fail(1)) SWIG_fail
;
33971 if (arg1
== NULL
) {
33972 SWIG_null_ref("wxIcon");
33974 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33979 if (SWIG_arg_fail(2)) SWIG_fail
;
33980 if (arg2
== NULL
) {
33981 SWIG_null_ref("wxCursor");
33983 if (SWIG_arg_fail(2)) SWIG_fail
;
33987 if (!wxPyCheckForApp()) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34001 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34002 PyObject
*resultobj
;
34003 wxString
*arg1
= 0 ;
34004 wxCursor
const &arg2_defvalue
= wxNullCursor
;
34005 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
34006 wxGenericDragImage
*result
;
34007 bool temp1
= false ;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 char *kwnames
[] = {
34011 (char *) "str",(char *) "cursor", NULL
34014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
34016 arg1
= wxString_in_helper(obj0
);
34017 if (arg1
== NULL
) SWIG_fail
;
34022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(2)) SWIG_fail
;
34024 if (arg2
== NULL
) {
34025 SWIG_null_ref("wxCursor");
34027 if (SWIG_arg_fail(2)) SWIG_fail
;
34031 if (!wxPyCheckForApp()) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34053 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
;
34055 wxPyTreeCtrl
*arg1
= 0 ;
34056 wxTreeItemId
*arg2
= 0 ;
34057 wxGenericDragImage
*result
;
34058 PyObject
* obj0
= 0 ;
34059 PyObject
* obj1
= 0 ;
34060 char *kwnames
[] = {
34061 (char *) "treeCtrl",(char *) "id", NULL
34064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34067 if (SWIG_arg_fail(1)) SWIG_fail
;
34068 if (arg1
== NULL
) {
34069 SWIG_null_ref("wxPyTreeCtrl");
34071 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
34075 if (SWIG_arg_fail(2)) SWIG_fail
;
34076 if (arg2
== NULL
) {
34077 SWIG_null_ref("wxTreeItemId");
34079 if (SWIG_arg_fail(2)) SWIG_fail
;
34082 if (!wxPyCheckForApp()) SWIG_fail
;
34083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34084 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
34086 wxPyEndAllowThreads(__tstate
);
34087 if (PyErr_Occurred()) SWIG_fail
;
34089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34096 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
;
34098 wxPyListCtrl
*arg1
= 0 ;
34100 wxGenericDragImage
*result
;
34101 PyObject
* obj0
= 0 ;
34102 PyObject
* obj1
= 0 ;
34103 char *kwnames
[] = {
34104 (char *) "listCtrl",(char *) "id", NULL
34107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34110 if (SWIG_arg_fail(1)) SWIG_fail
;
34111 if (arg1
== NULL
) {
34112 SWIG_null_ref("wxPyListCtrl");
34114 if (SWIG_arg_fail(1)) SWIG_fail
;
34117 arg2
= (long)(SWIG_As_long(obj1
));
34118 if (SWIG_arg_fail(2)) SWIG_fail
;
34121 if (!wxPyCheckForApp()) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
34135 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
;
34137 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34138 PyObject
* obj0
= 0 ;
34139 char *kwnames
[] = {
34140 (char *) "self", NULL
34143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
34144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34145 if (SWIG_arg_fail(1)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 Py_INCREF(Py_None
); resultobj
= Py_None
;
34160 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
;
34162 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34163 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34164 PyObject
* obj0
= 0 ;
34165 PyObject
* obj1
= 0 ;
34166 char *kwnames
[] = {
34167 (char *) "self",(char *) "bitmap", NULL
34170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34172 if (SWIG_arg_fail(1)) SWIG_fail
;
34173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34174 if (SWIG_arg_fail(2)) SWIG_fail
;
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 (arg1
)->SetBackingBitmap(arg2
);
34179 wxPyEndAllowThreads(__tstate
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34182 Py_INCREF(Py_None
); resultobj
= Py_None
;
34189 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
;
34191 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34192 wxPoint
*arg2
= 0 ;
34193 wxWindow
*arg3
= (wxWindow
*) 0 ;
34194 bool arg4
= (bool) false ;
34195 wxRect
*arg5
= (wxRect
*) NULL
;
34198 PyObject
* obj0
= 0 ;
34199 PyObject
* obj1
= 0 ;
34200 PyObject
* obj2
= 0 ;
34201 PyObject
* obj3
= 0 ;
34202 PyObject
* obj4
= 0 ;
34203 char *kwnames
[] = {
34204 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34209 if (SWIG_arg_fail(1)) SWIG_fail
;
34212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34214 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34215 if (SWIG_arg_fail(3)) SWIG_fail
;
34218 arg4
= (bool)(SWIG_As_bool(obj3
));
34219 if (SWIG_arg_fail(4)) SWIG_fail
;
34223 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34224 if (SWIG_arg_fail(5)) SWIG_fail
;
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34230 wxPyEndAllowThreads(__tstate
);
34231 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34242 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34245 wxPoint
*arg2
= 0 ;
34246 wxWindow
*arg3
= (wxWindow
*) 0 ;
34247 wxWindow
*arg4
= (wxWindow
*) 0 ;
34250 PyObject
* obj0
= 0 ;
34251 PyObject
* obj1
= 0 ;
34252 PyObject
* obj2
= 0 ;
34253 PyObject
* obj3
= 0 ;
34254 char *kwnames
[] = {
34255 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34260 if (SWIG_arg_fail(1)) SWIG_fail
;
34263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34266 if (SWIG_arg_fail(3)) SWIG_fail
;
34267 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34268 if (SWIG_arg_fail(4)) SWIG_fail
;
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34285 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34289 PyObject
* obj0
= 0 ;
34290 char *kwnames
[] = {
34291 (char *) "self", NULL
34294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34296 if (SWIG_arg_fail(1)) SWIG_fail
;
34298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34299 result
= (bool)(arg1
)->EndDrag();
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34313 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
;
34315 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34316 wxPoint
*arg2
= 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char *kwnames
[] = {
34322 (char *) "self",(char *) "pt", NULL
34325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34327 if (SWIG_arg_fail(1)) SWIG_fail
;
34330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34336 wxPyEndAllowThreads(__tstate
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34348 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
;
34350 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34352 PyObject
* obj0
= 0 ;
34353 char *kwnames
[] = {
34354 (char *) "self", NULL
34357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34359 if (SWIG_arg_fail(1)) SWIG_fail
;
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 result
= (bool)(arg1
)->Show();
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34376 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
;
34378 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34380 PyObject
* obj0
= 0 ;
34381 char *kwnames
[] = {
34382 (char *) "self", NULL
34385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34387 if (SWIG_arg_fail(1)) SWIG_fail
;
34389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 result
= (bool)(arg1
)->Hide();
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34404 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34405 PyObject
*resultobj
;
34406 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34407 wxPoint
*arg2
= 0 ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 char *kwnames
[] = {
34413 (char *) "self",(char *) "pos", NULL
34416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34418 if (SWIG_arg_fail(1)) SWIG_fail
;
34421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34431 wxRect
* resultptr
;
34432 resultptr
= new wxRect((wxRect
&)(result
));
34433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34441 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
;
34443 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34445 wxPoint
*arg3
= 0 ;
34448 PyObject
* obj0
= 0 ;
34449 PyObject
* obj1
= 0 ;
34450 PyObject
* obj2
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self",(char *) "dc",(char *) "pos", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34457 if (SWIG_arg_fail(1)) SWIG_fail
;
34459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34460 if (SWIG_arg_fail(2)) SWIG_fail
;
34461 if (arg2
== NULL
) {
34462 SWIG_null_ref("wxDC");
34464 if (SWIG_arg_fail(2)) SWIG_fail
;
34468 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34486 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
;
34488 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34490 wxMemoryDC
*arg3
= 0 ;
34496 PyObject
* obj0
= 0 ;
34497 PyObject
* obj1
= 0 ;
34498 PyObject
* obj2
= 0 ;
34499 PyObject
* obj3
= 0 ;
34500 PyObject
* obj4
= 0 ;
34501 char *kwnames
[] = {
34502 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34507 if (SWIG_arg_fail(1)) SWIG_fail
;
34509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34510 if (SWIG_arg_fail(2)) SWIG_fail
;
34511 if (arg2
== NULL
) {
34512 SWIG_null_ref("wxDC");
34514 if (SWIG_arg_fail(2)) SWIG_fail
;
34517 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34518 if (SWIG_arg_fail(3)) SWIG_fail
;
34519 if (arg3
== NULL
) {
34520 SWIG_null_ref("wxMemoryDC");
34522 if (SWIG_arg_fail(3)) SWIG_fail
;
34526 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34530 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34548 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34549 PyObject
*resultobj
;
34550 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34551 wxPoint
*arg2
= 0 ;
34552 wxPoint
*arg3
= 0 ;
34558 PyObject
* obj0
= 0 ;
34559 PyObject
* obj1
= 0 ;
34560 PyObject
* obj2
= 0 ;
34561 PyObject
* obj3
= 0 ;
34562 PyObject
* obj4
= 0 ;
34563 char *kwnames
[] = {
34564 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34569 if (SWIG_arg_fail(1)) SWIG_fail
;
34572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34579 arg4
= (bool)(SWIG_As_bool(obj3
));
34580 if (SWIG_arg_fail(4)) SWIG_fail
;
34583 arg5
= (bool)(SWIG_As_bool(obj4
));
34584 if (SWIG_arg_fail(5)) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34602 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34605 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34607 return Py_BuildValue((char *)"");
34609 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34610 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34615 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34620 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34622 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34629 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
;
34631 wxWindow
*arg1
= (wxWindow
*) 0 ;
34632 int arg2
= (int) -1 ;
34633 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34634 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34639 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34640 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34641 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34642 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34644 wxDatePickerCtrl
*result
;
34647 bool temp8
= false ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 PyObject
* obj2
= 0 ;
34651 PyObject
* obj3
= 0 ;
34652 PyObject
* obj4
= 0 ;
34653 PyObject
* obj5
= 0 ;
34654 PyObject
* obj6
= 0 ;
34655 PyObject
* obj7
= 0 ;
34656 char *kwnames
[] = {
34657 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34662 if (SWIG_arg_fail(1)) SWIG_fail
;
34665 arg2
= (int)(SWIG_As_int(obj1
));
34666 if (SWIG_arg_fail(2)) SWIG_fail
;
34671 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34672 if (SWIG_arg_fail(3)) SWIG_fail
;
34673 if (arg3
== NULL
) {
34674 SWIG_null_ref("wxDateTime");
34676 if (SWIG_arg_fail(3)) SWIG_fail
;
34682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34693 arg6
= (long)(SWIG_As_long(obj5
));
34694 if (SWIG_arg_fail(6)) SWIG_fail
;
34699 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34700 if (SWIG_arg_fail(7)) SWIG_fail
;
34701 if (arg7
== NULL
) {
34702 SWIG_null_ref("wxValidator");
34704 if (SWIG_arg_fail(7)) SWIG_fail
;
34709 arg8
= wxString_in_helper(obj7
);
34710 if (arg8
== NULL
) SWIG_fail
;
34715 if (!wxPyCheckForApp()) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34737 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34738 PyObject
*resultobj
;
34739 wxDatePickerCtrl
*result
;
34740 char *kwnames
[] = {
34744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34746 if (!wxPyCheckForApp()) SWIG_fail
;
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34760 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34763 wxWindow
*arg2
= (wxWindow
*) 0 ;
34764 int arg3
= (int) -1 ;
34765 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34766 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34771 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34774 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34779 bool temp9
= false ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 PyObject
* obj3
= 0 ;
34784 PyObject
* obj4
= 0 ;
34785 PyObject
* obj5
= 0 ;
34786 PyObject
* obj6
= 0 ;
34787 PyObject
* obj7
= 0 ;
34788 PyObject
* obj8
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34795 if (SWIG_arg_fail(1)) SWIG_fail
;
34796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34797 if (SWIG_arg_fail(2)) SWIG_fail
;
34800 arg3
= (int)(SWIG_As_int(obj2
));
34801 if (SWIG_arg_fail(3)) SWIG_fail
;
34806 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34807 if (SWIG_arg_fail(4)) SWIG_fail
;
34808 if (arg4
== NULL
) {
34809 SWIG_null_ref("wxDateTime");
34811 if (SWIG_arg_fail(4)) SWIG_fail
;
34817 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34823 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34828 arg7
= (long)(SWIG_As_long(obj6
));
34829 if (SWIG_arg_fail(7)) SWIG_fail
;
34834 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34835 if (SWIG_arg_fail(8)) SWIG_fail
;
34836 if (arg8
== NULL
) {
34837 SWIG_null_ref("wxValidator");
34839 if (SWIG_arg_fail(8)) SWIG_fail
;
34844 arg9
= wxString_in_helper(obj8
);
34845 if (arg9
== NULL
) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34873 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
;
34875 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34876 wxDateTime
*arg2
= 0 ;
34877 PyObject
* obj0
= 0 ;
34878 PyObject
* obj1
= 0 ;
34879 char *kwnames
[] = {
34880 (char *) "self",(char *) "dt", NULL
34883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34885 if (SWIG_arg_fail(1)) SWIG_fail
;
34887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34888 if (SWIG_arg_fail(2)) SWIG_fail
;
34889 if (arg2
== NULL
) {
34890 SWIG_null_ref("wxDateTime");
34892 if (SWIG_arg_fail(2)) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 Py_INCREF(Py_None
); resultobj
= Py_None
;
34908 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34912 PyObject
* obj0
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34919 if (SWIG_arg_fail(1)) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34928 wxDateTime
* resultptr
;
34929 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34938 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34939 PyObject
*resultobj
;
34940 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34941 wxDateTime
*arg2
= 0 ;
34942 wxDateTime
*arg3
= 0 ;
34943 PyObject
* obj0
= 0 ;
34944 PyObject
* obj1
= 0 ;
34945 PyObject
* obj2
= 0 ;
34946 char *kwnames
[] = {
34947 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34952 if (SWIG_arg_fail(1)) SWIG_fail
;
34954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34955 if (SWIG_arg_fail(2)) SWIG_fail
;
34956 if (arg2
== NULL
) {
34957 SWIG_null_ref("wxDateTime");
34959 if (SWIG_arg_fail(2)) SWIG_fail
;
34962 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34963 if (SWIG_arg_fail(3)) SWIG_fail
;
34964 if (arg3
== NULL
) {
34965 SWIG_null_ref("wxDateTime");
34967 if (SWIG_arg_fail(3)) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 Py_INCREF(Py_None
); resultobj
= Py_None
;
34983 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34987 PyObject
* obj0
= 0 ;
34988 char *kwnames
[] = {
34989 (char *) "self", NULL
34992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34994 if (SWIG_arg_fail(1)) SWIG_fail
;
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34999 wxPyEndAllowThreads(__tstate
);
35000 if (PyErr_Occurred()) SWIG_fail
;
35003 wxDateTime
* resultptr
;
35004 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35013 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35015 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
35017 PyObject
* obj0
= 0 ;
35018 char *kwnames
[] = {
35019 (char *) "self", NULL
35022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
35023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
35024 if (SWIG_arg_fail(1)) SWIG_fail
;
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35033 wxDateTime
* resultptr
;
35034 resultptr
= new wxDateTime((wxDateTime
&)(result
));
35035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
35043 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
35045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35046 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
35048 return Py_BuildValue((char *)"");
35050 static PyMethodDef SwigMethods
[] = {
35051 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
35058 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
35073 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"Choice_GetCurrentSelection", (PyCFunction
) _wrap_Choice_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
35091 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
) _wrap_ComboBox_GetCurrentSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
35123 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
35137 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
35142 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
35149 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
35155 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35163 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35195 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35226 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35284 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35289 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35301 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35314 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35326 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35330 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35348 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35355 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35381 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35389 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35411 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35417 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35428 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35430 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35436 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35438 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35445 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35447 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35477 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35522 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35528 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35540 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35592 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35619 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35693 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35705 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35713 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35720 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35737 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35816 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35838 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35843 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"PyControl_base_OnInternalIdle", (PyCFunction
) _wrap_PyControl_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35870 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35878 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35883 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35885 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35894 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35896 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35908 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35914 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35923 { NULL
, NULL
, 0, NULL
}
35927 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35929 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35932 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35933 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35935 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35936 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35938 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35939 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35941 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35942 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35944 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35945 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35947 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35948 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35950 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35951 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35953 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35954 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35956 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35959 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35962 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35963 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35965 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35968 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35969 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35971 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35974 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35975 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35977 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35978 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35980 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35981 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35983 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35984 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35986 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35989 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35990 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35992 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35993 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35995 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35996 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35998 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35999 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36001 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36002 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36004 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36005 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36007 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36008 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36010 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36011 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36013 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36014 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36016 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36019 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36020 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36022 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36023 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36025 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36026 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36028 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36029 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36031 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36032 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36034 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36035 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36037 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36040 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36041 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36043 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36044 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36046 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36047 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36049 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36052 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36053 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36055 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36056 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36058 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36059 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36061 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
36062 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36064 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
36065 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36067 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
36068 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36070 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
36071 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36073 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36074 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36076 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
36077 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36079 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
36080 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36082 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
36083 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
36085 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
36086 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
36088 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
36089 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
36091 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
36092 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
36094 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
36095 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
36097 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
36098 return (void *)((wxControl
*) ((wxPyControl
*) x
));
36100 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
36101 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
36103 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
36104 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36106 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
36107 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
36109 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
36110 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36112 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
36113 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
36115 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
36116 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
36118 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36119 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36121 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
36122 return (void *)((wxControl
*) ((wxGauge
*) x
));
36124 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
36125 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
36127 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
36128 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36130 static void *_p_wxListbookTo_p_wxControl(void *x
) {
36131 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36133 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36134 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36136 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36137 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36139 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36140 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36142 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36143 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36145 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36146 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36148 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36149 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36151 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36152 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36154 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36155 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36157 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36158 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36160 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36161 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36163 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36164 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36166 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36167 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36169 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36170 return (void *)((wxControl
*) ((wxSlider
*) x
));
36172 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36173 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36175 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36176 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36178 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36179 return (void *)((wxControl
*) ((wxButton
*) x
));
36181 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36182 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36184 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36185 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36187 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36188 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36190 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36191 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36193 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
36194 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
36196 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36197 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36199 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36200 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36202 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36203 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36205 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36206 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36208 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36209 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36211 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36212 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36214 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36215 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36217 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36218 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36220 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36221 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36223 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36224 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36226 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36227 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36229 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36230 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36232 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36235 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36236 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36238 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36239 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36241 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36244 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36245 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36247 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36250 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36253 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36254 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36256 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36259 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36262 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36265 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36268 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36269 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36271 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36272 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36274 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36275 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36277 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36280 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36283 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36284 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36286 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36289 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36292 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36295 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36298 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36299 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36301 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36304 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36307 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36310 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36313 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36316 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36319 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36322 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36325 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36328 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36331 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36334 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36337 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36340 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36343 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36346 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36349 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36352 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36355 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36356 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36358 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36359 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36361 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36362 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36364 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36365 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36367 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36368 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36370 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36373 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36376 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36379 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36382 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36385 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36388 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36391 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36394 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) ((wxSizer
*) x
));
36397 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36400 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36403 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36406 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36409 static void *_p_wxEventTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) ((wxEvent
*) x
));
36412 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36415 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36418 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36421 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36424 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36427 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36430 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36433 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36436 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36439 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36442 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36445 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36448 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36451 static void *_p_wxControlTo_p_wxObject(void *x
) {
36452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36454 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36457 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36460 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36463 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36466 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36469 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36470 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36472 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36475 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36476 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36478 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36479 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36481 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36484 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36487 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36490 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36491 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36493 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36496 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36499 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36502 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36503 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36505 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36508 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36511 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36512 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36514 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36517 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36518 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36520 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36523 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36524 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36526 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36527 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36529 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36530 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36532 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36533 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36535 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36536 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36538 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36539 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36541 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36544 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36545 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36547 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36550 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36553 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36556 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36559 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36562 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36563 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36565 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36568 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36569 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36571 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36572 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36574 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36577 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36580 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36581 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36583 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36586 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36589 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36590 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36592 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36595 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36598 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36601 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36604 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36607 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36610 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36613 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36614 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36616 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36617 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36619 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36622 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36625 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36628 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36629 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36631 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36632 return (void *)((wxObject
*) ((wxListItem
*) x
));
36634 static void *_p_wxImageTo_p_wxObject(void *x
) {
36635 return (void *)((wxObject
*) ((wxImage
*) x
));
36637 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36638 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36640 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36643 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36644 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36646 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36649 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36652 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36655 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36658 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36661 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36662 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36664 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36665 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36667 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36668 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36670 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36671 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36673 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36676 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36677 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36679 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36682 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36683 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36685 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36686 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36688 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36689 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36691 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36692 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36694 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36695 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36697 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36700 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36703 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36706 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36707 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36709 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36712 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36713 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36715 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36716 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36718 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36721 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36724 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36727 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36728 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36730 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36733 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36736 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36737 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36739 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36740 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36742 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36743 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36745 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36746 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36748 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36749 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36751 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36752 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36754 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36755 return (void *)((wxWindow
*) ((wxControl
*) x
));
36757 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36758 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36760 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36761 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36763 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36764 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36766 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36767 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
36769 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36770 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36772 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36773 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36775 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36776 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36778 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36779 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36781 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36782 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36784 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36785 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36787 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36788 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36790 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36791 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36793 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36794 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36796 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36797 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36799 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36800 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36802 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36803 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36805 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36806 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36808 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36809 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36811 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36812 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36814 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36815 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36817 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36818 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36820 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36821 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36823 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36824 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36826 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36827 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36829 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36830 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36832 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36833 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36835 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36836 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36838 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36839 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36841 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36842 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36844 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36845 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36847 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36848 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36850 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36851 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36853 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36854 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36856 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36857 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36859 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36860 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36862 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36863 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36865 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36866 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36868 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36869 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36871 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36872 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36874 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36875 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36877 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36878 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36880 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36881 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36883 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36884 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36886 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36887 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36889 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36890 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36892 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36893 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36895 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36896 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36898 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36899 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36901 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36902 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36904 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36905 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36907 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36908 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36910 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36911 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36913 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
36914 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
36916 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36917 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36919 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36920 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36922 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36923 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36925 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36926 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36928 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36929 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36931 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}};
36932 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}};
36933 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}};
36934 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_wxDateEvent", _p_wxDateEventTo_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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}};
36935 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}};
36936 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}};
36937 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}};
36938 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}};
36939 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}};
36940 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}};
36941 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}};
36942 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36943 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}};
36944 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}};
36945 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}};
36946 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}};
36947 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}};
36948 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}};
36949 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36950 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}};
36951 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}};
36952 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}};
36953 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}};
36954 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}};
36955 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}};
36956 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}};
36957 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}};
36958 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}};
36959 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}};
36960 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}};
36961 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}};
36962 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}};
36963 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}};
36964 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}};
36965 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}};
36966 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}};
36967 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}};
36968 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}};
36969 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}};
36970 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}};
36971 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}};
36972 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}};
36973 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}};
36974 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}};
36975 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}};
36976 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
36977 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}};
36978 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}};
36979 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}};
36980 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}};
36981 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}};
36982 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}};
36983 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}};
36984 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}};
36985 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}};
36986 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}};
36987 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}};
36988 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}};
36989 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}};
36990 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}};
36991 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}};
36992 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}};
36993 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}};
36994 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}};
36995 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}};
36996 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}};
36997 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}};
36998 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}};
36999 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}};
37000 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}};
37001 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}};
37002 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}};
37003 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}};
37004 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_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_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_wxDateEvent", _p_wxDateEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_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_wxEvtHandler", _p_wxEvtHandlerTo_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_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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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_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}};
37005 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}};
37006 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37007 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}};
37008 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}};
37009 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_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_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}};
37010 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}};
37011 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}};
37012 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}};
37013 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}};
37014 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}};
37015 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}};
37016 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}};
37017 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}};
37018 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_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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}};
37019 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}};
37020 static swig_type_info _swigt__p_wxDatePickerCtrl
[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37021 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
37022 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}};
37023 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}};
37024 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}};
37025 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}};
37027 static swig_type_info
*swig_types_initial
[] = {
37028 _swigt__p_wxTextUrlEvent
,
37029 _swigt__p_wxCheckBox
,
37030 _swigt__p_wxPyTreeCtrl
,
37032 _swigt__p_wxGenericDirCtrl
,
37034 _swigt__p_wxItemContainer
,
37035 _swigt__p_wxPyListCtrl
,
37036 _swigt__p_wxPyTreeItemData
,
37037 _swigt__p_wxDirFilterListCtrl
,
37038 _swigt__p_wxStaticLine
,
37039 _swigt__p_wxControl
,
37040 _swigt__p_wxPyControl
,
37042 _swigt__p_wxToolBarBase
,
37044 _swigt__p_wxToggleButton
,
37045 _swigt__p_wxRadioButton
,
37046 _swigt__p_wxChoice
,
37047 _swigt__p_wxMemoryDC
,
37049 _swigt__std__ptrdiff_t
,
37050 _swigt__p_wxListItemAttr
,
37055 _swigt__p_wxListView
,
37057 _swigt__p_wxVisualAttributes
,
37058 _swigt__p_wxTextCtrl
,
37059 _swigt__p_wxNotebook
,
37060 _swigt__p_wxChoicebook
,
37061 _swigt__p_wxNotifyEvent
,
37062 _swigt__p_wxArrayString
,
37063 _swigt__p_form_ops_t
,
37064 _swigt__p_wxListbook
,
37065 _swigt__p_wxStaticBitmap
,
37066 _swigt__p_wxSlider
,
37067 _swigt__p_wxStaticBox
,
37068 _swigt__p_wxArrayInt
,
37069 _swigt__p_wxContextHelp
,
37071 _swigt__p_wxDuplexMode
,
37072 _swigt__p_wxBookCtrlBase
,
37073 _swigt__p_wxEvtHandler
,
37074 _swigt__p_wxListEvent
,
37075 _swigt__p_wxCheckListBox
,
37076 _swigt__p_wxListBox
,
37077 _swigt__p_wxSpinButton
,
37078 _swigt__p_wxButton
,
37079 _swigt__p_wxBitmapButton
,
37081 _swigt__p_wxContextHelpButton
,
37082 _swigt__p_wxRadioBox
,
37083 _swigt__p_wxScrollBar
,
37085 _swigt__p_wxComboBox
,
37086 _swigt__p_wxTreeItemId
,
37087 _swigt__p_wxHelpEvent
,
37088 _swigt__p_wxListItem
,
37089 _swigt__p_wxSpinEvent
,
37090 _swigt__p_wxGenericDragImage
,
37091 _swigt__p_wxSpinCtrl
,
37092 _swigt__p_wxPaperSize
,
37093 _swigt__p_wxImageList
,
37094 _swigt__p_wxHelpProvider
,
37095 _swigt__p_wxTextAttr
,
37096 _swigt__p_wxSimpleHelpProvider
,
37097 _swigt__p_wxChoicebookEvent
,
37098 _swigt__p_wxListbookEvent
,
37099 _swigt__p_wxNotebookEvent
,
37101 _swigt__p_wxObject
,
37102 _swigt__p_wxCursor
,
37103 _swigt__p_wxDateTime
,
37104 _swigt__p_wxKeyEvent
,
37105 _swigt__p_unsigned_long
,
37106 _swigt__p_wxWindow
,
37107 _swigt__p_wxString
,
37108 _swigt__p_wxBitmap
,
37109 _swigt__unsigned_int
,
37110 _swigt__p_unsigned_int
,
37111 _swigt__p_unsigned_char
,
37112 _swigt__p_wxMouseEvent
,
37113 _swigt__p_wxBookCtrlBaseEvent
,
37114 _swigt__p_wxTreeEvent
,
37115 _swigt__p_wxCommandEvent
,
37116 _swigt__p_wxStaticText
,
37117 _swigt__p_wxDatePickerCtrl
,
37118 _swigt__p_wxControlWithItems
,
37119 _swigt__p_wxToolBarToolBase
,
37120 _swigt__p_wxColour
,
37121 _swigt__p_wxToolBar
,
37122 _swigt__p_wxValidator
,
37127 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37129 static swig_const_info swig_const_table
[] = {
37130 {0, 0, 0, 0.0, 0, 0}};
37141 /* Python-specific SWIG API */
37142 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37143 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37144 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37146 /* -----------------------------------------------------------------------------
37147 * global variable support code.
37148 * ----------------------------------------------------------------------------- */
37150 typedef struct swig_globalvar
{
37151 char *name
; /* Name of global variable */
37152 PyObject
*(*get_attr
)(); /* Return the current value */
37153 int (*set_attr
)(PyObject
*); /* Set the value */
37154 struct swig_globalvar
*next
;
37157 typedef struct swig_varlinkobject
{
37159 swig_globalvar
*vars
;
37160 } swig_varlinkobject
;
37163 swig_varlink_repr(swig_varlinkobject
*v
) {
37165 return PyString_FromString("<Swig global variables>");
37169 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37170 swig_globalvar
*var
;
37172 fprintf(fp
,"Swig global variables { ");
37173 for (var
= v
->vars
; var
; var
=var
->next
) {
37174 fprintf(fp
,"%s", var
->name
);
37175 if (var
->next
) fprintf(fp
,", ");
37177 fprintf(fp
," }\n");
37182 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37183 swig_globalvar
*var
= v
->vars
;
37185 if (strcmp(var
->name
,n
) == 0) {
37186 return (*var
->get_attr
)();
37190 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37195 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37196 swig_globalvar
*var
= v
->vars
;
37198 if (strcmp(var
->name
,n
) == 0) {
37199 return (*var
->set_attr
)(p
);
37203 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37207 static PyTypeObject varlinktype
= {
37208 PyObject_HEAD_INIT(0)
37209 0, /* Number of items in variable part (ob_size) */
37210 (char *)"swigvarlink", /* Type name (tp_name) */
37211 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37212 0, /* Itemsize (tp_itemsize) */
37213 0, /* Deallocator (tp_dealloc) */
37214 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37215 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37216 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37217 0, /* tp_compare */
37218 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37219 0, /* tp_as_number */
37220 0, /* tp_as_sequence */
37221 0, /* tp_as_mapping */
37225 0, /* tp_getattro */
37226 0, /* tp_setattro */
37227 0, /* tp_as_buffer */
37230 #if PY_VERSION_HEX >= 0x02000000
37231 0, /* tp_traverse */
37234 #if PY_VERSION_HEX >= 0x02010000
37235 0, /* tp_richcompare */
37236 0, /* tp_weaklistoffset */
37238 #if PY_VERSION_HEX >= 0x02020000
37239 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37241 #if PY_VERSION_HEX >= 0x02030000
37244 #ifdef COUNT_ALLOCS
37245 0,0,0,0 /* tp_alloc -> tp_next */
37249 /* Create a variable linking object for use later */
37251 SWIG_Python_newvarlink(void) {
37252 swig_varlinkobject
*result
= 0;
37253 result
= PyMem_NEW(swig_varlinkobject
,1);
37254 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37255 result
->ob_type
= &varlinktype
;
37257 result
->ob_refcnt
= 0;
37258 Py_XINCREF((PyObject
*) result
);
37259 return ((PyObject
*) result
);
37263 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37264 swig_varlinkobject
*v
;
37265 swig_globalvar
*gv
;
37266 v
= (swig_varlinkobject
*) p
;
37267 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37268 gv
->name
= (char *) malloc(strlen(name
)+1);
37269 strcpy(gv
->name
,name
);
37270 gv
->get_attr
= get_attr
;
37271 gv
->set_attr
= set_attr
;
37272 gv
->next
= v
->vars
;
37276 /* -----------------------------------------------------------------------------
37277 * constants/methods manipulation
37278 * ----------------------------------------------------------------------------- */
37280 /* Install Constants */
37282 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37285 for (i
= 0; constants
[i
].type
; i
++) {
37286 switch(constants
[i
].type
) {
37288 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37290 case SWIG_PY_FLOAT
:
37291 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37293 case SWIG_PY_STRING
:
37294 if (constants
[i
].pvalue
) {
37295 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37297 Py_INCREF(Py_None
);
37301 case SWIG_PY_POINTER
:
37302 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37304 case SWIG_PY_BINARY
:
37305 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37312 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37318 /* -----------------------------------------------------------------------------*/
37319 /* Fix SwigMethods to carry the callback ptrs when needed */
37320 /* -----------------------------------------------------------------------------*/
37323 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37324 swig_const_info
*const_table
,
37325 swig_type_info
**types
,
37326 swig_type_info
**types_initial
) {
37328 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37329 char *c
= methods
[i
].ml_doc
;
37330 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37332 swig_const_info
*ci
= 0;
37333 char *name
= c
+ 10;
37334 for (j
= 0; const_table
[j
].type
; j
++) {
37335 if (strncmp(const_table
[j
].name
, name
,
37336 strlen(const_table
[j
].name
)) == 0) {
37337 ci
= &(const_table
[j
]);
37342 size_t shift
= (ci
->ptype
) - types
;
37343 swig_type_info
*ty
= types_initial
[shift
];
37344 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37345 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37346 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37348 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37349 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37351 strncpy(buff
, "swig_ptr: ", 10);
37353 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37354 methods
[i
].ml_doc
= ndoc
;
37360 /* -----------------------------------------------------------------------------*
37361 * Initialize type list
37362 * -----------------------------------------------------------------------------*/
37364 #if PY_MAJOR_VERSION < 2
37365 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37366 is copied out of Python/modsupport.c in python version 2.3.4 */
37368 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37371 if (!PyModule_Check(m
)) {
37372 PyErr_SetString(PyExc_TypeError
,
37373 "PyModule_AddObject() needs module as first arg");
37377 PyErr_SetString(PyExc_TypeError
,
37378 "PyModule_AddObject() needs non-NULL value");
37382 dict
= PyModule_GetDict(m
);
37383 if (dict
== NULL
) {
37384 /* Internal error -- modules must have a dict! */
37385 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37386 PyModule_GetName(m
));
37389 if (PyDict_SetItemString(dict
, name
, o
))
37396 static swig_type_info
**
37397 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37398 static PyMethodDef swig_empty_runtime_method_table
[] = {
37400 NULL
, NULL
, 0, NULL
37404 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37405 swig_empty_runtime_method_table
);
37406 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37407 if (pointer
&& module) {
37408 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37410 return type_list_handle
;
37413 static swig_type_info
**
37414 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37415 swig_type_info
**type_pointer
;
37417 /* first check if module already created */
37418 type_pointer
= SWIG_Python_GetTypeListHandle();
37419 if (type_pointer
) {
37420 return type_pointer
;
37422 /* create a new module and variable */
37423 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37431 /* -----------------------------------------------------------------------------*
37432 * Partial Init method
37433 * -----------------------------------------------------------------------------*/
37435 #ifdef SWIG_LINK_RUNTIME
37439 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37445 SWIGEXPORT(void) SWIG_init(void) {
37446 static PyObject
*SWIG_globals
= 0;
37447 static int typeinit
= 0;
37450 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37452 /* Fix SwigMethods to carry the callback ptrs when needed */
37453 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37455 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37456 d
= PyModule_GetDict(m
);
37459 #ifdef SWIG_LINK_RUNTIME
37460 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37462 # ifndef SWIG_STATIC_RUNTIME
37463 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37466 for (i
= 0; swig_types_initial
[i
]; i
++) {
37467 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37471 SWIG_InstallConstants(d
,swig_const_table
);
37473 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37474 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37476 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37479 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37482 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37485 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37488 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37491 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37494 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37496 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37498 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37501 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37504 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37507 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37510 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37513 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37515 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37516 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37517 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37519 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37522 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37525 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37528 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37530 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37531 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37532 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37533 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37534 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37536 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37539 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37542 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37545 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37548 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37551 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37554 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37557 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37560 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37563 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37566 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37569 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37572 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37575 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37578 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37581 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37584 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37587 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37590 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37593 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37596 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37599 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37602 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37605 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37608 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37611 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37614 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37617 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37620 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37623 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37626 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37629 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37632 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37635 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37638 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37641 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37644 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37647 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37650 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37653 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37656 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37659 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37662 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37665 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37668 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37671 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37673 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37674 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37675 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37676 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37677 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37678 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37679 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37681 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37684 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37687 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37690 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37692 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37693 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37694 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37695 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37697 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37700 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37703 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37706 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37709 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37712 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37715 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37718 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37721 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37724 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37727 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37730 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37732 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37734 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37736 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37739 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37742 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37745 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37748 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37751 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37754 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37757 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37760 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37763 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37766 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37768 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37769 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37771 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37774 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37777 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37780 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37783 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37786 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37788 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37789 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37791 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37794 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37797 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37800 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37803 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37806 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37808 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37809 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37811 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37814 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37817 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37820 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37823 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37826 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37829 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37832 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37835 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37838 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37841 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37844 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37847 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37850 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37852 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37854 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37857 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37860 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37863 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37866 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37869 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37872 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37875 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37878 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37881 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37884 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37887 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37890 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37893 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37896 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37899 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37902 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37905 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37908 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37911 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37914 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37917 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37920 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37923 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37926 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37929 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37932 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37935 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37938 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37941 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37944 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37947 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37950 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37953 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37956 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37959 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37962 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37965 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37968 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37971 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37974 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37977 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37980 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37983 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37986 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37989 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37992 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37995 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37998 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
38001 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
38004 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
38007 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
38010 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
38013 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
38016 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
38019 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
38022 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
38025 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
38028 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
38031 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
38034 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
38037 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
38040 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
38043 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
38046 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
38049 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
38052 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
38055 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
38057 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
38058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
38059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
38060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
38061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
38062 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
38063 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
38064 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
38065 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
38066 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
38067 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
38068 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
38069 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
38070 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
38071 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
38072 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
38073 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
38074 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
38075 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
38076 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
38078 // Map renamed classes back to their common name for OOR
38079 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38081 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
38083 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
38086 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
38089 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
38092 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
38095 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
38098 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
38101 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
38104 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
38107 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
38110 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
38113 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
38116 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
38119 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
38122 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
38125 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
38128 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38131 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38134 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38137 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38140 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38143 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38146 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38149 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38152 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38155 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38158 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38161 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38164 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38167 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38170 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38173 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38176 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38179 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38182 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38185 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38191 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38192 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38193 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38194 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38196 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38197 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38198 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38199 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38200 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38201 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38204 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38205 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38206 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38209 // Map renamed classes back to their common name for OOR
38210 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38211 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38213 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38215 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38218 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38221 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38224 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38227 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38230 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38233 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38235 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38236 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38238 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38240 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38242 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38245 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38248 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38251 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38254 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));